Re: bad block problem - Mailing list pgsql-admin

From Craig Ringer
Subject Re: bad block problem
Date
Msg-id 4EE00C97.3080905@ringerc.id.au
Whole thread Raw
In response to Re: bad block problem  (Walter Hurry <walterhurry@lavabit.com>)
List pgsql-admin
On 12/08/2011 08:20 AM, Walter Hurry wrote:
> On Wed, 07 Dec 2011 22:20:30 +0000, jkells wrote:
>
>> I am relying on identifying and correcting a bad block.
>
> Well, good luck with that. Most of the time you can't. Just check your
> disk, replace it if necessary, restore from your backup and roll forward.
>
> Oh, you can't do that, since you didn't bother to back up. Never mind.

Unless you're using synchronous replication to clone *every* transaction
on commit to a spare machine, you'll still lose transactions on a
failure no matter how good your backups are.

Even if the OP was doing nightly dumps, they'd be entirely justified in
wanting to try to get a more recent dump on failure.

If they're not backing up at all, yes, that was dumb, but they know that
now. Asking for help isn't unreasonable, and this isn't a stupid "just
google it" question. They've made an effort, posted useful info and log
output, etc. Please don't be too hard on them.

--
Craig Ringer

pgsql-admin by date:

Previous
From: Walter Hurry
Date:
Subject: Re: bad block problem
Next
From: Craig Ringer
Date:
Subject: Re: bad block problem