Solved

Make a local copy of a MSSQL DB

Posted on 2006-11-08
8
382 Views
Last Modified: 2010-05-18
I've been running our website off a MSSQL database, running off a server in the same place as the HTTP server.

When testing new features, our local copy of the database accesses the remote database server. This causes two problems:
1. It's very slow due to everything being sent over the internet
2. It makes testing new data features difficult as they have to use the live DB

Therefore, I'd like to make a local copy. We don't have any licenses of SQL Server and don't really want to run it either. I'd prefer MSSQL Express 2005 as its a lot lighter. Is there any way to move the current structure from the remote DB to a MSSQL Express DB?
0
Comment
Question by:OliWarner
8 Comments
 
LVL 18

Accepted Solution

by:
rbrooker earned 100 total points
ID: 17901002
you should be able to take a backup and restore it to the 'lite' version, although, the lite version has no gui, it is all command line.
you might also run into size restrictions, i think mssql express is limited to 4gb
0
 
LVL 16

Author Comment

by:OliWarner
ID: 17901128
4gig isn't an issue... its nearer 20meg =)

just getting a DB backup now so I'll post back then
0
 
LVL 21

Assisted Solution

by:Kevin3NF
Kevin3NF earned 100 total points
ID: 17902282
best is to set up the same version and SP/hotfix level to ensure true compatibility.  What version is the live server?
0
 
LVL 16

Author Comment

by:OliWarner
ID: 17902329
Well as I said, I don't want to deploy an entire server for the sake of a 20meg DB. So I'd rather use Express as its a lot lighter on its toes.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Assisted Solution

by:t2wei
t2wei earned 100 total points
ID: 17904617
There is a free version of SQL server:MSDE (Microsoft SQL Server Desktop Engine),  you can download from http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=413744D1-A0BC-479F-BAFA-E4B278EB9147

I do not know the version of your live DB (SQL server 2000 or SQL server 2005), But I think both versions are available in MSDE

Also If you have a licence for SQL server on your live server, you can install the tools for the SQL server on your PC, and you can use the tools to link to your MSDE too.
0
 
LVL 5

Assisted Solution

by:MrNetic
MrNetic earned 100 total points
ID: 17904923

The best recomendation to achive your results, is to backup the Prod Database, and restore it to MSDE ( 2000 Version ).

You could also use MSSQLSERVER 2005 Express Editon, but you should leave de Database Compatibily Mode = 80.

Best Regards,

Paulo Condeça.
0
 
LVL 4

Assisted Solution

by:hclgroup
hclgroup earned 100 total points
ID: 17908520
rbrooker

MS SQL Server Express Edition does have a GUI Management Tool
0
 
LVL 18

Expert Comment

by:rbrooker
ID: 17908540
excellent :)

i have used msde 2000, thought that express would be similar...
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Suggested Solutions

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

21 Experts available now in Live!

Get 1:1 Help Now