Solved

upgrade SQLSERVER 2005 to 2012 with logshipping

Posted on 2013-12-26
6
400 Views
Last Modified: 2014-02-04
Hello ,
  I have a database  2005 R2 64 bit SQLserver (standard edition)  that is about 100G that has log shipping enable to a remote machine over the WAN  . The secondary DB is use for disaster recovery and it is in   "read-only state, Now , I would would like to upgrade to SQLServer 2012 . How would the upgrade affect my log shipping jobs?. Do I have to redo the logshipping?

It would be an issue if I have to redo the log shipping since it will take days to transfer a  backup to the remote location using our WAN

Thanks for your help
0
Comment
Question by:SiemensSEN
  • 3
  • 3
6 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 39740394
Yes, you can upgrade log shipping configuration by upgrading the secondary server, then upgrading the primary server to SQL 2012.
http://technet.microsoft.com/en-us/library/cc645954.aspx#UpgradeSecondary
0
 

Author Comment

by:SiemensSEN
ID: 39783575
Thanks but my database is in stand-by mode. So, according to the document it cannot be done..

Is it possible to change the stand-by to no recovery??
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 39785298
You can change between the modes, it just does not take effect until the next log backup is restored per Microsoft's documentation.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:SiemensSEN
ID: 39785754
Thank you so if I set the database to "no Recovery" then I can upgrade SQLSERVER.

Would this be the proper steps

1: Change the DB to no recovery
2: Pause log shipping
3: upgrade the redundant server (db's in is no recovery mode)
4: Upgrade production
5:restart log shipping

Thanks for your help
0
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 39785797
Are you planning to fail over to the secondary server OR leave the database offline during the upgrade?

You simply can redo log shipping from scratch on the secondary server after the upgrade as an option by the way.

Anyway, I think you have the order, just remember to backup live transaction log and restore between each step if you do fail over to secondary.
0
 

Author Comment

by:SiemensSEN
ID: 39786230
I plan to leave the DB offline for the upgrade.


I don't want to redo the log shipping because my database id 150 GB .  To redo from scratch will require transfering the 150 GB over the WAN and that would take days. So, I would like to avoid this step if possible.

Thanks for your help
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

822 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