Linux: Installation on SLES based distributions
Welcome to the guide for installing Bacula Enterprise on SLES. This documentation ensures you have the necessary steps to get Bacula up and running on your system with ease.
Steps
Register your host:
SUSEConnect --regcode @@registration-code@@Replace @@registration-code@@ with your registration code.
Import the official Bacula Enterprise key:
sudo rpm --import https://www.baculasystems.com/dl/@@customer-id@@/BaculaSystems-Public-Signature-08-2017.ascReplace @@customer-id@@ with your customer-specific ID which can be found in your Bacula Systems Customer Portal.
Install PostgreSQL using zypper:
sudo zypper install postgresql-server
Start PostgreSQL and enable start at runtime:
systemctl start postgresql.service systemctl enable postgresql.service
Configure the Bacula Enterprise zypper repository:
SLES_VER=sles$(rpm -q sles-release | sed -E 's/.*release-([0-9]+\.[0-9]+)-.*/\1/' | tr -d '.') echo -e "[bacula-enterprise]\nname=Bacula Enterprise\nbaseurl=https://www.baculasystems.com/dl/@@customer-id@@/rpms/bin/@@bee-version@@/$SLES_VER-64\nenabled=1\nautorefresh=1\ngpgcheck=1\ngpgkey=https://www.baculasystems.com/dl/@@customer-id@@/BaculaSystems-Public-Signature-08-2017.asc\n" | sudo tee -a /etc/zypp/repos.d/bacula-enterprise.repo > /dev/nullReplace @@bee-version@@ and @@customer-id@@ with your customer id and the version of Bacula Enterprise you wish to use.
Install the Bacula Enterprise Director:
sudo zypper 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.
Create the database and grant ownership:
su - postgres /opt/bacula/scripts/create_postgresql_database /opt/bacula/scripts/make_postgresql_tables /opt/bacula/scripts/grant_postgresql_privileges exit
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 system. For further configuration details or troubleshooting, refer to the Bacula Systems Customer Portal or you may contact support.
See also
Previous articles:
Go back to: Install Bacula Enterprise.