Solved

Database Mirroring

Posted on 2012-04-09
1
290 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
1 Comment
 
LVL 15

Accepted Solution

by:
deepakChauhan 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

813 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

17 Experts available now in Live!

Get 1:1 Help Now