Re: PITR Functional Design v2 for 7.5

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: PITR Functional Design v2 for 7.5
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D015@m0114.s-mxs.net
обсуждение исходный текст
Ответ на PITR Functional Design v2 for 7.5  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
> The only way we can support file-level hot backup is in conjunction with
> PITR-style WAL log archiving.  It is okay for the data area dump to be
> inconsistent, so long as your recovery process includes replay of WAL
> starting at some checkpoint before the filesystem dump started, and
> extending to some point after the filesystem dump finished.  Replaying
> WAL will correct the inconsistencies.

And the "last checkpoint" info resides in pg_control, and not in pg_clog, no ?
So basically a PITR restore would need to adjust the pg_control file
after filesystem restore and before starting recovery. Maybe it can take that
info from the oldest available WAL ? The OP would only need to ensure,
that only such logs that need to be rolled forward are visible (in the
correct directory) to the recovery.

Andreas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] log_line_info
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PITR Functional Design v2 for 7.5