Bacula Enterprise 10.0.2 Centos/RHEL 7 Ad Hoc Packages Install

General Requirements:

  • The recommended is always in the 64-bit version of the Operating System, with at least 16 GB of RAM, 4 processing cores and 500 GB for the Bacula backup server (for POC or test purposes, 50 GB and 8 GB RAM are sufficient ).
  • Backup server and clients installation require root or administrator access.


Add the Bacula Systems repository, for example: vi /etc/yum.repos.d/baculasystems-dag.repo, with the following content:

name = Bacula Enterprise Bweb - dag
baseurl =
enabled = 1
protect = 0
gpgcheck = 0

Disable Selinux temporarily and permanently. Add Bacula and Bweb firewall rules:

setenforce 0
sudo sed -i "s/enforcing/disabled/g" /etc/selinux/config
firewall-cmd --permanent --zone=public --add-port=9101-9103/tcp
firewall-cmd --permanent --zone=public --add-port=9180/tcp
firewall-cmd --reload

Install the Bacula database and enable its automatic startup:

yum install -y postgresql-server
service postgresql initdb
chkconfig postgresql on
service postgresql restart

Install other dependencies:

yum -y install perl-DBI perl-DBD-mysql perl-DBD-Pg perl-GD-Graph 
perl-HTML-Template perl-Time-modules gd perl-Date-Calc 
perl-Bit-Vector perl-Expect perl-GD 
perl-GD-Text-Util perl-IO-Tty perl-CGI-Session perl-JSON 
perl-JSON-XS lighttpd logwatch

Download the Bacula and Bweb Server packages and copy them to a separate directory (contact Bacula USA to get them). For example:


Install the Bacula Enterprise and Bweb Server Packages:

sudo yum localinstall /download_path/*.rpm

Run the database configuration scripts and restart Bacula services:

sudo -u postgres /opt/bacula/scripts/create_postgresql_database
sudo -u postgres /opt/bacula/scripts/make_postgresql_tables
sudo -u postgres /opt/bacula/scripts/grant_postgresql_privileges
service postgresql restart

Finish the installation of Bweb, enable automatic restart, and start the service:

chkconfig bweb on
chown -R bacula /opt/bacula
/opt/bacula/scripts/bacula restart
service bweb start

Well done! Type http://ip_server: 9180 in your web browser to access Bweb.

Additional Steps: Installing Backup Clients on Other Linux and Windows Machines

Download the exe, rpm or deb packages from your distribution, provided by Bacula USA. Then:

a) Install the clients. Edit the bacula-fd.conf file (/opt/bacula/etc on linux; Start Menu> Edit Client Configuration on Windows); Check or adjust the Director – Name directive for the actual name of your Director (see Bweb, Bacula Configuration, Director, for this value). Still within the client configuration file, copy to a data block the randomly generated password and present in the first Director resource. We’ll need it to tie this client to the Director.

Restart the Client service if you make any changes (service bacula-fd restart; windows services.msc, and restart the Bacula File Daemon service).

b) Now go to Bacula Enterprise’s exclusive interface: Bweb. In the setup menu, add a new Client feature to your Director. Fill in a name for this client; the IP of the client machine, and the password that you copied to the notebook.

Commit changes (reload), so the Director can recognize the new client.

Go back to the Director settings and also create a FileSet (list of directories to be copied). If everything is done correctly you will be able to browse the files of the new configured client.

Finally create a Job, marking as options the use of Client and FileSet created in the previous steps. Make the changes within the Bweb itself and test the new Job created by running it through the Job menu.



Disponível em: pt-brPortuguês (Portuguese (Brazil))enEnglishesEspañol (Spanish)

Leave a Reply