From 017387dfd08578c3459c65762f40fb35ecf74872 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 7 Nov 2019 14:26:57 +0900 Subject: [PATCH] doc: clarify Barman configuation Per confusion noted in GitHub #602. --- doc/cloning-standbys.xml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/doc/cloning-standbys.xml b/doc/cloning-standbys.xml index b01cf59b..2d950697 100644 --- a/doc/cloning-standbys.xml +++ b/doc/cloning-standbys.xml @@ -103,9 +103,22 @@ repmgr.conf should contain the following entries: barman_host='barman@barmansrv' - barman_server='somedb' + barman_server='pg' + + + Here pg corresponds to a section in Barman's configuration file for a specific + server backup configuration, which would look something like: + +[pg] +description = "Main cluster" +... + + + + More details on Barman configuration can be found in the + Barman documentation's + configuration section. - To use a non-default Barman configuration file on the Barman server, @@ -189,8 +202,8 @@ repmgr.conf should include the following lines: barman_host='barman@barmansrv' - barman_server='somedb' - restore_command='/usr/bin/barman-wal-restore barmansrv somedb %f %p' + barman_server='pg' + restore_command='/usr/bin/barman-wal-restore barmansrv pg %f %p'