AA-2762: Bug Fixes for recent issues on Backup & restore

Review Request #827 — Created April 25, 2025 and updated

apoorva.sn
AMP
amp_3_7
AA-2762
pmurugaiyan, prajesh, shuinvy

Problem

  1. AMP operation log does not contain entries for whether scheduled backups were completed successfully or failed.
  2. For scheduled backup the 'backup_taget' is not returned as part of the GET response

Solution

  1. Made changes to add the audit log entried for both backup and restore
  2. 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"
}

Loading...