This feature was added to allow CPM users to better understand whether Cleanup process ran successfully.
It can be found in the
“General Settings” tab.
Interval may be set to run every 1 to 24 hours.
timestamp will show the last time the Cleanup completed running.
Cleanup log shows the log of the last run. It provides information about which snapshots or
AMIs were deleted and of which type (Volumes, DR snapshots, DB snapshots etc)
The log may be
downloaded in csv format.
Will start running the cleanup process instantly, regardless of its scheduled
The bottom section
of the cleanup can help you to define:
Rotate single AMIs: How
often to rotate AMIs.
Keep deleted records: Whether to keep deleted records for a certain number of days.
Keep user audit logs: How long should the cleanup process keep audit logs.
Added in v2.1.3
Link to the Release Notes and the latest patch - https://support.n2ws.com/portal/kb/articles/release-notes-for-the-latest-v2-1-x-cpm-patch
Daily Summary/Cleanup Log may alert of false Cleanup issues
You may receive the following warning in Daily Summary or Cleanup Log: Warning - Cleanup did not mark any backups for deletion for policy DailyPolicy, because out of 3 completed backups, only 1 were marked as successful This warning may be triggered ...
Cleanup process may abort due to timeout
If Cleanup process doesn't end successfully, download the cpm logs and search for the following consecutive messages: ERROR: get_cleanup_data_request(.\common\agentapi_requests.py:146) failed calling url https://127.0.0.1:443/agentapi/cleanup/. ...
Cleanup process may end abruptly with UnboundLocalError after upgrade to v2.3.x
If Cleanup process doesn't complete successfully in v2.3.0/a/b, please download the logs and look for the below print: ERROR: _run_job…"cleanup_function (trigger: interval…, next run at: …" raised an exception Traceback (most recent call last): … ...
Cleanup may fail with the “UnboundLocalError: local variable 'res' referenced before assignment” error
Cleanup process may fail to delete out of retention backups with the following error: cleanup_function UnboundLocalError: local variable 'res' referenced before assignment If you have found this error in the logs, please upgrade to the latest 2.1.X ...
New feature - CPM now adds tags to snapshots and AMIs using a single API call
To reduce the number of API calls, CPM's behavior has been changed. When applying tags to snapshots, CPM will apply the tags using a single API call, rather than an API call per tag. Reference defect number - e5de964f41, fixed in v2.2.0 Link to ...