Bacula-users

Re: [Bacula-users] [Bacula] Job dependency

2014-03-19 07:58:35
Subject: Re: [Bacula-users] [Bacula] Job dependency
From: John Drescher <drescherjm AT gmail DOT com>
To: Ludovic Brachet <ludovic.brachet AT scmfrance DOT fr>, Bacula Users <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 19 Mar 2014 07:53:52 -0400
> 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] [Bacula] Job dependency, John Drescher <=