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


Configure Log Shipping Between SQL 2005 and SQL2008


Configure Log Shipping Between SQL 2005 and SQL2008

Author
Message
Themis Tokkaris
Themis Tokkaris
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 20
I am trying to find out if it is possible to configure Logshipping between SQL Server 2008 and SQL Server 2005.

Has anyone tried it or can point me to any article?

Thank You
DBA in Unit 7
DBA in Unit 7
Old Hand
Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)

Group: General Forum Members
Points: 359 Visits: 1124
I tried on my laptop where both SQL 2005 and SQL 2008 Standard Edition are installed. And found the following:

--If set the 2005 instnace as primary, it won't let me add the 2008 instance as secondary, as it is beyond its scope.

--If set the 2008 instnace as primary, i will not even be able to initialize the Logshipping, i.e. not be able to restore the fullbackup of the 2008 db onto the targeted (secondary) 2005 instance. Guess, again, the 2005 engine doesn't recognize the 2008 backup.

So I guess the answer would be NO..
noeld
noeld
SSCrazy Eights
SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)

Group: General Forum Members
Points: 9864 Visits: 2048
That information is actually not correct.

You CAN do LogShipping from 2005 to 2008 (without STANDBY mode)

You are requiered to use SQL 2008 UI tools ... if You want to use UI for configuration.


* Noel
DBA in Unit 7
DBA in Unit 7
Old Hand
Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)Old Hand (359 reputation)

Group: General Forum Members
Points: 359 Visits: 1124
Sorry for the incorrect answer above.

Yes, noeld is correct. It can be done to logshipping SQL 2005 DB to a SQL 2008 Server.

Connect to the SQL2005 instance within your SQL2008 management studio.
Then configure the logshipping for the 2005 DB as primary from there...it will go through smoothly..

Thanks for the correction, noeld.
noeld
noeld
SSCrazy Eights
SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)SSCrazy Eights (9.9K reputation)

Group: General Forum Members
Points: 9864 Visits: 2048
sunny Brook (1/16/2009)
Sorry for the incorrect answer above.

Yes, noeld is correct. It can be done to logshipping SQL 2005 DB to a SQL 2008 Server.

Connect to the SQL2005 instance within your SQL2008 management studio.
Then configure the logshipping for the 2005 DB as primary from there...it will go through smoothly..

Thanks for the correction, noeld.


It was not my intention to put this bluntly.
I am sorry if it looked like that.

I was simply trying to help the PO.


* Noel
Nicholas Cain
Nicholas Cain
Hall of Fame
Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)

Group: General Forum Members
Points: 3176 Visits: 6200
Just ensure to set the destination as NO RECOVERY and not STANDBY.



Shamless self promotion - read my blog http://sirsql.net
Sachin Butala-182900
Sachin Butala-182900
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 433
Hi,

If we keep SQL 2005 as primary and 2008 as secondry :-

The databases don't get upgraded along the way. The upgrade doesn't occur until the database is recovered. For this reason, it is not possible to log ship up version in stand-by mode. You can do it if you leave the database offline (restoring mode). If you try to use stand-by mode, you'll get an error message stating that the backup is from a different version of SQL Server becuase it can't run crash recovery until the database is upgraded.

What is your motivation behind Log Shipping? Log shipping is often used to provide a warm standby. If you use it in this way and you need to fail over to the standby server, you now have no way to swap the log shipping roles, as you can't then log ship back from the 2008 server to the 2005 server.

Regards
Sachin
Divine Flame
Divine Flame
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2305 Visits: 2816
Sachin Butala-182900 (8/27/2012)
Hi,

If we keep SQL 2005 as primary and 2008 as secondry :-

The databases don't get upgraded along the way. The upgrade doesn't occur until the database is recovered. For this reason, it is not possible to log ship up version in stand-by mode. You can do it if you leave the database offline (restoring mode). If you try to use stand-by mode, you'll get an error message stating that the backup is from a different version of SQL Server becuase it can't run crash recovery until the database is upgraded.

What is your motivation behind Log Shipping? Log shipping is often used to provide a warm standby. If you use it in this way and you need to fail over to the standby server, you now have no way to swap the log shipping roles, as you can't then log ship back from the 2008 server to the 2005 server.

Regards
Sachin


+1

While it is possible to configure the log shipping from SQL Server 2005 to SQL Server 2008, keep it in mind that once you performed the failover you will not be able to restore your databases back on SQL Server 2005 again.


Sujeet Singh
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