?
Solved

SQL 2008 database migration

Posted on 2014-01-23
3
Medium Priority
?
484 Views
Last Modified: 2014-03-19
HI,
I am supposed to migrate or move the current database of sql 2008 to another server which has sql 2005 installed and hosts several production sql databases like blackberry server database and oracle.How should i go doing this without hampering the process.
0
Comment
Question by:Nkops
3 Comments
 
LVL 13

Accepted Solution

by:
Felix Leven earned 1500 total points
ID: 39802505
Not possible to restore a 2008 backup to a SQL 2005 server.

You can use the "Generate SQL Server Scripts" wizard to create a script (including schema and data) that you can run on SQL 2005 to create the database.

Explained here:
http://www.devx.com/dbzone/Article/40531
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 39802555
#1 You can't restore a higher version of SQL backup to a lower version (same for attach DB)

#2 your options:
  - generate db script (set sql 2008 db in 2005 (90) compatibility and make sure no sql 2008 elements were used (e.g. 2008 datatype)
 - run this script in 2005 (create Db there) and start pumping data there from 2008:
   SSIS export\import, linked servers, bcp in\out, etc

also do not forget to create logins on the destination server...
0
 
LVL 7

Expert Comment

by:meispisces
ID: 39802583
As mentioned in above comments, you cannot restore database from Higher version (in your case 2008) to Lower Version (in Version 2005) but you can definately create SSIS packages that will do the table creation as well as the copy paste of data for you.

Refer: https://ssisblog.wordpress.com/tag/how-to-perform-backup-and-restore-using-ssis/
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

864 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