Re: [Bacula-users] How to get mount requests before the job runs?

2006-02-14 Thread Chris Dennis
Arno Lehmann wrote: Next question: I can't find a way to ask "Which tape is currently in the drive?" Is that possible? If it is, I could compare the answer with the output from 'status dir' and send another urgent email if they don't match. That information can be found in the "status stor

Re: [Bacula-users] How to get mount requests before the job runs?

2006-02-14 Thread Chris Dennis
Brian A. Seklecki wrote: # echo -n "status dir" | bconsole -s 2>&1|egrep "^Incremental|^Full"|awk '{print $1" "$4" "$5}' Incremental 13-Feb-06 22:00 Incremental 13-Feb-06 22:00 Thanks for that Brian -- much more elegant than the horrible awk hack that I had come up with. cheers Chris

Re: [Bacula-users] How to get mount requests before the job runs?

2006-02-13 Thread Chris Dennis
Thomas Glatthor wrote: Hi Chris, you can use a cron-job, which mails the output of this script #!bin/bash ./bconsole -c ./bconsole.conf < OK, thanks for that. Has anyone written a script to parse the output of 'status dir' to extract the (likely) next volume? If not, I'll have a go myself.

[Bacula-users] How to get mount requests before the job runs?

2006-02-13 Thread Chris Dennis
KW001 I want the operator to be asked to mount KW001 (if it's not mounted already) as soon as the previous job has finished. If this is possible, can anyone point me to the relevant bit of the documentation? regards Chris -- Chris Dennis [EMAIL

[Bacula-users] How to get mount requests before the job runs?

2006-02-10 Thread Chris Dennis
Hello Bacula users I'm new to Bacula, and beginning to get the hang of it. I can't find a way to get the operator notified of which tape to mount *before* the jobs runs. For example, if the daily backup is due to run at 10pm, the operator needs to get the notification before they go home at 5pm