Copy of Database Problem

Posted on 2011-05-02
Medium Priority
Last Modified: 2012-05-11
Hi Everyone,

I am trying to copy over a database from one database server instance to another. The first instance containing the database is SQL Server 2005 and the one I want to transfer it to is SQL Server 2008.

I keep getting an error when I run the Copy Database Command. I was wondering if I could use a copy only backup to restore the database on the new server.

I am largely trying to see if anyone has encountered a similar situation.

Thanks for your help.

Question by:jonsuns7
LVL 40

Expert Comment

ID: 35507278
I've used detach in the past.


Detach it, copy it, then attach the copy to the 2008 instance and it will be upgraded in the process.
LVL 40

Accepted Solution

lcohan earned 2000 total points
ID: 35507451
I suggest use the "Upgrade Advisor to Prepare for Upgrades" before doing that and caution if you run it against production database as it may be resource intesive. You could also perform a FULL BACKUP then RESTORE to upgrade your DB to SQL2008 if you can't afford detaching it from the server.

LVL 17

Expert Comment

by:Chris Mangus
ID: 35507650
What is the error you are receiving?
LVL 21

Expert Comment

by:Alpesh Patel
ID: 35511695
Go with Attach - Detach database or Backup Restore.
LVL 21

Expert Comment

by:Alpesh Patel
ID: 35511697
Please make sure back is full and database type also.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

831 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