#1 Global Leader in Data Resilience

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: 2024-11-20
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

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

error icon

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:

 

Veeam Backup Enterprise Manager Migration

Migration Terminology Clarification
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 to PostgreSQL, please review KB4409.
Impact of changes in Veeam Backup & Replication/Veeam Backup Enterprise Manager 12

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 Instance, but the installer no longer has the option to deploy a new Microsoft SQL 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 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, you must manually install Microsoft SQL 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 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.
  • 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 Instance, you must ensure that if you deploy a new Veeam Backup & Replication server, it too must use Microsoft SQL. Failure to match the database engine will prevent Veeam Backup Enterprise Manager from managing that Veeam Backup & Replication server.
Expand the section below that best matches the type of Migration needed:
Migrate Veeam Backup Enterprise Manager and its Configuration Database
Upgrade Veeam Backup Enterprise Manager Before Migration
Due to improvements that have been made to Veeam Backup Enterprise Manager and to prevent issues that may hinder the ability to migrate the software, we strongly recommend that you upgrade Veeam Backup Enterprise Manager to the latest version available before attempting to migrate.
Support Assistance Required to Complete Migration

When migrating the Veeam Backup Enterprise Manager deployment from one machine to another and using version 12.x (12.0, 12.1, or 12.2) consider the following:

Moving Veeam Backup Enterprise Manager Will Necessitate Reentering Credentials
Credentials and keysets are encrypted in the configuration database in such a way that they become invalid if the Veeam Backup Enterprise Manager software is moved. Therefore, if you plan to move the Veeam Backup Enterprise Manager to a different machine, you must first export keysets and be ready to re-enter all credentials for connections to Veeam Backup & Replication servers managed by Veeam Backup Enterprise Manager. However, if you only relocate the Veeam Backup Enterprise Manager configuration database, the credentials and keysets will remain valid.

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.
  1. Export all Keysets from the old Veeam Backup Enterprise Manager web console. Take note of which keyset was Active
  2. 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.
  3. Back up the old Veeam Backup Enterprise Manager configuration database.
    Refer to KB1471: How to Manually Back up Veeam Configuration Databases
  4. Uninstall Veeam Backup Enterprise Manager from the old server.
  5. 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.
  6. 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, 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 Instance. If there is no existing Microsoft SQL Instance on the machine where you are migrating Veeam Backup Enterprise Manager, you must install Microsoft SQL Express yourself.
  7. Stop the following services on the new Veeam Backup Enterprise Manager server.
    • Veeam Backup Enterprise Manager
    • Veeam Guest Catalog Service
    • Veeam RESTful API Service
  8. Restore the backup of the old VeeamBackupReporting database over the new database created during the installation of Veeam Backup Enterprise Manager
  9. 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.
  10. 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:
    1. Import Keyset(s) from the old Backup Enterprise Manager server.
    2. Set whichever keyset was Active in the old Backup Enterprise Manager console to be Active.
    3. Delete the corresponding invalid keyset that was replaced by the import process.
  11. Update passwords for each connected Veeam Backup & Replication server.
    Reference Veeam KB1900 for information about password locations to update in Backup Enterprise Manager.
  12. (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
  13. (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 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)
  1. Stop the following services on the  Backup Enterprise Manager server.
    • Veeam Backup Enterprise Manager
    • Veeam Guest Catalog Service
    • Veeam RESTful API Service
  2. Back up the old Backup Enterprise Manager configuration database (VeeamBackupReporting).
  3. Restore the backup of the old VeeamBackupReporting database to the new SQL\PGSQL server.
    1. For Microsoft SQL, use SSMS to restore the backup.
    2. 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.
  4. This step can be skipped if native SQL\PostgreSQL authentication will be used for the remote connection.

    If the database was restored to a Microsoft SQL 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 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
  5. Using the dbconfig tool reconfigure Backup Enterprise Manager to use the restored database.
  6. Start all Veeam services on the Backup Enterprise Manager server.

 

If you have any issue during the migration of Backup Enterprise Manager, create a support case and include logs from %programdata%\Veeam\Setup\Temp
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.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.