Bacula-users

[Bacula-users] Bacula 5.2.13 ClientRunAfterJob

2015-03-18 23:01:53
Subject: [Bacula-users] Bacula 5.2.13 ClientRunAfterJob
From: Peter Wood <peterwood.sd AT gmail DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 18 Mar 2015 19:54:26 -0700
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
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users