Installation of the Cloud S3/Amazon plugin

Important

The S3 Driver is now deprecated. If you are still using it, move from the S3 driver to the Amazon driver with the same directives and parameters as they are most of them compatible. The S3 and the Amazon driver are part of the same package named bacula-enterprise-cloud-storage-s3.

Note

The difference between S3 and Amazon Drivers is that S3 uses libs3, while Amazon uses AWS CLI API. The newest solution is the Amazon driver based on Amazon native library, while the S3 driver is based on unofficial S3 libraries. Amazon Driver is recommended as it is continuously supported and maintained, unlike S3 Driver.

AWS CLI is a requirement for the Cloud S3/Amazon Plugin. Refer to the AWS Documentation: https://aws.amazon.com/

Both drivers S3 and Amazon drivers backup data to the cloud and are installed on the Storage Daemon. The Cloud S3 plugin backing up data from S3 cloud objects to the Storage Daemon can be found here.

On the Bacula Storage Daemon that you want to connect to your cloud storage, extend the repository file for your package manager to contain a section for the Cloud plugin. For example in Redhat/Oracle Linux/AlmaLinux/Rocky Linux, /etc/yum.repos.d/bacula.repo:

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

[Bacula EnterpriseCloudPlugin]
name=Bacula Enterprise Cloud Plugin
baseurl=https://www.baculasystems.com/dl/@customer-id@/rpms/cloud-s3/@version@/rhel9-64/
enabled=1
protect=0
gpgcheck=0

or in Debian Bookworm, /etc/apt/sources.list.d/bacula.list:

#Bacula Enterprise deb
https://baculasystems.com/dl/@customer-id@/debs/bin/@version@/bookworm-64/
bookworm main deb
https://baculasystems.com/dl/@customer-id@/debs/cloud-s3/@version@/bookworm-64/
bookworm cloud-s3

Then perform a yum update or apt-get update, and after that install the package bacula-enterprise-cloud-storage-s3.

Installation of the S3/Amazon Glacier plugin (Deprecated)

Important

This section is deprecated. It is recommended to use the “Amazon Driver” for the Glacier feature which does not need any additional package or plugin.

Note

Prerequisite: bacula-enterprise-cloud-storage-glacier requires bacula-enterprise-cloud-storage-s3 to be installed first.

Additionally, if you also purchased the Glacier plugin (available with Bacula Enterprise 12.2.0 and later), extend the repository file for your package manager to contain a section for the Glacier plugin. For example in Redhat/Oracle Linux/AlmaLinux/Rocky Linux, /etc/yum.repos.d/bacula.repo:

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

[Bacula EnterpriseCloudPlugin] name=Bacula Enterprise Cloud Plugin
baseurl=https://www.baculasystems.com/dl/@customer-id@/rpms/cloud-s3/@version@/rhel9-64/
enabled=1
protect=0
gpgcheck=0

[Bacula EnterpriseGlacierPlugin] name=Bacula Enterprise Glacier Plugin
baseurl=https://www.baculasystems.com/dl/@customer-id@/rpms/cloud-glacier/@version@/rhel9-64/
enabled=1
protect=0
gpgcheck=0

or in Debian Bookworm, /etc/apt/sources.list.d/bacula.list:

#Bacula Enterprise deb
https://baculasystems.com/dl/@customer-id@/debs/bin/@version@/bookworm-64/ bookworm main deb
https://baculasystems.com/dl/@customer-id@/debs/cloud-s3/@version@/bookworm-64/ bookworm cloud-s3 deb
https://baculasystems.com/dl/@customer-id@/debs/cloud-glacier/@version@/bookworm-64/ bookworm cloud-glacier

Then perform a yum update or apt-get update, and after that the package bacula-enterprise-cloud-storage-s3 and, optionally, bacula-enterprise-cloud-storage-glacier can be installed with yum install or apt-get install.

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

See also

To check what to do next after the plugin installation, click here.