Migrating Veeam Backup & Replication to Another Backup Server
If you need to migrate Veeam Backup & Replication to another backup 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.
Limitations and Considerations
Before you migrate the configuration database of Veeam Backup & Replication to another backup server, mind the following limitations and considerations:
- 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.
Migrating Veeam Backup & Replication
If you want to migrate Veeam Backup & Replication to another backup server, perform the following steps:
- Stop running jobs and disable scheduled jobs.
- Save registry values 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 values 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 values.
To save registry values, 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 values or changed the existing ones on the previous backup server, you must recreate or change the registry values 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 you use Veeam Backup & Replication to back up storage systems, after migration they will not be added to the backup infrastructure. In this case, you must re-add them after migration completes. For more information, see Integration with Storage Systems.
- If you use a hardened repository with immutability, after migration this server will not be available. In this case, you must specify single-use credentials for this repository again. For more information, see Editing Settings of Backup Repositories.
- If you use Linux hosts in your backup infrastructure, after migration these hosts and hosts that are associated with them will not be available. (For example, if you have a Linux host with the backup proxy role, the backup repositories to which this Linux backup proxy transfer during a backup job will not be available). In this case, you must open the Edit Linux Server wizard for the necessary Linux host, follow the steps of the wizard and click Finish.
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.