Re: [GENERAL] Recover corrupted data - Mailing list pgsql-general

From Alexandre
Subject Re: [GENERAL] Recover corrupted data
Date
Msg-id CAEPSA-ffs54m7YKu2sn7pykSVBW8+ax+DSKC1o3KLyvRdMd1AQ@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Recover corrupted data  (Moreno Andreo <moreno.andreo@evolu-s.it>)
List pgsql-general
It appears to be just one table I'm trying to backup without that table.

But there is no solution for this kind of error?

On Wed, Apr 19, 2017 at 1:11 PM, Moreno Andreo <moreno.andreo@evolu-s.it> wrote:
Il 19/04/2017 17:49, Vick Khera ha scritto:
1) restore from backup
2) fix whatever configuration you made to let windows (or your hardware) destroy your data on crash. is there some RAID cache that is not backed up by a battery?

IMHO If there's no hurry, it'd be better to start with point 2, because if your filesystem (or hardware) is somehow badly broken, it will happen again...
If you have more than one database in your cluster, you can find what's the database that's been corrupted and restore just that one, instead of the whole cluster.
Cheers
Moreno


On Wed, Apr 19, 2017 at 10:18 AM, Alexandre <psybox@gmail.com> wrote:
Hello,

The computer had a unexpected shutdown, it is a Windows machine.
Now some data appears to be corrupted, I am receiving exceptions like this:

ERROR: could not read block 0 in file "base/16393/16485": read only
0 of 8192 bytes

There is some way to correct this?



pgsql-general by date:

Previous
From: Alexandre
Date:
Subject: Re: [GENERAL] Recover corrupted data
Next
From: David Rowley
Date:
Subject: Re: [GENERAL] Why so long?