# Restoring the backup file **Last Updated On**: 17 Jul 2026 **13 minutes read** Restoring from a backup replaces current data with the data from the backup file on your existing server or a new one. This is useful when it needs to be recovered from a problem, and return to a previous state. > **Warning** > **Restoring replaces all current data.** Any changes made after the backup date will be lost. If possible, create a backup of your current state before restoring. ## Before You Begin ### Prerequisites #### General Requirements - The Endpoint Central server must be **stopped** before restoring - Have the latest backup file ready and accessible on the server - Know the **backup password** (or have the recovery key from the recovery email's) - The backup must be from the **same build version** as your current installation - The backup must be from the **same database type**, cannot restore across different database types - Ensure at least **twice the size of the backup file** in free disk space - If a **Failover Server** is configured, stop the secondary server before restoring ### Database-Specific Requirements #### Bundled PostgreSQL No additional steps needed. The database is restored automatically. #### Remote PostgreSQL (Percona) ##### What needs to be ensured before restoring - The remote PostgreSQL server must be **running and reachable** from the Endpoint Central server - The PostgreSQL **major version must match** between the backup and the target server (e.g., PG 14.x → PG 14.x) - The backup must be from a **remote PostgreSQL setup** — you cannot restore a bundled PostgreSQL backup to a remote setup, or vice versa > **Note** > **Automatic safety backup:** Before making any changes, the system automatically takes a backup of the current database. If the restore fails, it will attempt to roll back automatically. Do not delete any temporary files until the restoration process is successful. #### Microsoft SQL Server ##### What needs to be ensured before restoring - The SQL Server database must be **running and reachable** - The SQL Server service account must have **read access** to the backup file location - Required database permissions must be configured — see [MSSQL Permissions](https://www.manageengine.com/products/desktop-central/help/server/mssql-permissions.html) for setup steps ## How to Restore 1. **Stop the Endpoint Central Service** Open Windows Services and stop the Endpoint Central service. Make sure it is fully stopped before continuing. 2. **Open the Backup Utility** Navigate to Endpoint Central installation folder: `\UEMS_CentralServer\bin` Double-click **backuprestore.bat** to launch it. 3. **Select the Restore Tab** Click on the **Restore** tab in the utility window. 4. **Select the Backup File** Browse to find and select the backup file required for restoring. 5. **Enter the Password** If the backup is protected, enter the password or recovery key. 6. **Start the Restore** Click **Restore** and wait for the process to complete. If there are any errors (version mismatch, database incompatibility, or permission issues), the utility will display the details — review and fix before retrying. 7. **Restart the Service** Start the Endpoint Central service and verify everything is working correctly. ![Restoring in Central server using the backup](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/server/restore-backup.webp) > **Warning** > **Failover Server (FOS) setups:** After the restore is complete, run `SyncSecondary.bat Restore` from the primary server's bin folder to sync the secondary server. ### Steps to Restore to a New Server Select your database type to see the full restoration steps: #### Bundled PostgreSQL 1. **Copy the Backup File** Copy the **latest backup file** to the desktop of the new server. 2. **Download and Install Endpoint Central** Download and install the **Endpoint Central EXE** from the [ManageEngine Archives](https://archives.manageengine.com/). The **build number** of the backup and downloaded EXE must be the same. If you are unable to find your build number, contact Endpoint Central Support. 3. **Stop the Server** Upon completion of the startup, stop the Endpoint Central server. 4. **Open the Backup-Restore Utility** Navigate to the server installation directory, access `\bin\` and invoke **backuprestore.bat**. This will open the Backup and Restore window. 5. **Enter the Backup Password** If you have encrypted your backup using a password, the same password needs to be furnished for restoration. 6. **Start the Server** Start the server after restoration of the database. #### Remote PostgreSQL (Percona) 1. **Copy the Backup File** Copy the **latest backup file** to the desktop of the new server. 2. **Download and Install Endpoint Central** Download and install the **Endpoint Central EXE** from the [ManageEngine Archives](https://archives.manageengine.com/). The **build number** of the backup and downloaded EXE must be the same. If you are unable to find your build number, contact Endpoint Central Support. 3. **Verify Remote PostgreSQL Connectivity** Ensure the remote PostgreSQL server is running and reachable from the new EC server on port **5432** (or your custom port). 4. **Stop the Server** Upon completion of the startup, stop the Endpoint Central server. 5. **Delete the Old Database on the Remote PostgreSQL Server** Connect to the remote PostgreSQL server and drop the existing **desktopcentral** database. Ensure no active connections remain to the database before dropping it. 6. **Run the Database Setup Wizard** Within the server installation directory, navigate to `\bin\` and execute **changeDBserver.bat**. 7. **Configure the Remote PostgreSQL Database** Once the **Database Setup Wizard** is invoked, perform the following: - Select **Database Type** as Remote PostgreSQL - Specify the **Host Name** of the remote PostgreSQL server - Specify the **Port** (default: 5432) - Provide the **database username and password** - Ensure that the option for **migrating data from existing database** is enabled 8. **Save and Start** Click **Save** — Endpoint Central server startup will be initiated. 9. **Stop the Server Again** Once the startup completes, stop the Endpoint Central server. 10. **Open the Backup-Restore Utility** Navigate to the server installation directory, access `\bin\` and invoke **backuprestore.bat**. This will open the Backup and Restore window. 11. **Enter the Backup Password** If you have encrypted your backup using a password, the same password needs to be furnished for restoration. 12. **Start the Server** Start the server after restoration of the database. #### Microsoft SQL Server 1. **Copy the Backup File** Copy the **latest backup file** to the desktop of the new server. 2. **Download and Install Endpoint Central** Download and install the **Endpoint Central EXE** from the [ManageEngine Archives](https://archives.manageengine.com/). The **build number** of the backup and downloaded EXE must be the same. If you are unable to find your build number, contact Endpoint Central Support. 3. **Stop the Server** Upon completion of the startup, stop the Endpoint Central server. 4. **Delete the Old Database** Delete the **desktopcentral** database from SQL Server. Ensure **desktopcentral.mdf** and **desktopcentral_log.ldf** files are deleted from the **DATA** folder of the SQL Server installation directory. 5. **Run the Database Setup Wizard** Within the server installation directory, navigate to `\bin\` and execute **changeDBserver.bat**. 6. **Configure the Database** Once the **Database Setup Wizard** is invoked, perform the following: - Select **Database Type** as SQL Server - Specify the **Host Name** where SQL Server is installed - Choose the **mode of authentication** - Specify the **domain name, user name, and password** - Ensure that the option for **migrating data from existing database** is enabled 7. **Save and Start** Click **Save** — Endpoint Central server startup will be initiated. 8. **Stop the Server Again** Once the startup completes, stop the Endpoint Central server. 9. **Open the Backup-Restore Utility** Navigate to the server installation directory, access `\bin\` and invoke **backuprestore.bat**. This will open the Backup and Restore window. 10. **Enter the Backup Password** If you have encrypted your backup using a password, the same password needs to be furnished for restoration. 11. **Verify SQL Server Connectivity** Ensure SQL Server is running and the EC database user has the required permissions. The SQL Server service account must have **read access** to the backup file location. 12. **Start the Server** Start the server after restoration of the database. > **Note** > The **patch repository** and **software repository** should be reachable from the system where the restoration takes place. Alternatively, execute `changeShareAccess.bat SWRepository=default,PatchStore=default` from the command prompt to change to the default location in the new setup. > **Tip** > **Version mismatch?** If you see an "Endpoint Central Server is not compatible" error, install the exact version that matches the backup, perform the restore, then upgrade to the latest build. > **Note** > If you are restoring a backup from an older version of Endpoint Central, upgrade to the latest build after the restore is complete.