Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2017

    Post Unanswered: PostgreSQL windows command while setting up Hot Standby

    I am setting up PostgreSQL standby on windows for the first time on version 9.4.14:

    Is the below syntax correct in the recovery.conf file

    restore_command = 'copy "D:\\apps\postgres\pg_archivelog\\%f" "%p"'
    archive_cleanup_command = 'pg_archivecleanup "D:\\apps\postgres\pg_archivelog\\" %r'

    And in portgresql.conf

    archive_command = 'copy "%p" "D:\\apps\\postgres\\pg_archivelog\\%f"'

    I am archiving to local server
    Last edited by nmmulla; 11-02-17 at 13:51.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts