| 1 |
; Barman, Backup and Recovery Manager for PostgreSQL |
| 2 |
; https://www.pgbarman.org/ - https://www.enterprisedb.com/ |
| 3 |
; |
| 4 |
; Template configuration file for a server using |
| 5 |
; SSH connections and rsync for copy. |
| 6 |
; |
| 7 |
|
| 8 |
[ssh] |
| 9 |
; Human readable description |
| 10 |
description = "Example of PostgreSQL Database (via SSH)" |
| 11 |
|
| 12 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 13 |
; SSH options (mandatory) |
| 14 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 15 |
ssh_command = ssh postgres@pg |
| 16 |
|
| 17 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 18 |
; PostgreSQL connection string (mandatory) |
| 19 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 20 |
conninfo = host=pg user=barman dbname=postgres |
| 21 |
|
| 22 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 23 |
; Backup settings (via rsync over SSH) |
| 24 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 25 |
backup_method = rsync |
| 26 |
; Incremental backup support: possible values are None (default), link or copy |
| 27 |
;reuse_backup = link |
| 28 |
; Identify the standard behavior for backup operations: possible values are |
| 29 |
; exclusive_backup, concurrent_backup (default) |
| 30 |
; concurrent_backup is the preferred method |
| 31 |
backup_options = concurrent_backup |
| 32 |
|
| 33 |
; Number of parallel workers to perform file copy during backup and recover |
| 34 |
;parallel_jobs = 1 |
| 35 |
|
| 36 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 37 |
; Continuous WAL archiving (via 'archive_command') |
| 38 |
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 39 |
archiver = on |
| 40 |
;archiver_batch_size = 50 |
| 41 |
|
| 42 |
; PATH setting for this server |
| 43 |
;path_prefix = "/usr/pgsql-12/bin" |