<div dir="ltr"><div><div><div>Package: bacula-director-pgsql<br>Version: 5.2.6+dfsg-9<br><br></div>The shell script delete_catalog_backup is missing the execute bit, as you can see here (ls output):<br><br>-rw------- 1 root root 104 Aug 2 11:07 /etc/bacula/scripts/delete_catalog_backup<br>
<br></div>As such one gets the following error when backuping the catalog:<br><br>03-Aug 01:05 backup-dir JobId 3: shell command: run AfterJob "/etc/bacula/scripts/delete_catalog_backup"<br>03-Aug 01:05 backup-dir JobId 3: Error: Runscript: AfterJob returned non-zero status=200. ERR=Permission denied<br>
<br></div>And the SQL catalog file does not get delted as it should.<br></div>