How to update ADManager Plus' built-in PostgreSQL database
Steps to update your ADManager Plus instance's PostgreSQL database
- Stop ADManager Plus by navigating to Start > All Programs > ADManager Plus > Stop ADManager Plus.
Note: If you have installed ADManager Plus as a Microsoft Windows service, stop the service by navigating to Start > Run > services.msc > ManageEngine ADManager Plus > Stop.
- Navigate to <Installation Directory>\ADManager Plus\bin and execute the backupDB.bat file to back up the database of your current installation. This will create a folder called Backup inside ADManager Plus' installation folder (<Installation Directory>\ADManager Plus\Backup), which will contain your database backup file (e.g., OfflineBackup_20161129235853.ezip).
Note:
- You can also do this by running Command Prompt as an administrator, navigating to <Installation Directory>\ADManager Plus\bin, and executing the backupDB.bat file.
- ADManager plus uses a CryptTag value as its default database backup file password for enhanced protection, and this can be found in the customer-config.xml file.
- Make a copy of the following folders and files:
- Archive, ES, and esdata folders from the installation folder of your existing ADManager Plus instance (<Installation Directory>\ADManager Plus).
- Customer-config.xml file of your existing ADManager Plus instance from the <Installation Directory>\ADManager Plus\conf folder.
- If you are going to install your new ADManager Plus instance on the same server,
- Now, download and install the latest build of ADManager Plus from here. Do not start the product after installation. This can be done by unchecking the Start ADManager Plus in console mode option in the setup window.

- Paste the copied Archive, ES, and esdata folders in the installation folder of your new ADManager Plus instance (<Installation Directory>\ADManager Plus).
- Locate and replace the new customer-config.xml file with the copied customer-config.xml file from step 3.
- Obtain the backup file of your old instance and paste it in the bin folder (<Installation Directory>\ADManager Plus\bin) of your new ADManager Plus instance.
- Restore the database backup by running Command Prompt as an administrator, navigating to <Installation Directory>\ADManager Plus\bin and executing the batch file, restoreDB.bat, in the following format:
restoreDB.bat backupFileName -p
(e.g., restoreDB.bat OfflineBackup_20230215191814.ezip -p)
- When you are prompted for a password, copy and paste the CryptTag value from the customer-config.xml file of your old instance. The CryptTag value is the default database password and is used only when a password is not specified in the Security and Privacy settings of ADManager Plus.

- Now start the product.
Steps to check your PostgreSQL database's version
- If you are running ADManager Plus build 7150 and above:
- Log in to ADManager Plus and navigate to Support.
- Under Upload Logs, click More.
- Under Product Information, find the Database type.
- If you're running other ADManager Plus build versions:
- Navigate to <Installation Directory>\ADManager Plus\pgsql\bin.
- Execute the following command:
psql.exe -V
New to ADSelfService Plus?
Related Articles
How to apply the service pack to update ADManager Plus
You can update ADManager Plus to a higher version by applying the appropriate service pack downloaded from this page. Note: It's recommended to take a server snapshot before proceeding with the steps below. This can be done by zipping the product ...
Integrate ManageEngine ADManager Plus and JumpCloud for seamless employee life cycle management
The challenge In enterprises, human resources (HR) teams work in tandem with other teams to provision accounts for new hires and deprovision accounts when employees leave. Apart from user account provisioning and deprovisioning, there will be timely ...
How to integrate ADManager Plus with AWS SQL database
ADManager Plus can be integrated with a list of databases to facilitate efficient AD management. This specific integration with AWS SQL database allows administrators to synchronize data from AWS SQL to AD to efficiently provision user accounts and ...
How to integrate ADManager Plus with Azure SQL database
ADManager Plus can be integrated with a list of databases to facilitate efficient AD management. This specific integration with Azure SQL database allows administrators to synergistically manage AD objects from their Azure SQL instance itself. ...
How to synchronize ADManager Plus with Active Directory?
Objective: To refresh ADManager Plus by synchronizing its database with Active Directory. Steps to synchronize ADManager Plus with Active Directory Note: By default, ADManager Plus will automatically sync with AD (User, Groups, Computer, Contact and ...