From f3d9edb57fff02dfca413bf49e348b3b475739d0 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Tue, 24 Nov 2015 15:32:44 +0100 Subject: [PATCH] also add -p 1 to the restore commands provided with sample yaml files. --- postgres0.yml | 2 +- postgres1.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres0.yml b/postgres0.yml index ae3646cf..66690367 100644 --- a/postgres0.yml +++ b/postgres0.yml @@ -79,7 +79,7 @@ postgresql: #retries: 2 #use_iam: 1 #recovery_conf: - #restore_command: envdir /etc/wal-e.d/env wal-e wal-fetch "%f" "%p" + #restore_command: envdir /etc/wal-e.d/env wal-e wal-fetch "%f" "%p" -p 1 parameters: archive_mode: "on" wal_level: hot_standby diff --git a/postgres1.yml b/postgres1.yml index d96df08c..56072a52 100644 --- a/postgres1.yml +++ b/postgres1.yml @@ -78,7 +78,7 @@ postgresql: #retries: 2 #use_iam: 1 #recovery_conf: - #restore_command: envdir /etc/wal-e.d/env wal-e wal-fetch "%f" "%p" + #restore_command: envdir /etc/wal-e.d/env wal-e wal-fetch "%f" "%p" -p 1 parameters: archive_mode: "on" wal_level: hot_standby