Bacula-users

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

2011-09-19 09:29:53
Subject: Re: [Bacula-users] Backup status OK, but mysql errors
From: John Drescher <drescherjm AT gmail DOT com>
To: Oliver Hoffmann <oh AT dom DOT de>
Date: Mon, 19 Sep 2011 09:27:54 -0400
On Mon, Sep 19, 2011 at 8:58 AM, Oliver Hoffmann <oh AT dom DOT de> wrote:
> Hello list,
>
> bacula does a ClientRunBeforeJob which is a mysqldump script. The
> script returns an error (problem with Lock Tables) but the email has
> the subject "Bacula: Backup OK of myclient-fd Incremental".
> Even webacula shows an OK.
> This is misleading and this way one would be forced to read every
> status mail. Any (nice) ideas how to deal with it? All right, I could
> alter my script or something but maybe there is a way to put a keyword
> into the subject?
>

Get your script to return a non zero exit status on database error.

John

------------------------------------------------------------------------------
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