Re: pg_stop_backup is not archiving latest transaction log from pg_xlog directory

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

 



Thanks a lot Laurenz Albe. 


On Wed, Jun 19, 2013 at 6:16 PM, Albe Laurenz <laurenz.albe@xxxxxxxxxx> wrote:
girish R G peetle wrote:
> I was wondering if I can use the modified version of your solution.
>
>  1. Convert output of pg_stop_backup to transaction log file name. (This refers to the latest active
> transaction log file)
>  2. If we are able to see this file under archive(WAL) directory, backup this file from this
> directory.
>  3. If the file is not found under archive(WAL) directory, backup this file form pg_xlog directory.

That should work just fine.

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