Restore postgres to specific time

Поиск
Список
Период
Сортировка
От wd
Тема Restore postgres to specific time
Дата
Msg-id CABexzmh8bycs7HBByNyk+HWwg7mrp9tJexTSsrAW2bRyqRRVxg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Restore postgres to specific time
Список pgsql-general
hi,

I've try to restore Postgres to a specific time but failed.

The recovery.conf as bellow
restore_command='cp /t/xlog/%f %p'
recovery_target_time='2012-11-22 5:01:09 CST'
pause_at_recovery_target=true
recovery_target_inclusive=false

The basebackup was made at 2012-11-22 3:10 CST, I've copy wal log files at 3:00 to 5:10 into /t/xlog, but the recovery will not stop at 2012-11-22 5:01:09。

How to do this?

В списке pgsql-general по дате отправления: