Bacula: Robust, Reliable Enterprise Backup and Recovery, part 1 - page 2
It comes by night and sucks the vital essence from your computers
Next, download the bacula source (at least bacula itself and the docs), and untar the archives in the /bacula directory you created earlier. Change to that directory and run
CFLAGS="-g -Wall" ./configure --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula --enable-smartalloc --enable-bat --with-qwt=$HOME/bacula/depkgs/qwt --with-mysql=mysql-directory --with-working-dir=/var/bacula --with-pid-dir=/var/run --enable-conio
Be sure you include the directory where you installed mysql earlier. If you need to later change any of these options, start over by using
./make distclean and re-running
./configure with your desired options. Once you've done that, run
Customize the Bacula configuration files for your needs according to the Bacula manual's instructions. The configuration of these files will largely depend on your backup media/tape devices, target file locations, and your desired backup schedule. Start with some defaults, then customize these after you get Bacula up and running. The file you will eventually spend the most time configuring is bacula-dir.conf, since this one defines and controls jobs, schedules and pools.
After Bacula is ready to run, a useful tip for testing your configuration files is to run start the related service with the -t option:
./bacula-dir -t /etc/bacula/bacula-dir.conf
This will either terminate with no comment if the configuration file is OK, or will print an error message indicating where the error is in your configuration file.
An occasionally troublesome aspect of these configuration files is that the randomly generated passwords must agree between them. If they are changed, and do not agree, the director service will not start. Another problematic configuration issue can be configuring tape devices with Bacula. Bacula lists support most modern tape devices. I strongly encourage you to test your tape drive before using it with Bacula.
- Skip Ahead
- 1. It comes by night and sucks the vital essence from your computers
- 2. It comes by night and sucks the vital essence from your computers
- 3. It comes by night and sucks the vital essence from your computers