VMware: vCenter Datamigration: Msg 3013, BACKUP DATABASE is terminating abnormally
One of my colleagues was migrating vCenter 4.0 database to vCenter 4.1 by using the Datamigration Tool located at the vCenter Installation CD. After running the Backup.bat script he received the following error:
DB logs: Msg. 3013, Level 16, State 1, Server <name> , Line 1 BACKUP DATABASE is terminating abnormally
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections..
Note: To verify some of these settings, it is necessary to install Microsoft Studio Manager Express on the source server (the server you are migrating from). You can download this utility from the Microsoft Download Center.
Ensure that the SQL Server service itself is running on the existing vCenter Server. Having this service disabled or not running can cause this issue and prevent the script from running. To ensure that it is running:
Click Start > Run, type services.msc and click OK.
Right-click SQL Server (SQLEXP_VIM), then click Start.
Ensure that there are no firewalls blocking access to the SQL Server instance on the vCenter Server. If you are unsure, disable these services during migration, or make an exception on your firewall to allow this service to run. Ensure that TCP Port 1666 is allowed access to the service. Configuring specific firewalls is beyond the scope of this article. Consult your firewall vendor for more information.
Ensure that Named Pipes and TCP/IP protocols are enabled on the server. To ensure they are enabled:
Launch the SQL Server Configuration Manager utility and go to SQL Server 2005 Network Configuration.
In the left-hand pane, highlight Protocols for SQLEXP_VIM.
In the right-hand pane, right-click Named Pipes and select Enable, then right-click TCP/IP, and select Enable
On the IP Address tab, ensure that Enable is set to Yes for each network adapter that is listed.
Click OK to close the TCP/IP Properties dialog.
In the left-hand pane, select SQL Server 2005 Services, right-click SQL Server (SQLEXP_VIM), then click Restart.
Ensure there are no Invalid entries in the Named Pipes Protocol under SQL Server 2005 Network Configuration. To check if there are invalid entries:
- Launch the SQL Server Configuration Manager utility and navigate to SQL Server 2005 Network Configuration.
- Click Protocols for SQLEXP_VIM and then double-click Named Pipes in the right panel.
- On the Protocol tab, notice the value of the Pipe Name item. If the value contains an entry similar to \\.\pipe\MSSQL$SQLEXPRESS\sql\query , rename the entry to \\.\pipe\sql\query .
9 thoughts on “VMware: vCenter Datamigration: Msg 3013, BACKUP DATABASE is terminating abnormally”
Sander is the greatest!!!
first reply here, thanks
Nice sharing, thnx
Great blog post, I’ve been waiting for something like that =D
Great post! I want you to follow up to this topic
Thank you very much for this solution!
I motivated by you, your opinion and posts, again, thanks for this nice post.
Changing the Pipe Name did the trick for me, thx!