SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Upgrading from SQL 2005 to SQL 2012


Upgrading from SQL 2005 to SQL 2012

Author
Message
myoda
myoda
SSC-Enthusiastic
SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)

Group: General Forum Members
Points: 148 Visits: 88
Hello,

We are planning to upgrade our SQL server from 2005 to 2012, and we also have to move our SQL Server data to a different datacenter.

I was thinking I could just set up an identical SQL server 2005 in the new datacenter, and start log shipping from the current one to the new one, then set up a new instance of SQL Server 2012. When all the log shipping is caught up and we are ready to make the switch, I would simply turn off log shipping, detach the databases from SQL 2005, and attach them to SQL 2012.

I was wondering if anyone knew of any complications I might have with upgrading using that method. I know it will take awhile since I need to move about 1.8 tb of data and the network from the old datacenter to the new one is kind of slow.

Thanks,
Sam
Gianluca Sartori
Gianluca Sartori
SSC-Dedicated
SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)

Group: General Forum Members
Points: 38855 Visits: 13367
That's a good strategy. Let me ask, why not ship the logs to 2012 directly?
Also, remember that upgrading an instance is much more than just upgrading the databases: you will have many other objects to migrate (logins, credentials, jobs, maintenance plans...)

--Gianluca Sartori

How to post T-SQL questions
spaghettidba.com
@spaghettidba
Steve Jones
Steve Jones
SSC Guru
SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)

Group: Administrators
Points: 224941 Visits: 19637
Agree with Giancarlo. Log ship directly to 2012. If this may have to work as DR, log ship to both 2005 and 2012, but when you switch, just switch to 2012 and then disable log shipping.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
myoda
myoda
SSC-Enthusiastic
SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)

Group: General Forum Members
Points: 148 Visits: 88
I didn't realize I would be able to ship directly to 2012. I did just test it, and it worked just fine, so that is what I will do.

I realize I will have to update the other objects that are currently in my SQL 2005, and that shouldn't be a problem.

Thanks for your help.

Sam
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search