Cleanup process may end abruptly with UnboundLocalError after upgrade to v2.3.x
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):
UnboundLocalError: local variable 'res' referenced before
you face this issue, please upgrade to latest 2.X.X version
defect number – N2WS-1683, fixed in v2.3.0c
Link to Release
Notes and the latest patch – https://support.n2ws.com/portal/kb/articles/release-notes-for-the-latest-v2-3-x-cpm-release
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 ...
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/. ...
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. The Cleanup Interval may be set to run every 1 to 24 hours. Last cleanup timestamp will show the ...
Upgrade instructions for v3.x/4.x
This guide outlines the steps required to upgrade to N2WS Backup & Recovery version 3.x/4.x We strongly recommend that you follow every step contained within this guide to ensure version 3.x/4.x is configured correctly and no data loss occurs. ...
CPM v3.0.x may launch unnecessarily large Cleanup workers, resulting in extra costs
CPM v3.0.x may launch unnecessarily large Cleanup workers, resulting in extra costs. In order to reduce the costs, please use the following procedure: Connect (via ssh) to the machine running cpm (you will need to execute "sudo -i" to gain the root ...