Re: Point in Time Recovery

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: Point in Time Recovery
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D14B@m0114.s-mxs.net
обсуждение исходный текст
Ответ на Point in Time Recovery  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
> > Other db's have commands for:
> > start/end external backup

I see that the analogy to external backup was not good, since you are correct
that dba's would expect that to stop all writes, so they can safely split
their mirror or some such. Usually the expected time from start
until end external backup is expected to be only seconds. I actually think we
do not need this functionality, since in pg you can safely split the mirror any
time you like.

My comment was meant to give dba's a familiar tool. The effect of it
would only have been to create a separate backup of pg_control.
Might as well tell people to always backup pg_control first.

I originally thought you would require restore to specify an xlog id
from which recovery will start. You would search this log for the first
checkpoint record, create an appropriate pg_control, and start rollforward.

I still think this would be a nice feature, since then all that would be required
for restore is a system backup (that includes pg data files) and the xlogs.

Andreas


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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: Release planning
Следующее
От: Peter Eisentraut
Дата:
Сообщение: How to display privileges in psql