Thanks for the help!!
Phil Stracchino wrote:
Diogo Melo wrote:
Do I have to backup the .bsr files (bootstrap) ? Could you explain,
please,how to dump and import the database?
If you have existing .bsr files, it won't hurt a thing to bring them
along. For dumping the database, you want to use mysqldump; read the
man page on it.
Usage example:
/opt/mysql/bin/mysqldump -f --opt --password=YOURPASS bacula |
gzip -9 - > /opt/mysql/var/bacula.sql.gz
(all on one line)
To recreate the database on the new machine, the simplest way to reload
it is:
zcat bacula.sql.gz | mysql
|