Solved

SQL 2005 mirror or log shipping?

Posted on 2007-11-16
4
812 Views
Last Modified: 2009-01-26
Having trouble, lots, doing a SQL 2005 backup job from one W2003 server to another, secondary W2003 server with ~3GB of data.  The secondary server is simply for DR and will not be used unless the primary server fails.

I think either mirroring or logshipping would achieve the desired result.  I'm inclined to pick the least complex implementation & operation solution.  Maybe there are others worth considering?

Comments?
0
Comment
Question by:jbriley3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 10

Expert Comment

by:AustinSeven
ID: 20299926
It depends on your business requirements - ie. how much data loss can be tollerated.   Most organisations can tollerate a little dataloss when it comes down to it.   If some data loss (eg. up to 15 mintues worth) can be tollerated, you can refresh your DR server with simple database restores of the daily full backup from production and then, if necessary, roll forward from transaction logs.   We do this ourselves at the moment and it is simple.    We have a lot of databases ranging in size from 1Gb to 10Gb and their backups all get copied to the DR server and schedule restore job takes care of everything for me.   Having done several DR tests that replicate the main site being offline, I can say it works!

SQL Server 2005 has db mirroring and this is worth looking at.  I haven't used it yet.   There is also the new option to mirror backups... duplicating the backup to another location as you're doing the backup.  This is interesting because you could duplicate one of the backup mirrors to your DR server and have an automated restore job.   Copy over transaction log backups periodically to your DR server/site throughout the day to ensure that you can roll forward if necesary.

Log Shipping is a maybe.   If you find you can get it working without too much pain, it might be worth using.  

Replication could be used but is too complex for most DR requirements - in my opinion.

AustinSeven
0
 

Author Comment

by:jbriley3
ID: 20300128
Forgot to mention that your approach was our first choice.  The backup to the DR server happens at night over a point-to-point T1.  In testing, have had so much trouble of various kinds with this that I'm considering other options.  During the work day this point-to-point T1 carries routine LAN traffic from a low volume remote site.

We can tolerate the short term data loss you refer to.  I'm mostly interested in hearing about the difficulty of implementing and running either logshipping or mirroring.
0
 
LVL 43

Accepted Solution

by:
Eugene Z earned 250 total points
ID: 20300225
depends - how often the second needs to be refreshed
where is located (from network slowness point of view), etc:


Database Mirroring and Log Shipping
http://msdn2.microsoft.com/en-us/library/ms187016.aspx


<difficulty of implementing and running either logshipping or mirroring. >
it is not difficult :

Database Mirroring in SQL Server 2005
http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx

Configuring Log Shipping
http://msdn2.microsoft.com/en-us/library/ms188698.aspx
0
 
LVL 3

Expert Comment

by:leos_
ID: 23560969
We just set up basic mirroring, and I actually think it was easier than scheduling mirrored backups + restore.  The important thing for mirroring though, is the two servers have a fast connection, so the mirror is always up to date.  I'm not sure if the principle server would lag, it doesn't in our situation.  Still haven't figured out how to get the mirror into primary mode, but it is suppose to be easy.  We did this setup without a witness server (which automatically helps change DR machine to live)
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

627 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