On Thursday 2021-12-23 14:42:12 Graham Dicker wrote: > Hi all > > I'm running Bacula on a desk machine with OpenSuse 15.3 and Bacula > 11.0.4. > > The make_catalog_backup command has stopped working following a complete > loss and restore of my Bacula database. > I don't know how the database vanished but I restored it from the last > successful backup thus: > > ./bextract -b ../working/BackupCatalog.bsr /media/seagate4tb /tmp > mysql > create database bacula; > use bacula; > source bacula.sql; > grant_mysql_privileges > > But now although my main backup works fine the backup of the catalog > gets this error: > > 23-Dec 13:39 vivaldi-dir JobId 65: BeforeJob: mysqldump: Got error: > 1044: "Access denied for user ''@'localhost' to database 'bacula'" when > selecting the database > > Any clues? Thanks in advance.
Hello Graham! The problem here is the access to the MySQL database. Maybe the script that does the catalog backup doesn't use the correct database user. Maybe you are using non-default location of the bacula director configuration file? The error says: "Access denied for user ''@'localhost'". As you can see the username part is empty. Regards! -- Josip Deanovic _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users