Veeam 8.0: move the software to a new server

veeam8movetoanewserver01

To move Veeam 8.0 software and database to a new server, there is a specific procedure you must follow to keep the configuration and the backups intact.

Before moving the DB, from the old server stop and disable all jobs and stop all Veeam services.

 

Backup Veeam database

When Veeam jobs and services have been disabled, the backup of current Veeam database is the first step to perform.

To find out where the VeeamBackup database is located, open Registry Editor on the old server and navigate to:

HKLM\SOFTWARE\Veeam\Veeam Backup and Replication

There are three DWORDs used to identify server, database and instance:

  • SqlServerName
  • SqlInstanceName
  • SqlDatabaseName

From the SQL server or from the old server, open the Server Management Studio and right click the VeeamBackup database. Select Tasks > Back Up to backup the DB.

veeam8movetoanewserver02

Specify the backup destination and click OK to execute the backup.

veeam8movetoanewserver03

Click OK when the confirmation window is displayed.

veeam8movetoanewserver04

Since the Veeam setup is configured to store both the application and the database in the same server, copy the DB to the new server.

veeam8movetoanewserver05

 

Restore Veeam DB

On the new server, Veeam suggests to install SQL Express 2014 for better performance even if SQL Express 2012 is included in the installation files.

To restore the copied database in the new server, open the Server Management Studio, right click the Databases item and select Restore Database option.

veeam8movetoanewserver06

Go to the backup file location and select the database backup file and click OK.

veeam8movetoanewserver07

Click OK to add the DB backup to restore.

veeam8movetoanewserver08

The restore is being performed on the new server.

veeam8movetoanewserver09

When the DB has been restored, click OK in the notification window.

veeam8movetoanewserver10

The restored database is now listed in the databases list.

veeam8movetoanewserver11

 

Install Veeam Backup & Replication on the new server

During the installation is recommended to use a dedicate service account to run Veeam. The service account must be added to Local Administrators group to complete the installation.

veeam8movetoanewserver12

Run the Veeam installer and select the Backup & Replication install option.

veeam8movetoanewserver13

Select Next to continue.

veeam8movetoanewserver14

Accept the EULA then click Next.

veeam8movetoanewserver15

Browse the license file to install and click Next to continue.

veeam8movetoanewserver16

Select the program features to install then click Next.

veeam8movetoanewserver17

If some requirements are not installed in the new computer, click Install button to deploy missing features.

veeam8movetoanewserver18

Missing features are enabled.

veeam8movetoanewserver19

When the system meets the requirements, click Next to continue the setup.

veeam8movetoanewserver20

Since the system has to point to the restored DB, enable the Let me specify different settings option then click Next.

veeam8movetoanewserver21

Select The following user account option and specify the User name and Password of the account for Veeam Backup & Replication service. Click Next.

veeam8movetoanewserver22

Select Use existing instance of SQL Server (HOSTNAME\INSTANCE) option. The default instance created during the SQL 2014 installation is presented together with the VeeamBackup database. Make the needed adjustments to match your configuration. Click Next to proceed.

veeam8movetoanewserver23

Click Yes to continue the installation.

veeam8movetoanewserver24

If you receive this error, it means the used database version is not correct. In the example the restored database was backed up from Veeam Backup & Replication Update 2b whilst the installation files refers to Veeam 8.0.

veeam8movetoanewserver25

 

Change database version

Set the version of the VeeamBackup database based on the version previously installed.

  • database from 8.0:   '1870'
  • database from 8.0 Update 2:   '2017'
  • database from 8.0 Update 2a:   '2018'

Use the follow query to set the correct database version:

Use VeeamBackup
UPDATE [Version] SET current_version = 'number'

Since the used installation files are from version 8.0, the database version must be set to '1870' in order to complete the installation.

From the Server Management Studio, create a new query and type the following commands:

Use VeeamBackup 
UPDATE [Version] SET current_version = '1870'

Click Execute to run the query. If no errors are displayed in the Messages area, the database version has been updated successfully.

veeam8movetoanewserver26

Now the Veeam installation can continue with the Port configuration. Leave default values then click Next.

veeam8movetoanewserver27

Specify the vPower NFS and Guest file system catalog locations then click Next.

veeam8movetoanewserver28

Enable Check for updates once the product is installed and periodically option and click Install.

veeam8movetoanewserver29

The application is being installed in the server.

veeam8movetoanewserver30

When completed, click Finish to exit the Wizard.

veeam8movetoanewserver31

 

Apply the latest patch

Once installed the application, apply the latest patch in order to keep the product up-to-date. Currently Update 2b is the latest patch released. Run the Installation Wizard then click Next.

veeam8movetoanewserver32

Click Install to apply the patch.

veeam8movetoanewserver33

The patch is being installed.

veeam8movetoanewserver34

When the patch has been installed, click Finish to exit the Wizard.

veeam8movetoanewserver35

If the Veeam service can't start due to wrong database version (check the logs), open the Server Management Studio and create a new query using the following commands to specify the database version related to Veeam 8.0 Update 2a (see above for codes):

Use VeeamBackup 
UPDATE [Version] SET current_version = '2018'

Click Execute to run the query. If no errors are displayed in the Messages area, the database version has been updated successfully.

veeam8movetoanewserver36

After changing the database version, the Veeam service started successfully.

veeam8movetoanewserver37

 

Manage credentials

To finalize the procedure, re-enter the password for every account.

Open the Veeam console.

veeam8movetoanewserver38

From the main screen, click on the first icon on the left side to access the options.

veeam8movetoanewserver39

Click Manage Credentials item to access the section.

veeam8movetoanewserver40

For each account, select the item and click on Edit button.

veeam8movetoanewserver41

Click Yes in the warning window.

veeam8movetoanewserver42

Type the correct password then click OK.

veeam8movetoanewserver43

In Backup Infrastructure section, under Managed servers area to servers are reported as Unavailable. After re-entered the passwords, right click the host reported as unavailable and select Rescan option.

veeam8movetoanewserver44

This time the server is rescanned successfully. Click Close to exit.

veeam8movetoanewserver45

All Managed servers are available again. Make sure all local drives that were being used as repositories on the old server are now attached with the same drive letters on the new server.

veeam8movetoanewserver46

After running a test job to make sure that everything works as expected, enable the configured backup jobs.

 

Update

Version 9 of Veeam Backup & Replication is available at Veeam website.

firma