Migrate and refactor files and repo targets to unified backups
What does this MR do and why?
This merge request adds a new backup target, files. This is a refactored migration from the old backup code. The MR removes the coupling with the following classes in the rails code:
- Backups::Options
- Backups::Strategy
- Backups::Helper
I have added in tests for the Files target.
It would be easiest to review the code commit by commit. The task for backing up repos is disabled in this MR. This is done to accommodate multiple refactors. The next MR !163584 (merged) will be merged into this one and will enable repo task.
Related issues: #454906 (closed) #481436 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.