Re: WAL recovery, stop and resume recovery? - Mailing list pgsql-admin

From David Wall
Subject Re: WAL recovery, stop and resume recovery?
Date
Msg-id 4787D161.9000000@computer.org
Whole thread Raw
In response to WAL recovery, stop and resume recovery?  (David Wall <d.wall@computer.org>)
List pgsql-admin

LOG:  database system was shut down at 2008-01-11 11:40:05 PST
LOG:  starting archive recovery
LOG:  restore_command = "~/postgresql/bin/pg_standby -l -d -s 2 -k 20 -t ~/postgresql/restoreWALs/STOP_RESTORE ~/postgresql/restoreWALs %f %p 2>> ~/pg_standby.log"
LOG:  restored log file "00000001000000050000001D" from archive
LOG:  invalid record length at 5/1D000068
LOG:  invalid primary checkpoint record
LOG:  restored log file "00000001000000050000001D" from archive
LOG:  invalid resource manager ID in secondary checkpoint record
PANIC:  could not locate a valid checkpoint record

LOG:  startup process (PID 9219) was terminated by signal 6
LOG:  aborting startup due to startup process failure
LOG:  logger shutting down

One more thing is that the error above about the 1D log file above having an invalid record length, etc. is interesting in that if I restore from the TAR backup created for this and start the backup database in recover mode, it manages to process the 1D log file just fine (along with all the previous log files of course).

David

pgsql-admin by date:

Previous
From: David Wall
Date:
Subject: WAL recovery, stop and resume recovery?
Next
From: Tom Lane
Date:
Subject: Re: WAL recovery, stop and resume recovery?