Re: check files .backup - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: check files .backup
Date
Msg-id AANLkTikKCtnfcpRqjPZxjnBE-ae_S3fmYcdY-dKixv6a@mail.gmail.com
Whole thread Raw
In response to check files .backup  (manuel antonio ochoa <manuel8aalfaro@gmail.com>)
List pgsql-sql
On Mon, Jan 24, 2011 at 5:18 PM, manuel antonio ochoa
<manuel8aalfaro@gmail.com> wrote:
> Do you know if exist a  function to check my file.backup created by pgdump.

I run backups like this in bash:

if (pg_dump yadayada); then   echo "backup succeeded."
else   echo "backup failed."
fi;

in a cronjob set to email me.  Then when it fails or not, I see it
right there in my nightly email.


pgsql-sql by date:

Previous
From: Craig Ringer
Date:
Subject: Re: check files .backup
Next
From: MoNiLlO
Date:
Subject: Re: Control reached end of trigger procedure without RETURN