Linux: Installation on Debian and Ubuntu based distributions
Welcome to the guide for installing Bacula Enterprise Storage Daemon on Debian and Ubuntu based systems. This documentation ensures you have the necessary steps to setup a client and establish connectivity between Director and Storage Daemon.
Prerequisites
Be sure to follow steps 1-3 of the general installation page.
Steps
Install Storage Daemon packages:
sudo apt-get update sudo apt-get install bacula-enterprise-postgresql
Start and enable the daemon:
sudo systemctl start bacula-sd sudo systemctl enable bacula-sd
Disable Director and File Daemon services:
sudo systemctl disable bacula-dir sudo systemctl disable bacula-fd
Add a Storage resource in the Director host:
Storage { Name = @@sd-name@@ Address = @@sd-address@@ SDPort = 9103 Password = @@sd-password@@ ... }
Be sure to replace @@sd-name@@ and @@sd-address@@ with the values found in
/opt/bacula/etc/bacula-sd.conf
under Storage resource. The password @@sd-password@@ has to match the one in the next step.Add a Director resource in
/opt/bacula/etc/bacula-sd.conf
:Director { Name = @@dir-name@@ Password = @@sd-password@@ }
Be sure to replace @@dir-name@@ with the Director name found in the Director resource, and @@sd-password@@ with the one in the Storage resource.
Check your Storage configuration:
sudo -u bacula /opt/bacula/bin/bacula-sd -t
Conclusion
Congratulations! You’ve successfully configured Storage Daemon on your system.
See also
Next articles:
Go back to: Install Bacula Enterprise Storage Daemon only.