Bacula basic configuration
- 1 Bacula basic configuration
- 1.1 Description
- 1.2 Applicable to Fedora Versions
- 1.3 Requirements
- 1.4 Doing the Work
- 1.5 Troubleshooting
- 1.6 How to test
- 1.7 Common problems and fixes
- 1.8 More Information
- 1.9 Disclaimer
- 1.10 Added Reading
Bacula is an enterprise-grade backup utility. This HowTo explains how to set up
bacula on Fedora while respecting Fedora's configuration way.
Applicable to Fedora Versions
- Fedora 12
Bacula supports a few database backends, so, you will need to choose one. On this document, I will choose the mysql backend. Clients do not need a database backend.
Also, you will need to decide which console(s) you want and configure them. I will choose the commandline console.
Storage, database and director could be distributed but, in this case, everything will be managed on the same server.
Doing the Work
Configuring the server
- Install mysql-server:
su -c 'yum install mysql-server'
- Install the relevant bacula packages
su -c 'yum install bacula-common \ bacula-console bacula-director-common \ bacula-director-mysql bacula-storage-common \ bacula-storage-mysql bacula-sysconfdir'
- Start the mysql server
su -c 'service mysql start'
- Create the database
- Grant privileges to the bacula user
- Create the necessary tables
Configuring the clients
How to test
Common problems and fixes
I haven't had the opportunity to test this HowTo since I lack of a networked PC to do it, so you may run into problems, if you do, come to #fedora on irc.freenode.net or leave me messages so I know what's up. Feel free to propose changes and stuff.