Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL 2005 mirror or log shipping?

Posted on 2007-11-16
4
Medium Priority
?
816 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
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 750 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

926 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