opnsense-ports/databases/pgbarman/files/patch-doc_barman.5
Franco Fichtner c1e6562804 */*: sync with upstream
Taken from: HardenedBSD
2019-05-17 04:49:30 +02:00

58 lines
1.6 KiB
Groff

--- doc/barman.5.orig 2019-05-14 16:37:28 UTC
+++ doc/barman.5
@@ -17,7 +17,7 @@ The system-level Barman configuration file is located
.IP
.nf
\f[C]
-/etc/barman.conf
+%%PREFIX%%/etc/barman.conf
\f[R]
.fi
.PP
@@ -25,7 +25,7 @@ or
.IP
.nf
\f[C]
-/etc/barman/barman.conf
+%%PREFIX%%/etc/barman/barman.conf
\f[R]
.fi
.PP
@@ -51,9 +51,9 @@ configurations.
If the value of \f[C]configuration_files_directory\f[R] is a directory,
Barman reads all files with \f[C].conf\f[R] extension that exist in that
folder.
-For example, if you set it to \f[C]/etc/barman.d\f[R], you can specify
+For example, if you set it to \f[C]%%PREFIX%%/etc/barman.d\f[R], you can specify
your PostgreSQL servers placing each section in a separate
-\f[C].conf\f[R] file inside the \f[C]/etc/barman.d\f[R] folder.
+\f[C].conf\f[R] file inside the \f[C]%%PREFIX%%/etc/barman.d\f[R] folder.
.SH OPTIONS
.TP
.B active
@@ -623,7 +623,7 @@ Here is an example of configuration file:
\f[C]
[barman]
; Main directory
-barman_home = /var/lib/barman
+barman_home = /var/barman
; System user
barman_user = barman
@@ -643,13 +643,13 @@ reuse_backup = link
description = \[dq]Main PostgreSQL Database\[dq]
; SSH options
-ssh_command = ssh postgres\[at]pg
+ssh_command = ssh %%PGUSER%%\[at]pg
; PostgreSQL connection string
-conninfo = host=pg user=postgres
+conninfo = host=pg user=%%PGUSER%%
; PostgreSQL streaming connection string
-streaming_conninfo = host=pg user=postgres
+streaming_conninfo = host=pg user=%%PGUSER%%
; Minimum number of required backups (redundancy)
minimum_redundancy = 1