Bacula-users

Re: [Bacula-users] Backup status OK, but mysql errors

2011-09-19 10:17:45
Subject: Re: [Bacula-users] Backup status OK, but mysql errors
From: Jeremy Maes <jma AT schaubroeck DOT be>
To: Ben Walton <bwalton AT artsci.utoronto DOT ca>
Date: Mon, 19 Sep 2011 16:15:01 +0200
Op 19/09/2011 16:00, Ben Walton schreef:
> Excerpts from John Drescher's message of Mon Sep 19 09:27:54 -0400 2011:
>
>> Get your script to return a non zero exit status on database error.
> This would see the whole job fail without backing anything else up
> though, no?  Although that might be appropriate in some, cases, I
> think the OP wanted the job to complete but present an easy to pick
> out visual indicator that it wasn't a clean run.
I'm not sure of the default value of the "Fail Job On Error" setting for 
a Client Before Job, but it's pretty easy to specify it yourself and set 
it to "no".
That way the errors will be reported, along with any script output to 
console, but the job itself won't fail even if the script fails.

> I can appreciate this need as it's something I'd like as well.
>
> Thanks
> -Ben
>

 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users