1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Up to seven standbys can be configured for backup from standby.`

Contributed by Cynthia Shang.
This commit is contained in:
Cynthia Shang
2017-08-31 19:15:44 -04:00
committed by David Steele
parent 206415d4c7
commit 36e576b483
23 changed files with 969 additions and 84 deletions

View File

@@ -452,8 +452,8 @@ sub process
$self->{iCopyRemoteIdx} = $self->{iMasterRemoteIdx};
}
# If backup from standby option is set but we could not get the standby object then, turn off CFGOPT_BACKUP_STANDBY & warn that
# backups will be performed from the master.
# If backup from standby option is set but a standby was not configured in the config file or on the command line, then turn off
# CFGOPT_BACKUP_STANDBY & warn that backups will be performed from the master.
if (!defined($oDbStandby) && cfgOption(CFGOPT_BACKUP_STANDBY))
{
cfgOptionSet(CFGOPT_BACKUP_STANDBY, false);