Re: Issue with WAL files in streaming replication

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

 





On Mon, Jan 8, 2018 at 8:40 AM, Leroy Tennison <leroy_tennison@xxxxxxxxxxx> wrote:
I have attempted to set up a Postgres 9.5 server as a streaming replication backup (guessing my way through the process after reading the Postgresql documentation and a few tutorials) but am running into an issue.  The WAL archive files are not being removed on the backup.  I'm wondering if everything is OK and I should have discontinued the WAL archive process or if something else is wrong.  Thanks for any help.  The following should be the relevant configuration.


you should see a recovery.conf in slave server and below line must be included in that file to delete old archive files.

archive_cleanup_command = '/path/to/pg_archivecleanup /path/to/archive/dir %r'
 

[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