Bacula 15.0.2 update
Phil Stracchino <[email protected]> Wed, 8 May 2024 14:29:01 -0400
| Newsgroups | gmane.comp.sysutils.backup.bacula.devel |
|---|---|
| Organization | Fenian House Publishing |
| Message-ID | <[email protected]> |
Just updated Bacula from 13.0.4 to 15.0.2 on Gentoo Linux. The update went smoothly and without issues aside from the build not running the DB update script, which I had to do manually. I found several issues with that step. First, update_mysql_tables simply complains: The existing database is version 1024 !! This script can only update an existing version 12-15 to version 16. It does not automatically run the correct update scripts for DB versions higher than 16. So, I went to /usr/libexec/bacula/updatedb and manually ran update_mysql_tables_1024_to_1025 and update_mysql_tables_1025_to_1026. And they both *RAN* fine. But also, they both failed right at the end of the script: Update of Bacula MySQL tables 1025 to 1026 succeeded. ./update_mysql_tables_1025_to_1026: line 136: getVersion: command not found update_mysql_tables defines the getVersion() function, but update_mysql_tables_1024_to_1025 and update_mysql_tables_1025_to_1026 DON'T, and update_mysql_tables won't call them, it just bails out if the version is higher than 16. -- Phil Stracchino Fenian House Publishing [email protected] [email protected] Landline: +1.603.293.8485 Mobile: +1.603.998.6958