-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Seems to me the MySQL backup script on the wiki may do this, but I co=
uld
be thinking of the svn backup script. Perhaps that one would help,
though, as I know it does go through one by one.
Seems to me this would be a pretty easy job though -- you first selec=
t
to see which databases are on the machine and use this list to loop
through and back each one up. No problem, right? I'm not sure, myself=
.
=3DR
Ludovic Strappazon wrote:
Marc a =E9crit :
I have to maintain a server park with 500+ databases, and database=
s being
remove and added every day. So defining a job for each database is=
not an
option.
=20
I can't imagine a way to back them up one by one in a single job.
Creating a backup of the database files is not what I'm looking fo=
r, as I
will be unable to restore Inno databases. Inno databases are store=
d in one
file, not separate files / directories as MyISAM.
=20
I think I don't understand that.
=20
Regards,
Ludovic Strappazon.
Regards,
Marc =20
-----Oorspronkelijk bericht-----
Van: Jerome Massano [mailto:massanoj < at > as...]=20
Verzonden: woensdag 23 mei 2007 11:20
Aan: Marc
CC: bacula-users < at > li...
Onderwerp: Re: [Bacula-users] FW: Backup of a mysql dump of the da=
tabase
Hi
You can do a database by database dump with mysqldump (see man mys=
qldump). I
suppose you could do what you want by setting multiple
jobs:
First job has :
Client Run Before Job =3D mysqldump database1 > file-1 Fileset =
=3D file-1-fs
Client Run After Job =3D rm file-1
Second job has :
Client Run Before Job =3D mysqldump database2 > file-2 Fileset =
=3D file-2-fs
Client Run After Job =3D rm file-2
etc... Of course you will have to configure file-1-fs and file-2-f=
s to
backup file-1 and file-2.
I think the syntax is false because I did it without looking at th=
e
documentation, but the idea is here.
If you are using another database, i think there would be an equiv=
alent to
mysqldump.
Hope that will help
PS : sorry for my really bad english ^^
Le mercredi 23 mai 2007 =E0 10:53 +0200, Marc a =E9crit :
=20
Hi,
=20
I've searched the archives, but I can not find any relevant infor=
mation.
Therefor my question: is it possible to do a database by database=
dump=20
and backup these dump files? Because of database sizes, it would =
be=20
very nice if this can be done database by database. I mean first =
do=20
the dump of database 1, move it to bacula, remove the dump, dump =
of=20
database 2, move it to bacula, etc...
=20
Can this be done?
=20
Kind regards,
Marc
-----------------------------------------------------------------=
-----
--- This SF.net email is sponsored by DB2 Express Download DB2 Ex=
press=20
C - the FREE version of DB2 express and take control of your XML.=
No=20
limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
=20
------------------------------------------------------------------=
-------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
=20
=20
=20
-------------------------------------------------------------------=
-----
=20
-------------------------------------------------------------------=
------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
=20
=20
-------------------------------------------------------------------=
-----
=20
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer I=
II
|$&| |__| | | |__/ | \| _| |novosirj < at > um... - 973/972.0922 (2-09=
22)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C=
630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGVFUlmb+gadEcsb4RAsrMAJ9ygTPP7DK4GVf/Tu9p+k/lrDj0dQCfd3Fm
9Z53HvjoyspxQnacDSJkOHc=3D
=3DRhKL
-----END PGP SIGNATURE-----