How can I take a back-up of Applications Manager data?

How can I take a back-up of Applications Manager data?

The following are the methods for backing up Applications Manager, check them and use the one appropriate to you: 

  • Via Script File
    Use the BackupMysqlDB.bat /.sh or BackupPGSQLDB.bat/.sh file available in <Applications Manager Home>/bin directory to take a backup copy inclusive of conf files of Applications Manager and the database backup. In this backup, we take configuration files of MySQL or PGSQL DB, Applications Manager tool, and data stored in DB. To restore these files back into Applications Manager you can use the RestoreMysqlDB.bat / .sh or RestorePGSQLDB.bat/.sh file in the same directory. Kindly refer to the help link. Applications Manager can be running while taking backup, but to restore we have to stop it.

  • DB backup alone (for MySQL backend only)
    Applications Manager stores all information of the resources it monitors in its database. Hence you can just copy the database folder. The database folder location is <Applications Manager Home>/working/mysql/data/AMDB. To restore this backup you just need to replace the backup copy in <Applications Manager Home>/working/mysql/data/ folder (rename the existing folder). Applications Manager must be stopped while copying the AMDB directory.

  • Complete Backup (for MySQL backend only)
    This method takes a complete backup of everything in Applications Manager. Like the DB, Conf files & patches are already applied in the build you are using. Here you just need to make a copy of the <Applications Manager Home> folder either zip it up or copy and paste it in a different location. To restore, just paste the backup copy to the same location (rename the existing folder). Applications Manager must be stopped while copying the <Applications Manager Home> directory.

If the Application Manager build is below 8010, please contact our team for assistance. 
Note: These steps are for MySQL / PgSQL backend database. If you are using MSSQL, take a backup of the corresponding database in your MSSQL server using steps in this after stopping Applications Manager. To take the configuration files alone as a backup, you can run BackupConfig.bat (sh) / RestoreConfig.bat (sh) available in <Applications Manager Home>/bin directory.

          • Related Articles

          • Maintenance of Applications Manager

            Applications Manager with MySQL database Open services.msc, stop “ManageEngine Applications Manager” service or via command prompt with administrator permission. If using command prompt, navigate to <Applications Manager Home> directory and execute ...
          • Connecting to Applications Manager's bundled database

            How can I connect to Applications Manager's back-end database? Note: Take a backup of the AppManager directory before modifying anything in the database. Check am.dbserver.type value in <Applications Manager Home>\conf\ file to ...
          • Applications Manager is not collecting data from Tomcat Server.

            If the proxy settings are configured wrong, then Tomcat Data collection will not happen correctly as Applications Manager uses HTTP requests for data collection from Tomcat Server. Check if you are able to access the Tomcat Server from browser in ...
          • Steps to configure Azure PostgreSQL Database as Applications Manager's back-end

            Applications Manager comes bundled with PostgreSQL. If you want to use your own PostgreSQL instead, follow the steps mentioned below: Prerequisites: A compatible PostgreSQL database should be accessible from Applications Manager installation. To know ...
          • How can I ensure that my HTTPS connection to Applications Manager is secure?

            Overview This article describes configuring a secure connection between Applications Manager server and the browser/client. Applications Manager can be accessed by any of the following URLs: For HTTP  -> http://[hostname/ip-address]:[http-port] For ...