> I found your message on the bacula's mailing list and your solution sounds
> good to me.
>
> Do you have some example or documentation for the bconsole scripting?


I do not have an example of this. I was originally thinking of using
grep to get the line containing the status for a specific job using
one of the bconsole commands (like st dir) to print the status however
this may not work well. You may need to use bconsole to execute a
sqlquery that returns just the status of the last run of a job. Then
in your script return non zero if the job status is failed.

John

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to