Solved

SQL server 2005 - database mirroring AND transaction log shipping on the same DB?

Posted on 2007-03-20
3
1,736 Views
Last Modified: 2012-05-05
I have a database setup with mirroring (high protection mode, no witness server).  I would like to setup transaction log shipping to a remote SQL server for the purpose of off-site backup.

Is it even possible to utilize transaction log shipping in a mirrored environment?  What happens if the principle server does down and I make the mirror server the principle server?

Also - with transaction log shipping, do I have to worry about identity columns like I'd have to with replication?

Thanks,
-- Jim
0
Comment
Question by:jimstjohn
[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
  • 2
3 Comments
 
LVL 20

Expert Comment

by:Sirees
ID: 18755594
From BOL:

"Typically, when combining log shipping and database mirroring, the mirroring session is established before log shipping, although this is not required. Then the current principal database is configured as the log shipping primary (the principal/primary database), along with one or more remote secondary databases. Also, the mirror database must be configured as a log shipping primary (the mirror/primary database). The log shipping secondary databases should be on different server instances than either the principal/primary server or mirror/primary server. "




0
 
LVL 20

Accepted Solution

by:
Sirees earned 500 total points
ID: 18755597
0
 
LVL 1

Author Comment

by:jimstjohn
ID: 18758464
Sirees:

Thanks for the help.  You didn't mention anything about identity columns in this scenario -- do I have to worry about them?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Results to Excel File 18 74
Conditions in Where clause 9 46
SQL Pivot table 2 42
SQL:  Best data type for lat & long coordinates?  Float vs Decimal? 5 31
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

740 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