Swift Object Plugin: Installation

On the Bacula File Daemon that you want to connect to your Swift Object Storage, extend the repository file for your package manager to contain a section for the Swift plugin. For example, in RHEL, /etc/yum.repos.d/bacula.repo:

[Bacula]
name=Bacula Enterprise
baseurl=https://www.baculasystems.com/dl/@customer-string@/rpms/bin/@version@/rhel7-64/
enabled=1
protect=0
gpgcheck=0

[Bacula EnterpriseSwiftPlugin]
name=Bacula Enterprise Swift Plugin
baseurl=https://www.baculasystems.com/dl/@customer-string@/rpms/swift/@version@/rhel7-64/
enabled=1
protect=0
gpgcheck=0

On Centos7, python3 and the Swift client library are not avaiable via the standard repositories. The EPEL repository provides python34 and the python-swiftclient package must be installed via the python34-pip package from this repository.

# yum install epel-release
# yum install python34 python34-pip
# pip3.4 install python-swiftclient

On RHEL 7, the package is available in the repository “rhel-7-server-openstack-11-tools-rpms”.

On Debian Jessie, /etc/apt/sources.list.d/bacula.list:

#Bacula Enterprise
deb https://www.baculasystems.com/dl/@customer-string@/debs/bin/@version@/jessie-64/ jessie main
deb https://www.baculasystems.com/dl/@customer-string@/debs/swift/@version@/jessie-64/ jessie swift

Once the repository is configured for your system, perform a yum update or apt-get update, then the package bacula-enterprise-swift-plugin can be installed with yum install or apt-get install.

  # yum install bacula-enterprise-swift-plugin
or
  # apt-get update
  # apt-get install bacula-enterprise-swift-plugin

If you prefer to manually install the packages, you may download them directly from your download area, and use one of the low level package manager tools (rpm or dpkg) to do the plugin installation.

Go back to: Swift Object Plugin.