pg_basebackup does not support --xlog.
This commit is contained in:
parent
4cfd936b51
commit
f9e859a98b
|
@ -31,7 +31,7 @@ touch $MASTER_DATA/archive_log/backup_in_progress
|
||||||
|
|
||||||
# Perform a backup of the database.
|
# Perform a backup of the database.
|
||||||
ssh -T $RECOVERY_TARGET \
|
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
|
# Configure the restore_command to use the archive_log WALs we’ll copy
|
||||||
# over in 2nd_stage.sh.
|
# over in 2nd_stage.sh.
|
||||||
|
|
Loading…
Reference in New Issue