From: | Jeremy Buchmann <jeremy(at)wellsgaming(dot)com> |
---|---|
To: | "Rajesh Kumar Mallah(dot)" <mallah(at)trade-india(dot)com> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Help with data recovery... |
Date: | 2002-05-16 23:05:02 |
Message-ID: | 3CE43B1E.7070104@wellsgaming.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Rajesh Kumar Mallah. wrote:
> Hi ,
>
> my postmaster is refusing to startup. and my last backup is 18 hrs old.
> restoring data for that backup is the last option i have.
>
> I have already tried pg_resetxlog -f $PGDATA , but that sets the
> database to a state that is 2 days old.
>
> will anyone please help me with my best bet in recovering data
> for $PGDATA
>
> i made a copy of it before running pg_resetxlog.
>
> DEBUG: database system was interrupted being in recovery at 2002-05-16 21:34:20 IST
> This probably means that some data blocks are corrupted
> and you will have to use the last backup for recovery.
> DEBUG: checkpoint record is at 3/FACBFA78
> DEBUG: redo record is at 3/FACBFA78; undo record is at 0/0; shutdown FALSE
> DEBUG: next transaction id: 6174305; next oid: 30144904
> DEBUG: database system was not properly shut down; automatic recovery in progress
> DEBUG: redo starts at 3/FACBFAB8
If your hardware is going bad, there's probably not much Pg can do. 18
hours isn't that long ago...if that's not recent enough, you should look
into doing more frequent backups.
--Jeremy
From | Date | Subject | |
---|---|---|---|
Next Message | Tomaz Borstnar | 2002-05-17 02:13:36 | Re: help me out on installation!!! |
Previous Message | Rajesh Kumar Mallah. | 2002-05-16 16:25:28 | Help with data recovery... (pg_controldata output) |