Solved

Database Mirroring

Posted on 2012-04-09
1
294 Views
Last Modified: 2012-04-10
If I take a full backup of the Principal
and for example take all log backups including the last log backup
and then restore them on the mirror
Do I leave the last t-log backup in the no recovery mode
and if so then how about the t-log still populating with data on the principal but
not the mirror how does sql synchronize the mirror properly if you cannot
restore the last t-log because it is being written to at the time you are setting up the
mirror

Any clarification as to how the synchronization process with the last t-log actually works would be greatly appreciated

Thanks in advance
0
Comment
Question by:VitaminD
[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
1 Comment
 
LVL 15

Accepted Solution

by:
Deepak Chauhan earned 500 total points
ID: 37827359
Hi, in database mirroring only one database (principle) can be in operational stat and mirror database is in operational stat.
Reason to restore last TL backup with no recovery is that it will not accessible to user but accessible to principle database. Every time if a transaction is executed on the principal is sent first to mirror for commit if it is configured with synchronous. Transaction log is sent to mirror and restore in no recovery mode.

For more Clarification and Information Please follow below link:
 
http://msdn.microsoft.com/en-us/library/ms179344.aspx
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

749 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