68768: Acronis Cyber Protect 15: How to change Activities retention period

use Google Translate

Operating Systems: 

Last update: 04-06-2021

Solution

By default, Activities in Acronis Cyber Protect 15 are kept for 90 days.

If the retention period is extended, Management Server performance may degrade due to increased database size.

To change for how long the Activities are retained, do the following on the machine where Acronis Management Server is installed:

  1. If a protection plan is applied to the machine, temporarily disable Self-Protection: 
  2. Open the following file for editing: C:\Program Files\Acronis\TaskManager\task_manager.yaml
  3. Find the following text:

    database:
        connection-string: ""
        run-cleanup-at: "23:59"
        cleanup-batch-size: 10
        max-cleanup-retries: 10
        log-queries: false
        max-transaction-retries: 10
        shards:
            - connection-string: sqlite://task-manager.sqlite
              days-to-keep: 90
              space: "default"
              key: "00000000-0000-0000-0000-000000000000"
           - connection-string: sqlite://task-manager-ams-shard.sqlite
             days-to-keep: 1
             space: "ams"
             key: "00000000-0000-0000-0000-000000000000"

  4. Change days-to-keep value from 90 to a required number of days. Save changes to the file.

  5. Restart Acronis Service Manager service.

  6. Re-enable Self-Protection if it was disabled at step 1.

Tags: