Backup restore Bug fix #136
Open
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.
Type of Change
Description
2 Bugs & 1 Enhancement feature done.
Bug Fix:
Following bugs fixed:
Root Cause (if applicable): NA
Fix Implemented:
Enhancement:
Enhancement Description:
- When generate_new_backup set to true, the system always creates a new backup. The provided backup name is used as a prefix, and a timestamp suffix is automatically appended to ensure uniqueness.
- When generate_new_backup set to false (or left unspecified), the system uses the exact backup name as provided and enforces idempotent behaviour, avoiding duplicate backups with the same name.
- When deletion_timestamp is specified, deletes backups matching the given name prefix that were created before the provided timestamp.
Impact Area: NA
Testing Done:
Test cases covered: [Mention test case IDs or brief points]
Checklist
Ansible Best Practices
ansible-vault
or environment variables)Documentation
Screenshots (if applicable)
Notes to Reviewers