From 358559acc4bf7aebd8ff68384b62202147badf11 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 3 Oct 2016 15:59:03 +0900 Subject: [PATCH] Update `barman-wal-restore` documentation Barman 2.0 provides this in a separate, more convenient `barman-cli` package; document this and add note about previous `barman-wal-restore.py` script. --- README.md | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 69478a50..31225880 100644 --- a/README.md +++ b/README.md @@ -599,8 +599,8 @@ ensure that: - the `barman_server` setting in `repmgr.conf` is set to the SSH hostname of the Barman server; - the `restore_command` setting in `repmgr.conf` is configured to - use a copy of the `barman-wal-restore.py` script shipped with Barman - (see below); + use a copy of the `barman-wal-restore` script shipped with the + `barman-cli package` (see below); - the Barman catalogue includes at least one valid backup for this server. @@ -616,26 +616,24 @@ ensure that: > corresponding to the value of `barman_server` in `repmgr.conf`. See > the "Host" section in `man 5 ssh_config` for more details. -`barman-wal-restore.py` is a Python script provided by the Barman -development team, which must be copied in a location accessible to -`repmgr`, and marked as executable; `restore_command` must then be -set in `repmgr.conf` as follows: +`barman-wal-restore` is a Python script provided by the Barman +development team as part of the `barman-cli` package (Barman 2.0 +and later; for Barman 1.x the script is provided separately as +`barman-wal-restore.py`). + +`restore_command` must then be set in `repmgr.conf` as follows: