AA-2762: Bug Fixes for recent issues on Backup & restore
Review Request #827 — Created April 25, 2025 and updated — Latest diff uploaded
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| amp_3_7 | |
| AA-2762 | |
| Reviewers | |
| pmurugaiyan, prajesh, shuinvy | |
Problem
- AMP operation log does not contain entries for whether scheduled backups were completed successfully or failed.
- For scheduled backup the 'backup_taget' is not returned as part of the GET response
Solution
- Made changes to add the audit log entried for both backup and restore
- For scheduled backup made changes to store the backup_target in DB and show the it as part of REST API response
Tested that operation log is getting displayed in System->Administrator->Operation log
For scheduled back up GET response now contains 'backup_target'{
"day_of_the_month": 17,
"month": 4,
"frequency": "yearly",
"time": "17:56",
"day_of_the_week": null,
"backup_target": "remote"
}
