Solved

Migrate SQL 2008 R2 Database to SQL Express

Posted on 2013-02-05
5
334 Views
Last Modified: 2013-02-20
Hello,

We are currently using SQL 2008 R2 in our VMware environment instead of SQL express.  We were looking at migrating our existing database from a seperate SQL 2008 Virtual machine to an instance of SQL Express on an our Vsphere Server as our environment is fairly small.  What would be the best way to migrate our database from SQL 2008 R2 to SQL Express?

We already attempted to install SQL Management Studio but receive a "Missing Instance ID" error and the searches preformed on migrating SQL databases are all referencing migrating from SQL Express to SQL Standard instead of the other way around.  

Thanks!
0
Comment
Question by:phonemate
5 Comments
 
LVL 23

Accepted Solution

by:
Nagendra Pratap Singh earned 125 total points
Comment Utility
There is a management studio for SQL express.

http://www.microsoft.com/en-in/download/details.aspx?id=7593
0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 125 total points
Comment Utility
Once you install the SMSSE provided earlier. or you can use the SSMS on the server from which you are transferring.
the instance name provided you enabled TCP/IP on the express version
machinename\sqlexpress unless you customized the instance.

You could need to install two stored procedures on the existing server
http://support.microsoft.com/kb/918992
These will help you create the sql logins that might be needed on the new express instance to access/tie into this database.

The following information you have to know ahead of time
How active is this database? Can access to it be taken down and for how long?
How can the application that accesses this database be reconfigured to point to the new database? Is it an ODBC DSN, or is access coded/included within the application configuration, registry, etc.

once you have that information, you can disable the application from being accessed when downtime for the app is scheduled. Backup the existing database. Copy the backup to the new database server. Restore the database from backup. adjust the application to point to the new instance.
This usually all that is needed.

Depending on the data within the database, you would need to manually setup backup mechanism.
0
 
LVL 20

Assisted Solution

by:Marten Rune
Marten Rune earned 125 total points
Comment Utility
You do need to check if you have any jobs related to databases. In that case you need to figure out if this can be run in an alternate way. I e windows scheduled task or equivalent.

You should also check if you have any stored procs thats been installed in the master database.

Regards Marten
0
 
LVL 38

Assisted Solution

by:Jim P.
Jim P. earned 125 total points
Comment Utility
Also look at transferring logins as well:

How to transfer logins and passwords between instances of SQL Server
http://support.microsoft.com/kb/918992
0
 

Author Closing Comment

by:phonemate
Comment Utility
Thank you for the feedback - this was a question on behalf of a customer and he has decided to keep what he has in place.  We did download the Management Studio, but did not get to the point of testing it out.  Thanks again for the fast responses
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VMWare 6 crashing 14 53
SQL 2012 Syntax Error 5 22
CHAP for iscsi 4 32
svMotion between two different datastore limitation ? 3 34
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now