pg_basebackup does not support --xlog.

This commit is contained in:
Andrea Dell'Amico 2021-04-08 14:33:23 +02:00
parent 4cfd936b51
commit f9e859a98b
1 changed files with 1 additions and 1 deletions

View File

@ -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 well copy
# over in 2nd_stage.sh.