In Bacula 5.2.13 I use
Client Run Before Job = "mysqldump ...."
to dump the database before the backup starts.
After it is complete I use
Client Run After Job = "/bin/rm -f /backup/daily/mysql-Slave*"
with the intend to remove the backup file due to lack of free space to keep more then one backup.
The backup report shows that it ran the command:
18-Mar 09:39 db1-fd JobId 12980: shell command: run ClientAfterJob "/bin/rm -f /backup/daily/mysql-Slave*"
Unfortunately the file is not removed.
Any idea? Is it the use of wildcard?
Thanks,
-- Peter