From f9e859a98b091e79b5800537dc86fbacaee955b6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 8 Apr 2021 14:33:23 +0200 Subject: [PATCH] pg_basebackup does not support --xlog. --- templates/pgpool_recovery_stage_1.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/pgpool_recovery_stage_1.j2 b/templates/pgpool_recovery_stage_1.j2 index 9427182..7f79784 100644 --- a/templates/pgpool_recovery_stage_1.j2 +++ b/templates/pgpool_recovery_stage_1.j2 @@ -31,7 +31,7 @@ touch $MASTER_DATA/archive_log/backup_in_progress # Perform a backup of the database. ssh -T $RECOVERY_TARGET \ - "pg_basebackup -h $MASTER_HOST -D $RECOVERY_DATA --xlog" + "pg_basebackup -h $MASTER_HOST -D $RECOVERY_DATA" # Configure the restore_command to use the archive_log WALs we’ll copy # over in 2nd_stage.sh.