Package Installation

Community

Install Database Engine

If PostgreSQL is not already installed, please run this command to install it:

yum install postgresql-server

Initialize and set the PostgreSQL database to auto-start at boot:

service postgresql initdb
chkconfig postgresql on

Install Bacula Software

Run this command to install the packages:

yum install bacula-postgresql

Final Configuration

Start PostgreSQL database

service postgresql start

Please run the following commands to create the database and grant ownership:

su- postgres
/opt/bacula/scripts/create_postgresql_database
/opt/bacula/scripts/make_postgresql_tables
/opt/bacula/scripts/grant_postgresql_privileges
exit

Launch services:

/opt/bacula/scripts/bacula start

By default, PostgreSQL uses the IDENT method for authentication, and the Bacula director running as the local user “bacula” is allowed to access the database. If you are using tape libraries, you might want to add the bacula user to the “tape” group:

gpasswd-a bacula tape

Please now go to the Security and Permissions Considerations chapter and continue the installation from there. If you run into trouble or have an error message while installing or configuring your Bacula infrastructure, please contact Support.

Install Aligned Plugin

If you want to use the Aligned Plugin for deduplication on systems such as ZFS, you must explicitly load that plugin with something like:

yum install bacula-aligned

Keep in mind that to actually use the plugin, you must configure it and restart the Storage Daemon.

Go back to: CentOS/RedHat 6: Installation with yum.