From c3aba173eab6cc3fdee2cfb6cf22ca539b34538d 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 bede4774..2c54824c 100644 --- a/doc/cloning-standbys.xml +++ b/doc/cloning-standbys.xml @@ -104,9 +104,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, @@ -190,8 +203,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'