pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedHelp with data recovery...
2+ messages / 2 participants
[nested] [flat]
* Help with data recovery...
@ 2002-05-16 16:10 Rajesh Kumar Mallah. <mallah@trade-india.com>
2002-05-16 23:05 ` Re: Help with data recovery... Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 1 reply; 2+ messages in thread
From: Rajesh Kumar Mallah. @ 2002-05-16 16:10 UTC (permalink / raw)
To: pgsql-admin
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
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Help with data recovery...
2002-05-16 16:10 Help with data recovery... Rajesh Kumar Mallah. <mallah@trade-india.com>
@ 2002-05-16 23:05 ` Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Buchmann @ 2002-05-16 23:05 UTC (permalink / raw)
To: Rajesh Kumar Mallah. <mallah@trade-india.com>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-05-16 23:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-05-16 16:10 Help with data recovery... Rajesh Kumar Mallah. <mallah@trade-india.com>
2002-05-16 23:05 ` Jeremy Buchmann <jeremy@wellsgaming.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox