Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Move a 2008 database to a new machine on 2008R2 Expand / Collapse
Author
Message
Posted Tuesday, June 18, 2013 4:45 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 9:30 AM
Points: 509, Visits: 1,885
I was supposed to be migrating some 2008 (SP3) databases from old physical machines to new virtual machines. I was just going to do a straightforward backup, move file, restore, etc. etc.

At the last minute I've been told the new machines need to be running 2008R2, not 2008. As is usual where I work it's all seat of the pants stuff, and has to be done NOW. Help! What's the sequence of events here? (I've been Googling but I'm getting a lot of answers about how to restore an R2 database to 2008, but not the other way around.) I can't upgrade the current databases to R2, only the destination ones, which is what is complicating things.

I'm sorry if this is really simple; I've been ill for a week with a raging temperature and I can't think straight. Any help would be gratefully received.
Post #1464561
Posted Tuesday, June 18, 2013 4:52 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 9:30 AM
Points: 509, Visits: 1,885
Hang on, it will automatically upgrade the database for me if I restore it to a higher version, won't it? I just need to change the compatibility level?
Post #1464563
Posted Tuesday, June 18, 2013 5:19 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 1:13 PM
Points: 40,428, Visits: 36,879
Backup, copy, restore. Nothing different.

2008 and 2008 R2 have the same compatibility level - 100.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1464574
Posted Tuesday, June 18, 2013 5:21 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 9:30 AM
Points: 509, Visits: 1,885
Thank you. I think the stress is getting to me; this stuff is basic. If I could delete this thread I would!
Post #1464576
Posted Tuesday, June 18, 2013 5:21 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, November 20, 2014 2:08 AM
Points: 1,380, Visits: 2,703
Restoring a database from an older version to a newer version (as in your case) shouldn't be a problem. As you've said, you just need to change the compatibility level.

As for restoring backwards (restoring a database from a newer version to an older one) is not supported. I think it is possible but not pretty.

Remember to take across your logins to the new server
Post #1464577
Posted Tuesday, June 18, 2013 5:26 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 1:13 PM
Points: 40,428, Visits: 36,879
SQLSACT (6/18/2013)
As for restoring backwards (restoring a database from a newer version to an older one) is not supported. I think it is possible but not pretty.


It's not that it's not supported, it's outright not possible, pretty or otherwise. You have to recreate the DB on the lower version.
Not that the OP asked about restoring to a lower version.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1464579
Posted Tuesday, June 18, 2013 5:29 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, November 20, 2014 2:08 AM
Points: 1,380, Visits: 2,703
GilaMonster (6/18/2013)
SQLSACT (6/18/2013)
As for restoring backwards (restoring a database from a newer version to an older one) is not supported. I think it is possible but not pretty.


It's not that it's not supported, it's outright not possible, pretty or otherwise. You have to recreate the DB on the lower version.
Not that the OP asked about restoring to a lower version.


I stand under correction here but I am almost 100% sure that I've come across an article that describes how to restore to a lower version.

Post #1464581
Posted Wednesday, June 19, 2013 6:24 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, November 21, 2014 6:50 AM
Points: 922, Visits: 1,444
GilaMonster (6/18/2013)
Backup, copy, restore. Nothing different.

2008 and 2008 R2 have the same compatibility level - 100.


What you want to updatestats in this case too or is it not applicable? Much like moving from 2005 to 2008 or 2005 to 2012.

Steve



Post #1465125
Posted Wednesday, June 19, 2013 6:26 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 1:13 PM
Points: 40,428, Visits: 36,879
Steve-3_5_7_9 (6/19/2013)
GilaMonster (6/18/2013)
Backup, copy, restore. Nothing different.

2008 and 2008 R2 have the same compatibility level - 100.


What you want to updatestats in this case too or is it not applicable?


Not so much. The relational engine is near-identical between 2008 and 2008 R2. Something like 5 minor changes and that's all.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1465127
Posted Wednesday, June 19, 2013 6:29 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, November 21, 2014 6:50 AM
Points: 922, Visits: 1,444
Thanks for the info.


Post #1465129
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse