Bacula-client installation (CentOS 7 and Debian 9)

Bacula-client installation (CentOS 7 and Debian 9)

1. Installation dependence:
CentOS 7

sudo yum install gcc gcc-c++ libacl-devel lzo-devel mt-st mtx openssl-devel readline-devel zlib-devel

Debian 9

sudo apt install build-essential


2. Installation bacula-client:
Download bacula tar from


and sent tar to server
CentOS 7 and Debian 9

tar -xvzf bacula-gui-9.4.1.tar.gz
cd bacula-9.4.1/

sudo ./configure --prefix=/usr/local/bacula \
--disable-build-dird \
--disable-build-stored \
--enable-client-only \

sudo make
sudo make install


3. Configuration bacula-client and system:
CentOS 7

sudo firewall-cmd --permanent --zone=public --add-port=9102/tcp
sudo firewall-cmd --reload

sudo make install-autostart

Debian 9

sudo iptables -A INPUT -p tcp --dport 9102 --jump ACCEPT
sudo apt-get install iptables-persistent

sudo make install-autostart


4. Add your domein to search in nmtui:
CentOS 7

sudo nmtui
sudo systemctl restart network.service

Debian 9

sudo nano -c /etc/resolv.conf
sudo service networking restart


5.Edit config file:
CentOS 7 and Debian 9

sudo nano -c /usr/local/bacula/etc/bacula-fd.conf
Director {
  Name = vm-l-bacula-1-dir
  Password = "dir-password"

Director {
  Name = vm-l-bacula-1-mon
  Password = "mon-password"
  Monitor = yes

FileDaemon {
  Name = vm-l-server-1-fd
  FDport = 9102
  WorkingDirectory = /opt/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 2
  Plugin Directory = /usr/local/bacula/lib

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = vm-l-bacula-1-dir = all, !skipped, !restored


6. Start bacula-client:
CentOS 7 and Debian 9

sudo systemctl start bacula-fd.service


7. Add new client in Bacula Web Interface:

Dodaj komentarz

Twój adres email nie zostanie opublikowany.

This site uses Akismet to reduce spam. Learn how your comment data is processed.