Bacula Centos/RHEL Enterprise and Bacula.org Packages Update via yum

You must upgrade the Director and the Storage Daemon at the same time and always to a common version. However, customers can be upgraded gradually. in other words: Director and Storage versions must be equal and never inferior to File Daemons. The configuration files of the older installed versions are always maintained during the process.

General Update Steps

a) OPTIONAL: run Bacula server Catalog and configurations successful backup Jobs to safeguard the process.

b) In case of Bacula.org or Bacula Enterprise repositories installations, simply modify the version used in the yum or apt repository, update the repositories (yum clean all/apt update), and perform the package update.1 Example:

sed -i 's/12.4.3/12.6.3/g' /etc/yum.repos.d/Bacula-Enterprise.repo
yum install bacula-enterprise-updatedb # o bacula-updatedb si community
sudo -u postgres /opt/bacula/scripts/updatedb/update_bacula_tables
yum update `rpm -qa | grep bacula`
chown -R bacula /opt/bacula

In case of missing packages, make sure that all plugins and drivers are registered in the package manager repository. In the latter case use the –skip-broken option, download and install it manually.

yum update --skip-broken `rpm -qa | grep bacula-enterprise`

c) Restart the Bacula daemons.E.g.:

/opt/bacula/bin/bacula restart

d) Test everything. Use the status and the estimate listing commands to test the status of your clients, storage, and jobs. Run a test backup job.

1In the case of the Linux distributions installations, the Bacula stable packages updates follows the process of upgrading the operating system version. Please proceed accordingly.

Disponível em: pt-brPortuguês (Portuguese (Brazil))enEnglishesEspañol (Spanish)

Leave a Reply