How to restore a single file in Bacula

I wanted to restore a single file from Bacula. I’m writing this tutorial partically to remind myself how to do this but perhaps it will help someone in the future. You will need to do this from bconsole on your Bacula server. 1 – You need to find the filename of the file. For example: … Read more

Bacula Error shell command: run AfterJob “/etc/bacula/scripts/delete_catalog_backup” Ubuntu 14.40

I have just upgraded from Ubuntu 12.04 to Ubuntu 14.04 on our Bacula backup server. Everything is backing up okay however it’s failing to delete the catalogue backup job after it has run. The error message is: It turns out that Ubuntu 14.04 updated the backup script /etc/bacula/scripts/delete_catalog_backup but didn’t make is excutable. I could … Read more

bacula-dir mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table

Our Bacula server has started failing when backing up its own database.  This is a standard job called BackupCatalog. It showed an error like so: 27-Feb 23:29 bacula-dir JobId 6545: shell command: run BeforeJob “/etc/bacula/scripts/<a href=”http://make_catalog_backup.pl” target=”_blank”>make_<wbr />catalog_backup.pl</a> MyCatalog” 27-Feb 23:35 bacula-dir JobId 6545: BeforeJob: mysqldump: Error 2013: Lost connection to MySQL server during query … Read more

How to test if Bacula-fd is running

I just installed a new Bacula client but for some reason the server could not connect to it. I found this out by trying to get the status of the client on the server with the following command: Here is the things that I checked on the server. Step 1 – Check that the service … Read more