Add local backups support for backup-clean command. #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added local backups support for
backup-clean
command.Added
--backup-dir
and--parallel-process
flags forbackup-clean
command.For local backups the following logic are applied:
--backup-dir
option is specified, the deletion will be performed in provided path.--backup-dir
option is not specified, but the backup was made with--backup-dir
flag for gpbackup, the deletion will be performed in the backup manifest path.--backup-dir
option is not specified and backup directory is not specified in backup manifest, the deletion will be performed in backup folder in the master and segments data directories.For non local backups the following logic are applied:
--plugin-config
option is specified, the deletion will be performed using the storage plugin.Added update mechanism for history file when some errors occurred. Previously, the status did not change when an error occurred.