Re: virtualized snapshots and PITR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux