Re: Please help (backup) - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Please help (backup)
Date
Msg-id dcc563d10710220739m133b2c02j858941128abcd85c@mail.gmail.com
Whole thread Raw
In response to Re: Please help (backup)  (Anibal David Acosta <aa@personal.net.py>)
List pgsql-admin
On 10/22/07, Anibal David Acosta <aa@personal.net.py> wrote:
>
>  Really all file content after object definitions looks like
> "Encoded/Encrypted" and when I do a restore all table data are restored
> successfully (except one, that is in the "corrupted sector"). So, maybe the
> pg_dump do a encrypt or something like that over the DATA content.

No. What likely happened is that due to a bug in your OS or harddrive
controller, sectors from the middle of a binary (like an executable)
got put in place of some of your blocks in your postgresql backup.

You need to use a robust editor like vi to chop those parts out and
see what you get.

But the real answer is to use a known good backup.

pgsql-admin by date:

Previous
From: Anibal David Acosta
Date:
Subject: Re: Please help (backup)
Next
From: "Mark Steben"
Date:
Subject: bgwriter update question