Hello,
On 2/14/2006 12:57 AM, Chris Dennis wrote:
Thomas Glatthor wrote:
Hi Chris,
you can use a cron-job, which mails the output of this script
#!bin/bash
./bconsole -c ./bconsole.conf END_OF_DATA
status dir
quit
END_OF_DATA
OK, thanks for that.
Has anyone written a script to parse
Brian A. Seklecki wrote:
# echo -n status dir | bconsole -s 21|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
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
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
Hi Chris,
you can use a cron-job, which mails the output of this script
#!bin/bash
./bconsole -c ./bconsole.conf END_OF_DATA
status dir
quit
END_OF_DATA
to your mail account 60 minutes before you'll go home.
or you can use the
RunAfterJob = /etc/bacula/mailmethenextrequiredtapename.sh
I did something like this which works for me. Of course you should adopt
the jobname and email in order to try with copy/paste.
echo Please insert tape: `echo 'status dir' | bconsole tmp1 ; head
-n \`grep -n 'Running Jobs:' tmp1 | cut -d: -f1\` tmp1 | grep -o
'YOUR-BACKUP-JOB-NAME.*' | cut
Thomas Glatthor wrote:
Hi Chris,
you can use a cron-job, which mails the output of this script
#!bin/bash
./bconsole -c ./bconsole.conf END_OF_DATA
status dir
quit
END_OF_DATA
OK, thanks for that.
Has anyone written a script to parse the output of 'status dir' to
extract the (likely) next
On Mon, 2006-02-13 at 23:57 +, Chris Dennis wrote:
Thomas Glatthor wrote:
Hi Chris,
you can use a cron-job, which mails the output of this script
#!bin/bash
./bconsole -c ./bconsole.conf END_OF_DATA
status dir
quit
END_OF_DATA
OK, thanks for that.
echo -n status dir |
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
On Fri, 10 Feb 2006 17:51:47 +, Chris Dennis [EMAIL PROTECTED] said:
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
10 matches
Mail list logo