Re: WAL archiving to two locations in warm standby

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

 



Alanoly Andrews <alanolya@xxxxxxxxxx> wrote:
 
> What I would like to tell the postgres engine on the primary is to
> be "satisfied" if the archiving to the primary location succeeded
> and to NOT re-try if the failure was in the remote copy
> 
> Is there a way to achive this through the "archive_command" or
> otherwise?
 
archive_command can call a script, which can be arbitrarily complex,
so sure -- you can do whatever you want within it.  That said, why
not copy the archive to the local directory, and then have an rsync
process on the other machine (going through a remote daemon) try to
pull new files over once per minute?  That works well for us.
 
-Kevin

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[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