Backup AppMon settings and data

This page describes AppMon backup and disaster recovery.

AppMon Server and Collector settings and data backup


  1. Ensure that all components in the directory to be backed up are shut down, including the Server, Frontend Server and Collector.

  2. Use the dynatrace-migration tool to backup essential Server and Collector settings such as .ini and configuration files, and data such as Collector caches, dashboards, and custom Sensor packs.

  3. Create an archive using the first step in Data Migration as a guideline:

java -jar dynatrace-migration.jar -migration -sourceDTHome "<DT_HOME>" -targetArchiveDir "<archiveDir>"

Store the resulting backup file <archiveDir><Server_name>_<dateTime>.dtma in a safe location separate from the server.

Repeat this with each <Collector_home> for all separate Collector installations.


If you need to restore a backup, use the second step in Data Migration as a guideline. Install the Server and / or Collector component and restore settings and data with the following command:

java -jar dynatrace-migration.jar -migration -sourceArchive "<archiveDir>/<archiveFile.dtma>" -targetDTHome "<DT_HOME>"

Optional session store and Performance Warehouse backup

Session Store file backup is normally not needed. The data is very dynamic, of limited historical value, and the files are potentially large.

The situation is similar for the Performance Warehouse database, though older data in the Performance Warehouse is aggregated for better insights in the developments over time, which may warrant backup.

An AppMon upgrade may be the situation with the best argument for a backup if you want to keep your data, or be able to roll back in case something goes wrong. Otherwise the Session Store starts from scratch and a new Performance Warehouse database must be created.