-
+
pg_archivecleanup
On Linux or Unix systems, you might use:
-archive_cleanup_command = 'pg_archivecleanup -d .../archive %r 2>>cleanup.log'
+archive_cleanup_command = 'pg_archivecleanup -d /mnt/standby/archive %r 2>>cleanup.log'
where the archive directory is physically located on the standby server,
so that the archive_command> is accessing it across NFS,
- produce debugging output in standby.log>
+ produce debugging output in cleanup.log>