Re: check files .backup

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: manuel antonio ochoa <manuel8aalfaro(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: check files .backup
Date: 2011-01-25 07:10:13
Message-ID: AANLkTikKCtnfcpRqjPZxjnBE-ae_S3fmYcdY-dKixv6a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Jan 24, 2011 at 5:18 PM, manuel antonio ochoa
<manuel8aalfaro(at)gmail(dot)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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message MoNiLlO 2011-01-25 09:27:00 Re: Control reached end of trigger procedure without RETURN
Previous Message Craig Ringer 2011-01-25 05:45:01 Re: check files .backup