On Sunday 23 July 2006 22:44, Shawn Robert Lesniak wrote: > Greetings, > I am the system administrator at a lab at UCR. We have a ~800GB RAID > 5 array that was being backed up using bacula that suffered severe data > loss (mostly due to reiserfsck) that was being backed up to an Exabyte > tape changer system. Unfortunately, the bacula database happened to be > on the array. I'm trying to rebuild the database, however, with 20 > tapes that are each taking ~4 hours to scan (I'm still scanning the > first one) this is going to take a very very long time. Is there a > faster way to do this? > > I'm using bacula 1.36.2-2sarge1 on Debian-stable.
Most users (I hope) including myself, back the database up nightly after doing the backups, and when we back it up, we write the bootstrap file to a different machine. With the bootstrap file, you can reload the database without a database. Alternatively, if you were backing up your database in a separate backup job, it is possible to build your own bootstrap file from the log output and a little detective work of exactly where it is on the tape where it was written. This is described in the restore chapter of the manual, if I am not mistaken. There is also a section in the manual that describes the steps to take before putting a Bacula system into production -- it specifically speaks about bootstrap files. If your database is backed up, and if you know on which tape it is, you can scan just that tape, then reload it from a partially reconstructed catalog. It is always better to reload your database from a backup than to scan tapes, because it is faster, and scanning never restores everything that was in the database, only the essentials. Regards, Kern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users