Hi List,

I am using the Script API to execute some commands on the clients to be backed 
up. I would like to execute those commands on pre-host-backup and 
post-host-backup, but those are not executed (others works fine, see below)…

As djmitche suggested on #amanda (thanks for that) I replaced my own script 
with amlog-script using the following configuration:

define script-tool amlog-script {
        comment "amlog"
        plugin "amlog-script"
        execute_on pre-dle-amcheck, pre-host-amcheck, post-dle-amcheck, 
post-host-amcheck, pre-dle-estimate, pre-host-estimate, post-dle-estimate, 
post-host-estimate, pre-dle-backup, pre-host-backup, post-dle-backup, 
post-host-backup
        execute_where client
        property "logfile" "/tmp/amlog"
}

And here is the output from /tmp/amlog:

DailySet1 pre-host-estimate client dev01.example.com /root /root 0 1
DailySet1 pre-dle-estimate client dev01.example.com /root /root 0 1
DailySet1 post-dle-estimate client dev01.example.com /root /root 0 1
DailySet1 post-host-estimate client dev01.example.com /root /root 0 1
DailySet1 pre-dle-backup client dev01.example.com /root /root 1
DailySet1 post-dle-backup client dev01.example.com /root /root 1

So obviously some are missing. Any idea what might cause this? The client is 
2.6.1p1, the server is 2.6.1p1, both system run Debian 5.0.

If you need further information please let me know about it. Thanks in advance 
for you answers!

Regards

Benjamin

Reply via email to