Bacula upgrade while updating ubuntu to 10.04
When you update your ubuntu to 10.04, the upgrade process forgets to update the bacula database which ends with this in bacula logs : 02-May 17:39 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 02-May 17:39 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula". 02-May 17:39 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 02-May 17:39 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf to correct this you need to run manuall two SQL scripts to upgrade the database (extracted from sources of bacula). First you need to edit ~/.my.cnf so that 'mysql' command use this file to connect to the database : [client] user=root password=YOU_MYSQL_ROOT_PWD_HERE protocol=tcp or change the scripts so that this line : if $bindir/mysql $* -f <<END-OF-DATA is changed to this line : if...