Linux: Plugin Installation on SLES based distributions
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. If you have not already, see how to import a repository key in the first steps.
Steps
You’ll need sudo privileges to execute installation commands.
Run the following script to update your repository file:
SLES_VER=sles$(rpm -q sles-release | sed -E 's/.*release-([0-9]+\.[0-9]+)-.*/\1/' | tr -d '.')
echo -e "[bacula-enterprise-@@plugin-name@@]\nname=Bacula Enterprise @@plugin-name@@\nbaseurl=https://www.baculasystems.com/dl/@@customer-id@@/rpms/@@plugin-name@@/@@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/null
Replace @@customer-id@@, @@bee-version@@, and @@plugin-name@@ with the name of the plugin you wish to install.
Then update the package cache and install the plugin using zypper:
sudo zypper refresh sudo zypper install @@bacula-enterprise-package-id@@
Be sure to replace @@bacula-enterprise-package-id@@ with the package name. See the full list here.
Manual installation of the packages, can be done after downloading the package files from the Bacula Systems provided download area, and then using the package manager to install.
Example
Install Cloud Google plugin on SLES 15.5 with Bacula Enterprise Edition version 18.0.7.
echo -e "[bacula-enterprise-cloud-google]\nname=Bacula Enterprise Cloud Google\nbaseurl=https://www.baculasystems.com/dl/customer-12345/rpms/cloud-google/18.0.7/sles155-64\nenabled=1\nautorefresh=1\ngpgcheck=1\ngpgkey=https://www.baculasystems.com/dl/customer-12345/BaculaSystems-Public-Signature-08-2017.asc\n" | sudo tee -a /etc/zypp/repos.d/bacula-enterprise.repo > /dev/null
sudo zypper refresh
sudo zypper install bacula-enterprise-cloud-storage-google
See also
Previous articles:
Go back to: Install Bacula Enterprise Plugins.