From Fedora Project Wiki
(added the admon note)
(server configuration procedure - first draft)
Line 33: Line 33:


=== Configuring the server ===
=== Configuring the server ===
* Install mysql-server:
<pre>su -c 'yum install mysql-server'</pre>


* Install the relevant bacula packages
<pre>su -c 'yum install bacula-common bacula-console bacula-director-common bacula-director-mysql bacula-storage-common bacula-storage-mysql bacula-sysconfdir'</pre>
* Start the mysql server
<pre>su -c 'service mysql start'</pre>
* Create the database
* Grant privileges to the bacula user
* Create the necessary tables


=== Configuring the clients ===
=== Configuring the clients ===

Revision as of 00:50, 28 January 2010

Bacula basic configuration

Description

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

Requirements

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.

Server requirements

  • bacula-common
  • bacula-console
  • bacula-director-common
  • bacula-director-mysql
  • bacula-sysconfdir
  • bacula-storage-common
  • bacula-storage-mysql

Client's requirements

  • bacula-client
Note.png
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

Troubleshooting

How to test

Common problems and fixes

More Information

Disclaimer

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.

Added Reading