Re: WAL recovery, stop and resume recovery?

Поиск
Список
Период
Сортировка
От David Wall
Тема Re: WAL recovery, stop and resume recovery?
Дата
Msg-id 4787D161.9000000@computer.org
обсуждение исходный текст
Ответ на WAL recovery, stop and resume recovery?  (David Wall <d.wall@computer.org>)
Список 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 по дате отправления:

Предыдущее
От: David Wall
Дата:
Сообщение: WAL recovery, stop and resume recovery?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WAL recovery, stop and resume recovery?