Re: Issue with WAL files in streaming replication - Mailing list pgsql-admin

From Ibrahim Edib Kokdemir
Subject Re: Issue with WAL files in streaming replication
Date
Msg-id CABnTomLP4gEkmta9rSpYh0Dz1DQsRSh_4ak32NkXGATb0BLd-Q@mail.gmail.com
Whole thread Raw
In response to Re: Issue with WAL files in streaming replication  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
List pgsql-admin


On Mon, Jan 8, 2018 at 8:40 AM, Leroy Tennison <leroy_tennison@prodigy.net> 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'
 

pgsql-admin by date:

Previous
From: Shreeyansh Dba
Date:
Subject: Re: Issue with WAL files in streaming replication
Next
From: flumbador@virgilio.it
Date:
Subject: Re: Issue on restore / recover