summaryrefslogtreecommitdiff
path: root/databases/pgbarman/files/patch-doc_barman.5
blob: 3b9b46d9f942a9706ba9d9f5f176e4a38401b1dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
--- 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