Hello,
I would like to move bacula to a new machine, and I just want to make
sure I have the procedure correct, and have a couple of questions along
the way. I should note that I am also upgrading bacula from 1.38 on the
old machine to 2.03 on the new one. My plan is to make the config files
exactly the same (except the hostname will be different, of course), and
copy /var/lib/bacula/bacula.db, var/lib/bacula/bacula.sql and all
bootstrap files to the new machine. Any other files necessary or useful?
I am assuming that I use the same procedure as if there was something
wrong with my catalog, so at this point I think I am suppose to
initialize the database:
./drop_bacula_tables
./make_bacula_tables
And now I need to restore the catalog, so I start up bacula and
bconsole, and use bf run (what does bf run mean - is this different from
run?), choose RestoreFile, restore.bsr, make sure everything else makes
sense. This should restore the database, and now I think I need to
compact the catalog:
cd {\bf working-directory}
echo 'vacuum;' | sqlite bacula.db
where working-directory is /var/lib/bacula in my case. So now the
catalog and database should be correct. Do I need to run bf run with the
bootstrap files from the clients as well, and do I do this also before I
compact the catalog?
And now, theoretically, if I have my tape drive hooked up to the new
machine, I should be able to restore my home directories from tape to
the new hard drive...
Thanks to anyone willing to read this over, and provide a sanity check
for me.
cheers,
maria
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users