ManageEngine® Applications Manager
By executing the scripts BackupPGSQLDB.bat/.sh and RestorePGSQLDB.bat/.sh, you can take a backup of the data and restore it when needed.
You will find the BackupPGSQLDB.bat/.sh under <Applications Manager Home/bin>
To back up data, execute the following command in command prompt:
the output (back up data) would be put under <working/backup/backupzip_date_time>
To restore the backup data, Execute the following command in command prompt
RestorePGSQLDB.bat/.sh <Absolute path of the zip file that was backed up on executing BackupDB script >
For eg., RestorePGSQLDB.bat/.sh "C:\AppManager11\working\backup\backupzip_Jan_3_2008_14_51_15\backupzip_Jan_3_2008_14_51_15.zip"
While restoring backup, Applications Manager and Applications
Manager's PostgreSQLDB should not be running.
In order to backup Web Service monitors, after executing the BackupPGSQLDB.bat/.sh take a back up of the <AppManagerHome>/working/users/WSM directory. To restore the same, after executing RestorePGSQL.bat/.sh, copy the backed up WSM directory to <AppManagerHome>/working/users directory.
You can configure a backup task with Task Scheduler as follows:
Configure the triggers and other information in the Task Scheduler. Please make sure you choose the option "Run whether the User is Logged On or Not" so that the Task runs irrespective of the fact that the user is logged on or not.
In the Actions, please configure it as follows
Program/Scripts : <AppManager_Home>\bin\BackupPGSQLDB.bat
Then save the task and test it to know if it works.
Bulk Configuration of Monitors