Sunday, February 26, 2006

Bacula and Backups

Trying to continue with Amanda and 20GB native tapes to back up 60+GB of data is an exercise in futility. I installed Bacula on Dopey months ago. To configure it I used

$ ./configure --sbindir=/usr/local/bacula/bin --sysconfdir=/etc/bacula
--with-pid-dir=/var/run/ --with-subsys-dir=/var/run/
--with-working-dir=/usr/local/bacula/bin/working
--with-dump-email=bbeck@lostentry.org --with-job-email=bbeck@lostentry.org
--with-smtp-host=mail.goodcoffee.net
--with-mysql=/usr/local/mysql/mysql-standard-5.0.15-solaris10-sparc/


To start it all up:

bash-3.00# cd /etc/bacula
bash-3.00# ./startmysql
bash-3.00# Starting mysqld daemon with databases from /usr/local/mysql/data

bash-3.00# ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
bash-3.00#


For OpenBSD, Bacula only supports the file daemon, so we use
./configure --sbindir-pid-dir=/var/run/ --with-subsys-dir=/var/run/
--with-working-dir=/usr/local/bacula/bin/working --with-dump-email=bbeck@lostentry.org
--with-job-email=bbeck@lostentry.org --with-smtp-host=mail.goodcoffee.net
--enable-client-only


To run jobs, use bconsole and 'run <jobname>'.

No comments: