You've already forked pgbackrest
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:
committed by
David Steele
parent
206415d4c7
commit
36e576b483
@@ -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);
|
||||
|
Reference in New Issue
Block a user