Solved

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

Posted on 2007-03-20
3
1,727 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
  • 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now