31547: Acronis Backup Advanced: Cleaning Acronis Management Server Database

Last update: 24-07-2017

Acronis Management Server database accumulates entries with completed activities and accepted alerts, and can reach considerable size because of this. To reduce the size of Acronis Management Server database you can use a special script to clean up older entries.


  1. Download the archive remove_history.zip
  2. Make sure there are no backups running on any machine managed by Acronis Management Server;
  3. Unzip the archive and copy its contents to the Acronis Management Server root folder:
    • Windows XP/2003: %ALLUSERSPROFILE%\Application Data\Acronis\AMS
    • Windows Vista/2008/7: %ProgramData%\Acronis\AMS
  4. Stop Acronis Management Server service: 
    • Hit Win+R to open the Run window. Type in services.msc and click OK;
    • In the Services window locate Acronis Management Server Service;
    • Right-click on the service and select Stop in the pop-up menu;
  5. Make sure the remove_history script files are in the AMS root folder:
  6. Execute the script remove_history.bat from the folder to which you unpacked the downloaded archive;

    You can provide optional argument to the script in the YYYY-MM-DD [HH:MM:SS] format and in this case only activities and alerts older than specified date will be removed. Otherwise all completed activities and accepted alerts will be removed. 

  7. Start Acronis Management Server service.

More information

See also: