Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 802D847637E for ; Fri, 17 May 2002 14:56:05 -0400 (EDT) Received: from mail-relay.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 53875476582 for ; Fri, 17 May 2002 14:41:46 -0400 (EDT) Received: (qmail 22173 invoked from network); 17 May 2002 07:28:35 -0000 Received: from system29.trade-india-local.com (HELO server) (192.168.0.29) by ptil-236-129-del.primus-india.net with SMTP; 17 May 2002 07:28:35 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Rajesh Kumar Mallah." Organization: Infocom Network Limited. To: Jeremy Buchmann Subject: Re: Data has got Successfully Recovered ! Date: Fri, 17 May 2002 13:04:29 +0530 X-Mailer: KMail [version 1.4] Cc: pgsql-admin References: <200205162140.06645.mallah@trade-india.com> <3CE43B1E.7070104@wellsgaming.com> In-Reply-To: <3CE43B1E.7070104@wellsgaming.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205171304.29590.mallah@trade-india.com> X-Archive-Number: 200205/148 X-Sequence-Number: 4323 Thanks to postgresql , My data has really got recovered by itself=20=20 after a 2 hrs of recovery process by postgresql only. it was unbeleivable. :-) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D bash-2.03$ /usr/local/pgsql/bin/postmaster -d 5 -D /usr/local/pgsql/data /usr/local/pgsql/bin/postmaster: PostmasterMain: initial environ dump: ----------------------------------------- PWD=3D/usr/local/pgsql/data HOSTNAME=3Dlinux10320 LESSOPEN=3D|/usr/bin/lesspipe.sh %s USER=3Dpostgres LS_COLORS=3Dno=3D00:fi=3D00:di=3D01;34:ln=3D01;36:pi=3D40;33:so=3D0= 1;35:bd=3D40;33;01:cd=3D40;33;01:or=3D01;05;37;41:mi=3D01;05;37;41:ex=3D01;= 32:*.cmd=3D01;32:*.exe=3D01;32:*.com=3D01;32:*.btm=3D01;32:*.bat=3D01;32:*.= sh=3D01;32:*.csh=3D01;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D= 01;31:*.lzh=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.gz=3D01;31:*.bz= 2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.rpm=3D01;31:*.cpio=3D01;31:*.jpg=3D01= ;35:*.gif=3D01;35:*.bmp=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.png=3D01;35:*= .tif=3D01;35: MACHTYPE=3Di386-redhat-linux-gnu MAIL=3D/var/spool/mail/postgres INPUTRC=3D/etc/inputrc LANG=3Den_US DISPLAY=3Dlinux10320:11.0 LOGNAME=3Dpostgres SHLVL=3D1 SHELL=3D/bin/bash HOSTTYPE=3Di386 OSTYPE=3Dlinux-gnu HISTSIZE=3D1000 TERM=3Dxterm HOME=3D/usr/local/pgsql/data PGDATA=3D/usr/local/pgsql/data PATH=3D/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:= /usr/X11R6/bin:/usr/local/pgsql/bin _=3D/usr/local/pgsql/bin/postmaster ----------------------------------------- FindExec: found "/usr/local/pgsql/bin/postgres" using argv[0] invoking IpcMemoryCreate(size=3D136871936) FindExec: found "/usr/local/pgsql/bin/postmaster" using argv[0] 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 p= rogress DEBUG: redo starts at 3/FACBFAB8 DEBUG: ReadRecord: record with zero length at 4/A3CA724C DEBUG: redo done at 4/A3CA7228 DEBUG: database system is ready =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D On Friday 17 May 2002 04:35 am, Jeremy Buchmann wrote: > 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 > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly --=20 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.