holland-discuss team mailing list archive
-
holland-discuss team
-
Mailing list archive
-
Message #00149
Re: Error Emails
Hey Tim!
Thanks for that one, I completely didn't think of using the
failed-backup-command to do that!
I'm going to implement both of these, doesn't hurt! Thanks for the great
information guys, much appreciated!
On Tue, Sep 24, 2013 at 5:13 PM, Tim Soderstrom
<tim@xxxxxxxxxxxxxxxxxxxxx>wrote:
> Alex: Wat? :) That is one way to use Holland, for sure. Whether or not it
> is the most common implementation is assumption. I almost always run it via
> cron just because I don't need the extra complexity of something like
> Bacula.
>
> Robert: See this page in the docs:
>
> http://docs.hollandbackup.org/config.html#holland-conf-main-config
>
> Specifically, the failed-backup-command option. It allows you to specify a
> command (such as using 'mail' to send an e-mail) should there be a failure.
> For example:
>
> failed-backup-command = echo "${backupset} has FAILED. Files are in
> ${backupdir}" | mail -s "MySQL Backup FAILED" hesdeadjim@xxxxxxxxxxx
>
> Warm Regards,
>
> Tim S.
>
>
> On Sep 24, 2013, at 7:35 PM, Robert Navarro <crshman@xxxxxxxxx> wrote:
>
> Hey Alex,
>
> Thanks for the prompt response!
>
> I'm using a cron to run the job:
>
> #
>> # Cron job to run the backup job
>> #
>> MAILTO=dev@xxxxxxxxxx
>> 0 1 * * * root /usr/sbin/holland --quiet backup
>
>
> Something tells me it has to do with that --quiet parameter?
>
> Is this the *right* way to be running holland?
>
> On Tue, Sep 24, 2013 at 4:33 PM, Alex Brandt <alunduil@xxxxxxxxxxxx>wrote:
>
>> On Tuesday, September 24, 2013 16:12:26 Robert Navarro wrote:
>> > Is there a way to have holland send an email on a backup failure?
>>
>> Hey Robert,
>>
>> How are you currently running holland? Most of the time it's run from
>> another
>> backup utility such as bacula or cron which both send email upon failures.
>>
>> Regards,
>>
>> --
>> Alex Brandt
>> Technical Trainer for Rackspace, RHCE
>> http://blog.alunduil.com
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~holland-discuss
>> Post to : holland-discuss@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~holland-discuss
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Robert Navarro
> _______________________________________________
> Mailing list: https://launchpad.net/~holland-discuss
> Post to : holland-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~holland-discuss
> More help : https://help.launchpad.net/ListHelp
>
>
>
--
Robert Navarro
References