Re: Point in Time Recovery

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Point in Time Recovery
Дата
Msg-id 20205.1089761301@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Point in Time Recovery  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Point in Time Recovery
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, but procedurally, how do you correlate the start/stop time of the
> tar backup with the WAL numeric file names?

Ideally the procedure for making a backup would go something like:

1. Inquire of the server its current time and the WAL position of the
most recent checkpoint record (which is what you really need).

2. Make the backup.

3. Inquire of the server its current time and the current end-of-WAL
position.

4. Record items 1 and 3 along with the backup itself.

I think the current theory was you could fake #1 by copying pg_control
before everything else, but this doesn't really help for step #3, so
it would probably be better to add some server functions to get this
info.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Point in Time Recovery
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Point in Time Recovery