Re: Postgres Backup Questions

From: "John R(dot) Allgood" <john(at)turbocorp(dot)com>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres Backup Questions
Date: 2006-06-01 17:57:07
Message-ID: 447F2A73.3080104@turbocorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hey Again

Thanks for the input. but what I am wanting to check for is CRC
errors and block errors. The backups are written to tape and I would
like a way to verify the data on the tape as compared to the data on the
server. I may be way off here but I just want to be sure I am getting
reliable backups.

Thanks

Scott Marlowe wrote:
> On Thu, 2006-06-01 at 10:15, John R. Allgood wrote:
>
>> Hello
>>
>> I have a question regarding backups on Postgresql 7.4.7-2. We are
>> currently using a Progress database and will be moving over to Postgres
>> this month. In Progress there is a way to verify your backups does
>> Postgres have anything similiar or is there other ways to accompplish
>> this. I am currently writing backup and other utility scripts and would
>> like to incorporate this into my program.
>>
>
> I wrapped my backup in a bash script, and that seems to catch errors.
> something like:
>
> if !(
> /data01/pg/bin/pg_dump dbname > dbname.sql
> );
> then
> cat "backup failed"|mail -s "backup failed" yourname(at)yourdomain(dot)com;
> fi
>
> To test this, I corrupted a table in a test database to force a hard
> failure, and it sent an email. Don't know if it's a comprehensive test,
> but it seems to work for us.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
All I can think of is a platter of organic PRUNE CRISPS being trampled
by an army of swarthy, Italian LOUNGE SINGERS ...

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kenneth Marshall 2006-06-01 18:01:15 Re: Postgres Backup Questions
Previous Message Joao 2006-06-01 17:17:50 help me problems with pg_clog file