Solved

Database Mirroring

Posted on 2012-04-09
1
285 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
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 set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

708 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

16 Experts available now in Live!

Get 1:1 Help Now