You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-12-03 22:39:18 +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:
@@ -917,11 +917,11 @@ sub helpOptionGet
|
||||
{
|
||||
my $strDefault;
|
||||
|
||||
if ($strOption eq OPTION_CONFIG || $strOption eq OPTION_CONFIG_REMOTE)
|
||||
if ($strOption eq OPTION_CONFIG || $strOption eq OPTION_BACKUP_CONFIG || $strOption eq OPTION_DB_CONFIG)
|
||||
{
|
||||
$strDefault = '/etc/{[backrest-exe]}.conf';
|
||||
}
|
||||
elsif ($strOption eq OPTION_COMMAND_REMOTE)
|
||||
elsif ($strOption eq OPTION_BACKUP_CMD || $strOption eq OPTION_DB_CMD)
|
||||
{
|
||||
$strDefault = '[INSTALL-PATH]/{[backrest-exe]}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user