You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-29 22:28:02 +02:00
More flexible configuration for databases
Master and standby can both be configured on the backup server and pgBackRest will automatically determine which is the master. This means no configuration changes for backup are required after failing over from a master to standby when a separate backup server is used.
This commit is contained in:
@@ -561,10 +561,14 @@ sub remove
|
||||
{
|
||||
delete(${$oContent}{$strSection}{$strKey}{$strSubKey});
|
||||
}
|
||||
else
|
||||
elsif (defined($strKey))
|
||||
{
|
||||
delete(${$oContent}{$strSection}{$strKey});
|
||||
}
|
||||
else
|
||||
{
|
||||
delete(${$oContent}{$strSection});
|
||||
}
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user