Re: virtualized snapshots and PITR

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: virtualized snapshots and PITR
Дата
Msg-id 1513239540.2442.22.camel@cybertec.at
обсуждение исходный текст
Ответ на virtualized snapshots and PITR  (PropAAS DBA <dba@propaas.com>)
Ответы RE: virtualized snapshots and PITR  (Olivier Leprêtre <o.lepretre@gmail.com>)
Re: virtualized snapshots and PITR  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Re: virtualized snapshots and PITR  (PropAAS DBA <dba@propaas.com>)
Список pgsql-admin
PropAAS DBA wrote:
> we have a client using veeam to do vmware snapshots of the db servers, 
> unfortunately as far as I can tell any restore of a veeam snapshot also 
> restores the state, which means the db gets restored in an online state. 
> As far as I know, once the db is online we cannot force it back into 
> recovery mode to do a PITR recovery, correct?
> 
> Anyone know of a way to do PITR recoveries with veeam?

It is fairly simple.

Before the snapshot, run

   SELECT pg_start_backup('label of your choice', TRUE);

After the snapshot, run

   SELECT pg_stop_backup();

Yours,
Laurenz Albe


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

Предыдущее
От: preeti soni
Дата:
Сообщение: Re: Missing files in pg_xlog, pg_subtrans and pg_clog directoriesduring file system based backup
Следующее
От: Olivier Leprêtre
Дата:
Сообщение: RE: virtualized snapshots and PITR