Solved

Can I restore/convert a SQL Server 2008 R2 backup to be able to use in SQL Server 2008?

Posted on 2012-03-28
3
356 Views
Last Modified: 2012-06-22
I have a SQL Server 2008 Express server installed for a development database.  

I am testing a web project for a client and his database is SQL Server 2008 R2 and I want to import his database into my test server for testing until we go live.

Is this possible?  Or will I have to upgrade to 2008 R2 . . .and if so how difficult would this be?  I'm a programmer and know my way around the SQL server management studio (enough to be dangerous anyway).  But I didn't install the software to begin with and don't know much about the installation or upgrade process.

Thanks for any input!

Lynn
0
Comment
Question by:lthames
3 Comments
 
LVL 1

Accepted Solution

by:
mikho earned 250 total points
ID: 37779341
You cannot restore a database from a newer version into an older version.

Start the installation, if you dont get the question if you want to upgrade your current installation then install the R2 as a second instance (new instance name) and restore your database there.
0
 
LVL 10

Assisted Solution

by:sqlservr
sqlservr earned 250 total points
ID: 37781415
option 1
Generate the script
you can do this by generating the scripts of the current database to the older version of database.
select script data.


option 2 .
just script the tables of the database
use import option to import the data,my experience says this option is faster
is any primary key in the table
just use set identifyinsert off
0
 

Author Closing Comment

by:lthames
ID: 37782259
Both responses were helpful in figuring out what I should do.

The final answer was to install SQL Server 2008 R2 and restore the backup, then use the export wizard to export the entire database to the SQL Server 2008 database.  

Worked like a charm.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

770 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