March 21, 2019

Bacula: Robust, Reliable Enterprise Backup and Recovery, part 1 - page 3

It comes by night and sucks the vital essence from your computers

  • November 18, 2008
  • By Deann Corum

Start mysql and change to the bacula install directory. There, you will see scripts for creating and manipulating the Bacula database. The scripts you will need to run are: ./grant_mysql_privileges, ./create_mysql_database and ./make_mysql_tables. These scripts will grant privileges for the ´┐Żbacula' user in MySQL and create the bacula database and tables. You may also need to edit /etc/ld.so.conf and run /sbin/ldconfig if your mysql libraries are anywhere other than /usr/lib or /usr/local/lib.

Finally, Run Bacula

Test each configuration file and service by running it with the -t option as mentioned above. Once you've cleared all errors, you are ready to start Bacula: ./bacula/start and interface with the program via bconsole.

Next time, we'll deal with auto-starting the daemons, configuring an autochanger, configuring spooling (and why you should), define what volumes, pools and labels are in Bacula, run-before and after job directives, and the point of the whole shebang, restoring files from Bacula.

Article courtesy of Enterprise Networking Planet

Most Popular LinuxPlanet Stories