-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Quintin Giesbrecht wrote:
I am trying to figure out what files to backup so that my catalog stays intact in case my bacula server goes down. The catalog backup that is setup by default tries to back up /var/bacula/working/bacula.sql - this file/directory does NOT exist on my machine. The MySQL database is located in /var/lib/mysql/bacula - I have backed up this file, and moved it to a different machine that is running bacula and have gotten it to work.
That is not a good idea. You are backing up the live MySQL database (and by backing it up, writting to it at the same time!) and thus risking to get an inconsistent state of it.
To get a proper backup, you should export/dump the database just before backing it up and write that dump to the tape (the default setup should be doing this, if it doesn't, check the make_catalog_backup script which is invoked with the RunBeforeJob directive).
Greetings, Michel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) - GPGrelay v0.958
iD8DBQFCUsRX2Vs+MkscAyURAqe5AJsHjQ6rm/ayr7BfxoQrAt2YTkv9IgCfQGx5 u6g4l+kix2+yus3yApQElAE= =yOe7 -----END PGP SIGNATURE-----
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users