Migrating Veeam Backup & Replication to Another Server
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.
Mind the following:
If you want to migrate Veeam Backup & Replication to another server, perform the following steps:
- Stop running jobs and disable scheduled jobs.
- Save registry keys that you changed or created.
- Back up the configuration database of Veeam Backup & Replication.
- Install Veeam Backup & Replication on the target machine.
- Restore the configuration database from the backup.
- Finish the configuration.
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.
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.
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.
Back up the configuration database of Veeam Backup & Replication. For instructions, see Running Configuration Backups Manually.
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.
Use the native feature of Veeam Backup & Replication to restore the configuration database from the backup created in Step 3.
- On the target backup server, log in to the Veeam Backup & Replication console. For details, see Logging in to Veeam Backup & Replication.
- From the main menu of the Veeam Backup & Replication console, select Configuration Backup.
- In the Restore section, click Restore to launch the Configuration Database Restore wizard.
- 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.
- At the Configuration Backup step of the wizard, specify the backup file of the configuration database
- From the Backup repository drop-down list, select This server.
- Click Browse to specify the backup file location.
This backup file has been created in Step 3. You must copy the backup file to the target Veeam Backup & Replication server beforehand.
- 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.
After you restore the configuration backup, finalize the configuration:
- If you created custom registry keys or changed the existing ones on the previous backup server, you must recreate or change the registry keys again manually on the target backup server. You can import saved keys using the reg import command or Registry Editor.
- If you have local repositories, after migration to another VM they may be displayed as empty. In this case, add them again and remap the jobs.
- Enable your backup jobs and backup copy jobs. Take a closer look at your backup infrastructure to ensure that everything is working as expected.
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.