| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | PropAAS DBA <dba(at)propaas(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: virtualized snapshots and PITR |
| Date: | 2017-12-14 08:19:00 |
| Message-ID: | 1513239540.2442.22.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Olivier Leprêtre | 2017-12-14 08:44:42 | RE: virtualized snapshots and PITR |
| Previous Message | preeti soni | 2017-12-14 06:22:11 | Re: Missing files in pg_xlog, pg_subtrans and pg_clog directories during file system based backup |