aboutsummaryrefslogtreecommitdiff
path: root/databases/pgbarman/files/patch-doc_barman.5
blob: abaa27b7fbed5c7c76bea525b84081f8b0514284 (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	2021-12-01 11:09:36 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[]
 .fi
 .PP
@@ -25,7 +25,7 @@ or
 .IP
 .nf
 \f[C]
-/etc/barman/barman.conf
+%%PREFIX%%/etc/barman/barman.conf
 \f[]
 .fi
 .PP
@@ -51,9 +51,9 @@ configurations.
 If the value of \f[C]configuration_files_directory\f[] is a directory,
 Barman reads all files with \f[C]\&.conf\f[] extension that exist in
 that folder.
-For example, if you set it to \f[C]/etc/barman.d\f[], you can specify
+For example, if you set it to \f[C]%%PREFIX%%/etc/barman.d\f[], you can specify
 your PostgreSQL servers placing each section in a separate
-\f[C]\&.conf\f[] file inside the \f[C]/etc/barman.d\f[] folder.
+\f[C]\&.conf\f[] file inside the \f[C]%%PREFIX%%/etc/barman.d\f[] folder.
 .SH OPTIONS
 .TP
 .B active
@@ -851,7 +851,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
@@ -871,13 +871,13 @@ reuse_backup\ =\ link
 description\ =\ \ "Main\ PostgreSQL\ Database"
 
 ;\ SSH\ options
-ssh_command\ =\ ssh\ postgres\@pg
+ssh_command\ =\ ssh\ %%PGUSER%%\@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