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.
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.
New to ADSelfService Plus?
Related Articles
Disable HTTP access in Applications Manager
Overview This article describes configuring a secure connection between Applications Manager server and the browser/client. Applications Manager can be accessed through any of the following URLs: For HTTP -> http://[hostname/ip-address]:[http-port] ...
Data Retention in Applications Manager
Following are the different types of data that are retained for generating reports in Applications Manager: Attribute data Polled data This comprises of the data collected for the attributes in each poll of the monitor. This data is used to generate ...
Connecting to Applications Manager's bundled database
Before you connect to Applications Manager's back-end database, it is important that you take a backup of the Applications Manager directory so that you don't make any changes/accidentally modify the database. Identify which database Applications ...
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 ...
Maintenance of Applications Manager backend database
Note: Please take complete database backup without fail prior to these steps. I. Applications Manager with PostgreSQL Database. Shutdown all Applications Manager related process as follows: For windows: Open services.msc --> stop ManageEngine ...