/How to rename a Veeam Backup Server

How to rename a Veeam Backup Server

Many times administrators need to rename their servers. This is a simple task in a Windows Server, but if you have Veeam Backup Replication already installed, then you will have some issues after you reboot the server. Veeam services will not start.

In this blog post, we will explain how to rename a Veeam Backup Server in a Windows Server and bypass the issues with Veeam Services.

As we know, Veeam Backup Server DB is a SQL Express. When Veeam Server starts its services, start and connect the Veeam Backup Server to the SQL database. If you change the Server name, then since Veeam still has the old name, it cannot connect to the DB instance.

This is what you get after your reboot your Veeam Server after changing the server name.

How to rename a Veeam Backup Server

And if you check the Veeam logs (that are located in C:\ProgramData\Veeam\Backup) you see something similar to this:

“[DB] Minimal supported database server version is 10.0.1600.22
[DB] Connecting to SQL Server (CurrentUser=[NT AUTHORITY\SYSTEM], ServerInstance=[OLD NAMEVeeamServer\VEEAMSQL2016], Options=[Direct])
[DB] Removing ‘Initial Catalog’ property from connection string
[DB|ERROR] Failed to connect to server . (Microsoft.SqlServer.Management.Common.ConnectionFailureException)
[DB|ERROR] Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. (System.Data.SqlClient.SqlException)
[DB] Disconnecting from SQL Server (ServerInstance=[OLD NAMEVeeamServer\VEEAMSQL2016])
[DB] Connection is terminated
[DB|ERROR] Unable to connect to SQL Server OLD NAMEVeeamServer\VEEAMSQL2016. Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. (Veeam.Backup.DBCreator.DatabaseException)
<06> Info Stop service status tracking.
<04> Error Failed to start service.

And Veeam Services are not started, even SQL Express service with the Veeam instance is running without any problem.

In the old Veeam versions, we need to change the regedit to fix this issue:

HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\SqlServerName
HKLM\SOFTWARE\Veeam\Veeam Backup Catalog\CatalogSharedFolderPath

How to fix it.

I have already talked about this issue a couple of years ago in old versions HERE. But now we can fix the problem without touching the regedit with the new Veeam tool “Configuration Database Connection.”

You can find this tool in Veeam Application Menu or installation folder:


Run the tool and fix the wrong connection server name.

For this case, we are only fixing Veeam Backup and Replication, but if you have other Veeam Products installed, like Enterprise Manager, you need to run the same process.

Select the product and click next.


Next, you check the Veeam Server name that is connected (in this case, the old server name) is.

If you try to click Next with the old server name, you will get a connection error.


Next, click the dropbox and let the Veeam tool find the SQL Server and select the right name.

Select the right server name and click Next.


If the Veeam Console (the first image of this article) is still open, you get this error. Close the console and try again.


Next, “Veeam Configuration Database Connection” starts to reconfigure your Veeam Backup and REplication and fix the DB connection when all is green click Next.


Next, all files were updated, and the connection to DB is fixed with the proper server name.

Now all Veeam Services started.


As we can see, Veeam did add this tool in the newest versions that smooth the process to fix this problem when renaming the Veeam Server.

I hope this information was useful.

Note: Share this article if you think it is worth sharing.

©2019 ProVirtualzone. All Rights Reserved




By | 2020-12-11T16:11:37+01:00 December 19th, 2019|Backups Posts, Partners, Veeam|2 Comments

About the Author:

I am over 20 years’ experience in the IT industry. Working with Virtualization for more than 10 years (mainly VMware). I am an MCP, VCP6.5-DCV, VMware vSAN Specialist, Veeam Vanguard 2018/2019, vExpert vSAN 2018/2019 and vExpert for the last 4 years. Specialties are Virtualization, Storage, and Virtual Backups. I am working for Elits a Swedish consulting company and allocated to a Swedish multinational networking and telecommunications company as a Teach Lead and acting as a Senior ICT Infrastructure Engineer. I am a blogger and owner of the blog ProVirtualzone.com


  1. theramblingtechie 20/10/2020 at 16:13

    Very helpful post, thank you. If only this information was as easy to find on the Veeam website!

Leave A Comment