Hello,
I would like to move a vCenter database from a SQL Server 2008 R2 express to a SQL Server 2008.
I tried to backup the DB on the SQL 2008 R2 express, copy it to the other SQL server, create an empty database on the destination server and then restore the DB. I had a issue doing this because the versions of both SQL server is not the same.
My question is is it possible to restore a DB from a SQL Server 2008 R2 express to a SQL Server 2008? If yes, how can I do this? If not, what are the other options for me? Is is possible to create an empty database and connect the vCenter on it?
Regards,
Have you reviewed this document - http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=102860...
Hello weinstein5,
I think the issue might be about the SQL version. See the error message bellow :
"System.Data.SqlClient.SqlError: The database was backed up on a server running version 10.50.2500. That version is incompatible with this server, which is running version 10.00.5841. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.Smo)"
Is there any other way to restore the database from a SQL Server 2008 R2 Express to a SQL Server 2008? Can I create a brand new database and connect the vCenter to it?
Regards,
Hello,
I already tried this and there is no way to restore the database as there is a compatibility issue. I want to move a database from SQL Server 2008 R2 Express to SQL Server 2008. See the error message above for more details.
Is there any other way to restore the database from SQL Server 2008 R2 Express to SQL Server 2008? Can I create a brand new database and connect the vCenter to it?
Regards,
"Can I create a brand new database and connect the vCenter to it?"
Not if you want to lose all the data in the tables there. Just curious, is this a huge setup with lots of rules/customizations? If not, it would be easier to build one from scratch.
Regards
Girish
I don't mind losing all the perforamance data. There is not that much rules/customizations, but we use distributed vswitch. Can it be an issue if a create a new database?
Regards,
Hi,
Of course it is an issue. I do think your operation is : moving ESXi hosts from one vCenter to another.
I think that, if migrating from 2008 R2 Express to 2008 Standard is that important for you, you may have to follow these steps :
- Prepare a new vCenter Server, connecting to your SQL 2008 Standard. If your currently using SSO 5.5, install this new SSO as a member of an existing site
- Migrate from vDS to vSwitch all your VMs and hosts, disconnect them all from the current vCenter
- Connect all your hosts to your new vCenter
- Configure all as it was previously
I don't think you will be able to restore a DB configured on 2008 R2 (even express) to 2008 standard.
Also, if you don't want to install a new VM for a new vCenter, you may try to create your new SQL DB with the vCenter DB creation script that are in the installation package and reconfiguring your ODBC connector to connect to the new SQL DB. But, you will still have to move your hosts to vSwitch, reconnect your hosts to this "new" vCenter and reconfigure all.
Hope it helps.
Ludovic
have a look at this post
Migrating vCenter Database Express to SQL 2008 R2 Part3 | vm-blog.info
-
mK3
To move SQL Server databases used by vCenter Server to a new location:
6. Start the VMware VirtualCenter Server and VMware Update Manager services.
it may necessary to update the vcdb.properties
file with the new SQL server if the SQL database name is referenced here. If this is not updated, the performance overview charts and the Storage Monitoring Service (SMS) may be affected after migrating the vCenter Server database
Why don't you just post the link to VMware KB: Moving the vCenter Server SQL database instead of copying parts of it and even removing links to detailed information!?
André
You're trying to restore from 2008 R2 Express to 2008 , this should be the main issue here . What if you just first upgrade from 2008 to 2008 R2