Linux: Bacula Enterprise Installation with Package Manager on Debian/Ubuntu
Welcome to the guide for installing Bacula Enterprise on Debian based systems. This documentation ensures you have the necessary steps to get Bacula up and running on your system with ease.
Prerequisites
Before you begin, ensure that your system is prepared with the necessary tools and permissions. You’ll need sudo privileges to execute installation commands.
Required packages:
sudo apt-get update sudo apt-get install ca-certificates curl gnupg
Import the official Bacula Enterprise GPG key:
sudo mkdir -p /etc/apt/keyrings curl -fsSL https://www.baculasystems.com/dl/@@customer@@/BaculaSystems-Public-Signature-08-2017.asc -o /etc/apt/keyrings/bacula.asc sudo chmod a+r /etc/apt/keyrings/bacula.asc
Replace @@customer@@ with your customer-specific ID which can be found in your Bacula Systems Customer Portal.
Steps
Configure the Bacula Enterprise apt repository:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/bacula.asc] https://www.baculasystems.com/dl/@@customer@@/debs/bin/@@bee-version@@/$(lsb_release -cs)-64 $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/bacula.list > /dev/null
Replace @@bee-version@@ with the version of Bacula Enterprise you wish to use.
Refresh your package list to include the Bacula Enterprise repository:
sudo apt-get update
Install the Bacula Enterprise Director:
sudo apt-get install bacula-enterprise-postgresql
During installation, you’ll be prompted to configure the database for Bacula with dbconfig-common. Select “Yes,” then set and confirm the database password when asked.
Post-installation Configuration
After installing Bacula Enterprise, you may wish to edit the systemd service that controls Bacula’s execution. You can customize service behavior using systemd overrides:
Create an override file for a Bacula service:
sudo systemctl edit bacula-dir.service
In the editor that opens, you can specify custom directives. For example, to change the environment variables, you might add:
[Service] Environment="MY_SPECIAL_VAR=value"
After making changes, restart the service to apply them:
sudo systemctl restart bacula-dir.service
Verify Installation
To ensure that your Bacula installation is functioning correctly, use systemd to check their status:
sudo systemctl status bacula-dir.service
sudo systemctl status bacula-sd.service
sudo systemctl status bacula-fd.service
Conclusion
Congratulations! You’ve successfully installed Bacula Enterprise on your Debian or Ubuntu system. For further configuration details or troubleshooting, refer to the Bacula Systems Customer Portal or you may contact support.
See also
Go to:
Go back to Linux: Installation with Package Manager.