Bacula-users

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

2011-09-19 11:24:12
Subject: Re: [Bacula-users] Backup status OK, but mysql errors
From: Oliver Hoffmann <oh AT dom DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 19 Sep 2011 17:22:03 +0200
Ben,

you're right, it's directing in a bash script direction. So, coming
back to bacula, I'd better like to find a way of communication between
a ClientRunBeforeJob error and the Termination/mail-subject. With such
a solution tinkering around with every script would be obsolete.

Your trick did not work though.

Oliver

> 
> Hi Oliver,
> 
> Replying off-list as it's not of general relevance...
> 
> I have a similar script that used this pattern.  I ended up modifying
> it to do:
> 
> > for i in `cat list.txt`
> > do
> > 
> >  /usr/bin/mysqldump $i 
> > 
> >    if [ $? != 0 ]; then
> 
>       exitcode=1
> > 
> >    fi
> > 
> > done
> > 
> 
> exit $exitcode
> 
> 
> I didn't want a failure in one dump to prevent dumping the other
> db's.  Maybe this is just simplified for email, so forgive me if
> you're already handling this.
> 
> HTH.
> 
> Thanks
> -Ben
> --
> Ben Walton
> Systems Programmer - CHASS
> University of Toronto
> C:416.407.5610 | W:416.978.4302
> 
> 


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

<Prev in Thread] Current Thread [Next in Thread>