Solved

SQL 2008 database migration

Posted on 2014-01-23
3
433 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 500 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 42

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Pivot table 2 42
Amazon AWS Windows with SQL Web For Business Application 3 31
SQL Consolidate rows 3 24
online  environment for testing sql queries 5 29
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

735 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