summarylogtreecommitdiffstats
path: root/ssh-server.conf-template
diff options
context:
space:
mode:
authorJeff Sharpe2019-02-20 22:25:24 -0800
committerJeff Sharpe2019-02-20 22:25:24 -0800
commitfc3400aa053a378f50cdbc6e0383e1914e228a8d (patch)
treefdb426ea4164c6dda4b160b8abf9635c245c0fb7 /ssh-server.conf-template
parent0d3623064cb057af12e5f1304b2b3171196100e0 (diff)
downloadaur-fc3400aa053a378f50cdbc6e0383e1914e228a8d.tar.gz
Adopt and upgrade to 2.6
Diffstat (limited to 'ssh-server.conf-template')
-rw-r--r--ssh-server.conf-template42
1 files changed, 42 insertions, 0 deletions
diff --git a/ssh-server.conf-template b/ssh-server.conf-template
new file mode 100644
index 000000000000..d20cf7a6ae1e
--- /dev/null
+++ b/ssh-server.conf-template
@@ -0,0 +1,42 @@
+; Barman, Backup and Recovery Manager for PostgreSQL
+; http://www.pgbarman.org/ - http://www.2ndQuadrant.com/
+;
+; Template configuration file for a server using
+; SSH connections and rsync for copy.
+;
+
+[ssh]
+; Human readable description
+description = "Example of PostgreSQL Database (via SSH)"
+
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; SSH options (mandatory)
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+ssh_command = ssh postgres@pg
+
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; PostgreSQL connection string (mandatory)
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+conninfo = host=pg user=barman dbname=postgres
+
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Backup settings (via rsync over SSH)
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+backup_method = rsync
+; Incremental backup support: possible values are None (default), link or copy
+;reuse_backup = link
+; Identify the standard behavior for backup operations: possible values are
+; exclusive_backup (default), concurrent_backup
+;backup_options = exclusive_backup
+
+; Number of parallel workers to perform file copy during backup and recover
+;parallel_jobs = 1
+
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Continuous WAL archiving (via 'archive_command')
+; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+archiver = on
+;archiver_batch_size = 50
+
+; PATH setting for this server
+;path_prefix = "/usr/pgsql-9.6/bin"