1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-15 01:04:37 +02:00

Allow stanza-* commands to be run remotely.

The stanza-create, stanza-upgrade and stanza-delete were required to be run on the repository host. When there was only one repository allowed this was not a problem.

However, with the introduction of multiple repository support, this becomes more of a burden to the user, therefore the stanza-create, stanza-upgrade and stanza-delete commands have been improved to allow for them to be run remotely.
This commit is contained in:
Cynthia Shang
2021-03-10 08:10:46 -05:00
committed by GitHub
parent c4a3dc4e46
commit 31c7824a4d
16 changed files with 215 additions and 132 deletions

View File

@ -112,7 +112,7 @@ sub run
$oHostDbPrimary->clusterCreate();
# Create the stanza
$oHostBackup->stanzaCreate('main create stanza info files');
$oHostDbPrimary->stanzaCreate('main create stanza info files');
# Get passphrase to access the Manifest file from backup.info - returns undefined if repo not encrypted
my $strCipherPass =