[Dirvish] sending mail on any failure

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Apr 15 09:03:52 UTC 2009


fostandy wrote:
> Hi, I'm new to this backup game. I'm wondering if there is a straightforward
> way I can make dirvish (or it's pre/post exec scripts) send an email if any
> stage of the backup process fails?

My cron is set up to mail me with whatever output the job produces. So
there's no need for me to do anything at all to get errors.

It does mean I normally get a mail every day telling me that the backup
has run. But the absence of that mail tells me there's something wrong
elsewhere in the system ...

Cheers, Dave


More information about the Dirvish mailing list