1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-11 08:50:42 +03:00

Rename db-* options to pg-* and backup-* options to repo-* to improve consistency.

* repo-* options are now indexed although only one is allowed.
* List deprecated option names in documentation and command-line help.
This commit is contained in:
David Steele
2018-02-03 18:27:38 -05:00
parent dc73abdb6e
commit be90028100
96 changed files with 5383 additions and 4270 deletions

View File

@@ -62,11 +62,11 @@ sub run
{
# Setup the remote for testing remote storage
$self->optionTestSet(CFGOPT_STANZA, $self->stanza());
$self->optionTestSet(CFGOPT_DB_PATH, $self->testPath());
$self->optionTestSet(CFGOPT_PG_PATH, $self->testPath());
$self->optionTestSet(CFGOPT_REPO_PATH, $self->testPath());
$self->optionTestSet(CFGOPT_LOG_PATH, $self->testPath());
$self->optionTestSet(CFGOPT_BACKUP_HOST, 'localhost');
$self->optionTestSet(CFGOPT_BACKUP_USER, $self->backrestUser());
$self->optionTestSet(CFGOPT_REPO_HOST, 'localhost');
$self->optionTestSet(CFGOPT_REPO_HOST_USER, $self->backrestUser());
$self->configTestLoad(CFGCMD_ARCHIVE_PUSH);
protocolGet(CFGOPTVAL_REMOTE_TYPE_BACKUP, undef, {strBackRestBin => $self->backrestExe()});