Skip to content

Instantly share code, notes, and snippets.

@gurjeet
Created September 10, 2014 21:09
Show Gist options
  • Save gurjeet/0bc6510e7d34ca42f45e to your computer and use it in GitHub Desktop.
Save gurjeet/0bc6510e7d34ca42f45e to your computer and use it in GitHub Desktop.
[bart] #global section
backup_path = /path/to/backup/dir
pg_basebackup_path = /path/to/pg_basebackup
log_file= /path/to/logfile
[Server1] # name the server being configured.
host = 192.1.1.2 # host address of the server
port = 5444 # server port (default 5444)
user = ServerUser1 # database user
remote-host = 192.1.1.5 # host address of the server to restore the backup.
archive_path = PATH # path to directory where WAL files will be restored.
tablespace_path = [OID=PATH];... # a semicolon separated list of oid/path pairs indication where to restore tablespaces.
description = "This is server no 1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment