将Veeam Backup & Replication迁移至另一台服务器

在本页面

    If you need to migrate Veeam Backup & Replication to another server, you can back up its configuration database, install Veeam Backup & Replication on the target server and restore the configuration data from the backup. As a result, you will have a new Veeam Backup & Replication server with all settings, jobs and backup infrastructure elements from the old server.

    Note

    Mind the following:

    • It is recommended that you use Veeam Backup & Replication tools to create configuration backups and migrate the configuration database. If you use native Microsoft SQL Server tools, after migration, some information, such as secure configuration data, may not be accessible.
    • This section gives instructions on how to migrate Veeam Backup & Replication together with its configuration database to another server. If you need to migrate only the configuration database, see Migrating Configuration Database to Another SQL Server.

    If you want to migrate Veeam Backup & Replication to another server, perform the following steps:

    1. Stop running jobs and disable scheduled jobs.
    2. Save registry keys that you changed or created.
    3. Back up the configuration database of Veeam Backup & Replication.
    4. Install Veeam Backup & Replication on the target machine.
    5. Restore the configuration database from the backup.
    6. Finish the configuration.

    Step 1. Stop and Disable Jobs

    Before you start the migration process, stop all running jobs and disable all scheduled jobs on the source backup server before you create the configuration backup.

    Note

    Do not start or enable any jobs until the migration of Veeam Backup & Replication is finished. If you start a job before migration is completed, Veeam Backup & Replication will produce a new restore point in the chain and update the chain metadata. The created configuration backup will not contain information about this new restore point. When you migrate data from the configuration backup to the database and start the job again, Veeam Backup & Replication will fail to synchronize the chain metadata with data in the database. As a result, the job will fail.

    Step 2. [Optional] Save Registry Keys That You Changed or Created

    If you have created new registry keys or changed the existing keys on the backup server, you will need to recreate the keys or change the keys manually after the migration. The configuration database does not store registry keys.

    To save registry keys, you can use the reg export command or you can use Registry Editor to save keys manually. For details, see Windows Documentation.

    Step 3. Back Up Configuration Database

    Back up the configuration database of Veeam Backup & Replication. For instructions, see Running Configuration Backups Manually.

    Step 4. Install Veeam Backup & Replication on Target Machine

    Install Veeam Backup & Replication on the machine on which you plan to move your source backup server. The machine must meet system requirements for a backup server.

    During installation, you need to specify a new database name to store the configuration data. You can select a Microsoft SQL Server instance on the local or remote server. It does not matter whether you select an existing instance or create a new one. In the next steps of this guide, you will restore the previous configuration data to the database selected at this step.

    For instructions on how to install Veeam Backup & Replication, see Installing Veeam Backup & Replication.

    Step 5. Restore Configuration Database from Backup

    Use the native feature of Veeam Backup & Replication to restore the configuration database from the backup created in Step 3.

    1. On the target backup server, log in to the Veeam Backup & Replication console. For details, see Logging in to Veeam Backup & Replication.
    2. From the main menu of the Veeam Backup & Replication console, select Configuration Backup.
    3. In the Restore section, click Restore to launch the Configuration Database Restore wizard.

    Migrating Veeam Backup & Replication to Another Server 

    1. At the Restore Mode step of the wizard, select Migrate.

    Before migrating the configuration backup, Veeam Backup & Replication performs an additional check. If the configuration backup does not meet the requirements, Veeam Backup & Replication will offer you an option to switch to the Restore mode.

    Migrating Veeam Backup & Replication to Another Server 

    1. At the Configuration Backup step of the wizard, specify the backup file of the configuration database
    1. From the Backup repository drop-down list, select This server.
    2. Click Browse to specify the backup file location.

    Note

    This backup file has been created in Step 3. You must copy the backup file to the target Veeam Backup & Replication server beforehand.

    Migrating Veeam Backup & Replication to Another Server 

    1. Complete the wizard as described in the Restoring Configuration Database section.

    Veeam Backup & Replication will rescan VM replicas, backup repositories and tape libraries connected to the backup server. The database will be updated to include information about new restore points, and subsequent job sessions will work in a proper way.

    Step 6. Finish Configuration

    After you restore the configuration backup, finalize the configuration:

    Note

    If the Veeam Backup & Replication server was added to the Veeam Backup Enterprise Manager or Veeam ONE infrastructure, you must re-add the backup server after you migrate it to another server.

    Related Topics

    Creating Configuration Backups