Hi @michaeldolzani
By default Bacularis to install Bacula uses system repositories. If in your OS repositories the latest Bacula version is 9.6.7
then to upgrade Bacula I am seeing at least four ways:
- wait until the Bacula package maintainers in the OS will provide greater version to repositories, then upgrade.
- add to the system package repositories a new repository with newer version of Bacula and then upgrade (so called "OS backport repositories")
- use packages outside the OS repositories - packages from bacula.org
- compile Bacula self to latest version
Each of the solutions have advantages and disadvantages. If I could advise anything, I would advise to do first or the second way. They are realized by the system package manager and for some distributions the upgrade process is automated in the packages.
For packages from bacula.org they are not compatible with the Bacula system packages. It means that the Bacula packages from system repositories have to be uninstalled (with preserving configuration and Bacula database) and then the packages from bacula.org need to be installed. This would also mean reconfiguration of Bacularis because the Bacula binary and config paths are different. Bacula.org packages use /opt
directory for storing Bacula files.
Worth to mention is that between each Bacula major version there is changed the Bacula database table format. The table format needs to be updated by update_bacula_tables
script. In some systems it is done automatically, in some other it requires manual execution. The best is to do the Bacula catalog database backup before that.
Also worth to say is that before every upgrade this is good to read the release notes from new versions.
Summing up, the upgrade process is not difficult. In many cases it is just to run the package manager upgrade command (like apt upgrade
for deb systems) but before that good to remember is to do the mentioned backup of the Bacula database and Bacula configuration files as well.
Best regards,
Marcin Haba (gani)