Restoring a PITR backup

Поиск
Список
Период
Сортировка
От Just Someone
Тема Restoring a PITR backup
Дата
Msg-id 36932f270604110824j3e9d713awbbf87cc801a2324e@mail.gmail.com
обсуждение исходный текст
Ответы Re: Restoring a PITR backup  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I have a process for PITR backups running nicely. I'm pretty amazed by
the smoothness of it all!

Now I'm looking at the retrieval part, and I have something I'm
looking for clarification on.

The documentation say that a recovery.conf file is needed for the
restore. My tests indicate that I can just restore the backup, copy
over the latest WAL files and launch postgres. Is that ok? Can I just
use this way?

I could create the recovery file and have it copy the files, but as
the second machine I am restoring into can always have the DB
reloaded, I wonder if it isn't easier just to copy the files. I
actually rsync my backup directory and my WAL archive directories,
into the second machine.

Bye,

Guy.

--
Family management on rails: http://www.famundo.com - coming soon!
My development related blog: http://devblog.famundo.com

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Asking advice on speeding up a big table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Restoring a PITR backup