Fix Backup Restore/Schedules, Backup button
What does this MR do and why?
Backups currently have two bugs:
- Backup status bar does not always show up after a refresh
- Backup schedules are retained in the DB, but not in the jobstore (https://gitlab.com/crafty-controller/crafty-4/-/issues/280)
- Backup restore does not work due to method name changes in remote-comms2.
This MR resolves both these issues.
How to set up and validate locally
Problem 1:
- Start a backup on a high-performance device. It is possible the page will load before the status shows up.
Problem 2:
- Create a server
- Create a scheduled task for the server
- Restore the backup. The schedule will appear in the list, but will never fire.
Problem 3:
- Try to create a backup then restore it on the dev branch.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Have you checked this doesn't interfere/conflict/duplicate someone elses work? -
Have you fully tested your changes? -
Have you resolved any lint issues? -
Have you assigned a reviewer? -
Have you applied correct labels?
Edited by Andrew
Merge request reports
Activity
added Bug label
requested review from @Zedifus
assigned to @amcmanu3
mentioned in commit 449523b3
added 10 commits
-
6af4f7b1...f39f8bd5 - 8 commits from branch
dev
- 925f6f6b - Merge branch 'dev' into bugfix/backups
- 449523b3 - Update changelog !634 (merged)
-
6af4f7b1...f39f8bd5 - 8 commits from branch
mentioned in commit d04a5dbb
mentioned in merge request !650 (merged)
Please register or sign in to reply