Configuring backup

Linux systems

The following document will guide you through the steps needed to correctly setup the backup client for

  1. Download the config file from your dashboard containing your server identification name and password for the backup client.

  2. Download and update package lists from the repositories:

    • Ubuntu/Debian sudo apt-get update
    • FreeBSD 10/9/8 portsnap fetch && portsnap extract && portsnap fetch update
  3. Install Bacula-fd client:

    • Ubuntu/Debian sudo apt-get install bacula-fd
    • FreeBSD 10/9/8 cd /usr/ports/sysutils/bacula-client/
      make install clean
    • CentOS/RHEL 7/6/5 sudo yum install -y bacula-client
  4. Unzip the downloaded configurations to the appropriate place:

    • Ubuntu/Debian/CentOS/RHEL 7/6/5 sudo rm -rf /etc/bacula/*
      sudo unzip -d /etc/bacula/
    • FreeBSD 10/9/8 sudo rm -rf /usr/local/etc/bacula/*
      sudo unzip -d /usr/local/etc/bacula/
  5. Restart the file daemon to use the new settings:

    • Ubuntu/Debian sudo service bacula-fd restart
    • FreeBSD 10/9/8 /usr/local/etc/rc.d/bacula-fd restart
    • CentOS/RHEL 7/6/5 sudo systemctl restart bacula-fd
  6. Then run the following command to start the Bacula File Daemon automatically on boot:

    sudo systemctl enable bacula-fd
  7. Create a folder in which to receive restored files from backup server:

    sudo mkdir -p /bacula/restore && sudo chown -R bacula:bacula /bacula && sudo chmod -R 700 /bacula
  8. Enjoy!

If you use a Public IP without NAT, please only allow the following ports on your firewall:
9102 for
10051 for
10050 for

Please keep in mind that if your server is behind a NAT or a firewall you will have to allow and forward the ports 9201, 10051, 10050 in the firewall / router.