On Tue, 2005-04-12 at 09:24 -0500, Quintin Giesbrecht wrote:
> In Reply to:  Phil Brutsche
> 
> ____________SNIP________________
> 
> > If my bacula server goes down, can I rebuild it, reinstall bacula, 
> > restore my /var/lib/mysql/bacula directory, and everything will work
> > as it should?
> 
> No.  You don't have any way to guarantee that the database isn't
> corrupt.
> 
> ____________SNIP________________
> 
> OK, but assuming mySQL is backed up properly, and I have a copy of the
> BSR file for each of my backups, can I rebuild the bacula database in
> the event of a crash?
> 

If you've got your database backed up, you dont need to do anything
special to restore bacula's database - it's already there. Just restore
them to mysql with the appropriate mysql utilities.

The BSR file just contains a bunch of references to what is in the DB
and is only useful for specifying what jobs/files/etc you want to work
on. Have you looked at a BSR file? If you do, you'll see that they
obviously contain insufficiant data to restore your database.

My understanding is that one can repopulate bacula's database with the
info about jobs contained in a given volume using the bscan utility.

-davidc

--
Real generosity toward the future lies in giving all to the present.
-Albert Camus



-------------------------------------------------------
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

Reply via email to