- Veeam Support Knowledge Base
- How to migrate Veeam Backup & Replication or Veeam Backup Enterprise Manager
How to migrate Veeam Backup & Replication or Veeam Backup Enterprise Manager
| KB ID: | 1889 |
| Product: | Veeam Backup & Replication | 12 | 12.1 | 12.2 |
| Published: | 2014-05-29 |
| Last Modified: | 2026-08-10 |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Veeam Backup & Replication Migration
Details regarding Veeam Backup & Replication migration are now fully documented in the product user guide.
Please review the following documentation:
Other Migration Types:
- Migrating Veeam Backup & Replication Configuration Database to Another SQL Server
- Migrating Veeam Backup & Replication Configuration Database to PostgreSQL Server
- How to Move Veeam Backup & Replication Backup Files
Veeam Backup Enterprise Manager Migration
This article documents migration by moving the Veeam Backup Enterprise Manager software or its configuration database to a different machine. The migration procedures in this article are intended only for moving from and to the same database engine.
For information about migrating the Veeam Backup Enterprise Manager configuration database from Microsoft SQL Server to PostgreSQL, please review KB4409.
Note: Migration of the Veeam Backup Enterprise Manager configuration database from PostgreSQL to Microsoft SQL Server is not supported.
Starting with Veeam Backup Enterprise Manager 12, the installer automatically deploys and uses PostgreSQL. It is possible to customize the installer settings to use an existing Microsoft SQL Server Instance, but the installer no longer has the option to deploy a new Microsoft SQL Server Express Instance.
Review the following Limitations & Considerations before migrating Veeam Backup Enterprise Manager 12 or newer to a different machine:
- The database engine (Microsoft SQL Server or PostgreSQL) used by Veeam Backup Enterprise Manager and all Veeam Backup & Replication servers it manages must match.
- If you are migrating Veeam Backup Enterprise Manager to a new server, and the old Veeam Backup Enterprise Manager install was using Microsoft SQL Server, you must manually install Microsoft SQL Server Express on that new machine. During the installation, customize the Veeam Backup Enterprise Manager installer settings to use that SQL Instance. Failure to select an existing Microsoft Server SQL Instance during the installation will cause the Veeam Backup Enterprise Manager installer to deploy PostgreSQL, causing that new deployment of Veeam Backup Enterprise Manager to be unable to manage the Veeam Backup & Replication servers that are still using Microsoft SQL Server.
- If you want to use an existing PostgreSQL instance, you must ensure that that instance can use sufficient resources. For more information, see Configuring PostgreSQL Instance.
- If Veeam Backup Enterprise Manager is storing its configuration database on a Microsoft SQL Server Instance, you must ensure that if you deploy a new Veeam Backup & Replication server, it too must use Microsoft SQL Server. Failure to match the database engine will prevent Veeam Backup Enterprise Manager from managing that Veeam Backup & Replication server.
Migrate Veeam Backup Enterprise Manager and its Configuration Database
When migrating the Veeam Backup Enterprise Manager deployment from one machine to another and using version 12.x or 13.x consider the following:
- For Veeam Backup Enterprise Manager versions 12.0 and 12.2, if the mail server settings are configured, you must contact Veeam Support after completing the migration steps in this article for assistance with clearing the email client settings in the configuration database (reference Issue ID# 614693).
- For Veeam Backup Enterprise Manager version 12.1, you must either contact Veeam Support before migration for specific steps and database modifications that must occur or upgrade to the latest version of Veeam Backup Enterprise Manager (12.2 at the time of writing) and review the prior bullet point.
- For Veeam Backup Enterprise Manager version 13.x, you must contact Veeam Support before migration for specific steps and database modifications that must occur.
Use case examples:
- Veeam Backup & Replication and Backup Enterprise Manager were installed on the same machine, and you want to move Backup Enterprise Manager off to its own server.
- You want to move Backup Enterprise Manager and its configuration database to a new server.
- Export all Keysets from the old Veeam Backup Enterprise Manager web console. Take note of which keyset was Active
- Stop the following services on the old Veeam Backup Enterprise Manager server.
- Veeam Backup Enterprise Manager
- Veeam Guest Catalog Service
- Veeam RESTful API Service
Note: On combined VBEM and VBR deployments, there are two Veeam services with RESTful API in their name. Stop the one named Veeam RESTful API Service, not the one named Veeam Backup Server RESTful API Service.
- Back up the old Veeam Backup Enterprise Manager configuration database.
Refer to KB1471: How to Manually Back up Veeam Configuration Databases - Uninstall Veeam Backup Enterprise Manager from the old server.
- If Veeam Backup Enterprise Manager was installed on the same server as Veeam Backup & Replication, at this point, all Veeam services on the old server may be started.
- Install Backup Enterprise Manager on the new server.
Critical Note: If the old Veeam Backup Enterprise Manager server was hosting the configuration database on Microsoft SQL Server, and you are installing Veeam Backup Enterprise Manager v12 or newer, you must select the "Customize settings" option during installation and specify an existing Microsoft SQL Server Instance. If there is no existing Microsoft SQL Server Instance on the machine where you are migrating Veeam Backup Enterprise Manager, you must install Microsoft SQL Server Express yourself. - Stop the following services on the new Veeam Backup Enterprise Manager server.
- Veeam Backup Enterprise Manager
- Veeam Guest Catalog Service
- Veeam RESTful API Service
- Restore the backup of the old VeeamBackupReporting database over the new database created during the installation of Veeam Backup Enterprise Manager
- If the configuration database was hosted on Microsoft SQL Server, use SSMS to restore the backup.
Note: Enable "Overwrite the existing database" in the Restore Database > Options menu of SSMS - If the configuration database was hosted on PostgreSQL, we recommend using pgAdmin to restore the backup.
Note: Enable "Clean before restore" in the Query Options tab of the Restore Dialog.
- If the configuration database was hosted on Microsoft SQL Server, use SSMS to restore the backup.
- Using the dbconfig tool on the new server, reconfigure Backup Enterprise Manager to use the restored database. The tool will prompt stating that the database is in use by the old Backup Enterprise Manager server. Select Yes to update the database ownership to the new server.
- At this point in the migration, there will be keysets visible in the Veeam Backup Enterprise Manager web console, but they are invalid. You must do the following to replace each keyset:
- Import Keyset(s) from the old Backup Enterprise Manager server.
- Set whichever keyset was Active in the old Backup Enterprise Manager console to be Active.
- Delete the corresponding invalid keyset that was replaced by the import process.
- Update passwords for each connected Veeam Backup & Replication server.
Reference Veeam KB1900 for information about password locations to update in Backup Enterprise Manager. -
(Optional) Compare the following registry keys on the old and new Veeam Backup Enterprise Manager servers to identify if any custom registry values need to be brought to the new Veeam Backup Enterprise Manager server.
- HKLM\SOFTWARE\Veeam\Veeam Backup Catalog
- HKLM\SOFTWARE\Veeam\Veeam Backup Reporting
- (Veeam Backup Enterprise Manager 12.0 & 12.2) If the mail server settings were configured prior to migration, you must contact Veeam Support for assistance with clearing the email client settings in the configuration database (reference Issue ID# 614693).
Migrate Veeam Backup Enterprise Manager to a new machine, but keep the Configuration Database in place
When migrating the Veeam Backup Enterprise Manager deployment from one machine to another and using version 12.x or 13.x consider the following:
- For Veeam Backup Enterprise Manager versions 12.0 and 12.2, if the mail server settings are configured, you must contact Veeam Support after completing the migration steps in this article for assistance with clearing the email client settings in the configuration database (reference Issue ID# 614693).
- For Veeam Backup Enterprise Manager version 12.1, you must contact Veeam Support before migration for specific steps and database modifications that must occur or upgrade to the latest version of Veeam Backup Enterprise Manager (12.2 at the time of writing) and review the prior bullet point.
- For Veeam Backup Enterprise Manager version 13.x, you must either contact Veeam Support before migration for specific steps and database modifications that must occur.
Use case examples:
- Veeam Backup Enterprise Manager is presently installed and uses a dedicated SQL server to host its configuration database, and you want to move Veeam Backup Enterprise Manager to a new machine and resume the connection to the existing configuration database.
Before you begin, please note that this type of migration requires sufficient experience in ensuring that the existing SQL Instance is configured to allow the new Veeam Backup Enterprise Manager deployment to connect remotely.
- Export all Keysets from the old Veeam Backup Enterprise Manager web console. Take note of which keyset was Active
- Uninstall Veeam Backup Enterprise Manager from the old server.
- Install Backup Enterprise Manager on the new server.
The installer will deploy a local PostgreSQL instance, which will be used for the new deployment, but in the later steps, you will reconfigure Veeam Backup Enterprise Manager to utilize the existing database that remains on the old SQL Instance.
Critical Note: If the old Veeam Backup Enterprise Manager server was hosting the configuration database on Microsoft SQL Server, and you are installing Veeam Backup Enterprise Manager v12 or newer, you must select the "Customize settings" option during installation and specify an existing Microsoft SQL Server Instance. If there is no existing Microsoft SQL Server Instance on the machine where you are migrating Veeam Backup Enterprise Manager, you must install Microsoft SQL Server Express yourself. - Stop the following services on the new Veeam Backup Enterprise Manager server.
- Veeam Backup Enterprise Manager
- Veeam Guest Catalog Service
- Veeam RESTful API Service
- Using the dbconfig tool on the new server, reconfigure Backup Enterprise Manager to use the existing database. The tool will prompt stating that the database is in use by the old Backup Enterprise Manager server. Select Yes to update the database ownership to the new server.
When reconfiguring Veeam Backup Enterprise Manager to reuse an existing SQL Instance, you may need to update the remote SQL instance's configuration to allow access.
For example, by default, the PostgreSQL instance created by Veeam Backup Enterprise Manager will have been configured to deny all non-local connections. To access that instance remotely, you will need to update the PostgreSQL configuration files to accept remote connections.
- At this point in the migration, keysets will be visible in the Veeam Backup Enterprise Manager web console; however, they will be invalid. You must do the following to replace each keyset:
- Import Keyset(s) from the old Backup Enterprise Manager server.
- Set whichever keyset was Active in the old Backup Enterprise Manager console to be Active.
- Delete the corresponding invalid keyset that was replaced by the import process.
- Update passwords for each connected Veeam Backup & Replication server.
Refer to Veeam KB1900 for information on password locations to update in Backup Enterprise Manager. -
(Optional) Compare the following registry keys on the old and new Veeam Backup Enterprise Manager servers to identify if any custom registry values need to be brought to the new Veeam Backup Enterprise Manager server.
- HKLM\SOFTWARE\Veeam\Veeam Backup Catalog
- HKLM\SOFTWARE\Veeam\Veeam Backup Reporting
- (Veeam Backup Enterprise Manager 12.0 & 12.2) If the mail server settings were configured before migration, you must contact Veeam Support for assistance with clearing the email client settings in the configuration database (reference Issue ID# 614693).
Migrate the Veeam Backup Enterprise Manager configuration database to an existing SQL Instance but keep the software in place.
Use case example:
- You want to keep Backup Enterprise Manager installed where it is, but shift from using the default local SQL instance to a dedicated SQL server's instance. (SQL Requirements | Permissions Requirements)
- Stop the following services on the Backup Enterprise Manager server.
- Veeam Backup Enterprise Manager
- Veeam Guest Catalog Service
- Veeam RESTful API Service
- Back up the old Backup Enterprise Manager configuration database (VeeamBackupReporting).
- Restore the backup of the old VeeamBackupReporting database to the new MSSQL\PGSQL server.
- For Microsoft SQL Server, use SSMS to restore the backup.
- For PostgreSQL, we recommend using pgAdmin to restore the backup.
If you want to use an existing PostgreSQL instance, ensure that the instance can use sufficient resources. For more information, see Configuring PostgreSQL Instance.
- For Microsoft SQL Server, use SSMS to restore the backup.
- This step can be skipped if native Microsoft SQL\PostgreSQL authentication will be used for the remote connection.
If the database was restored to a Microsoft SQL Server instance that uses Windows Authentication or a PostgreSQL server that utilizes SSPI Authentication, the services associated with Enterprise Manager must be configured to 'Log on as' using an account that has the appropriate permissions to connect to the Microsoft SQL Server or PostgreSQL server. Below are the services that must be modified before continuing to the next step:- Veeam Backup Enterprise Manager
- Veeam Guest Catalog Service
- Veeam RESTful API Service
- Using the dbconfig tool reconfigure Backup Enterprise Manager to use the restored database.
- Start all Veeam services on the Backup Enterprise Manager server.
%programdata%\Veeam\Setup\TempIf this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.