﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Honza Mensdorff  / Mirrors / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 11:03:07 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>:-) Is not getting right answer and lot of work data layer site so can give me suggestion??</description><pubDate>Wed, 12 Dec 2012 22:03:41 GMT</pubDate><dc:creator>vinayverma1896</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Good question.  Too hard for me.</description><pubDate>Wed, 12 Dec 2012 04:26:11 GMT</pubDate><dc:creator>(Bob Brown)  </dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Thanks for the question.</description><pubDate>Tue, 11 Dec 2012 14:26:02 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Same here...also got the question wrong. Thought it would set-up but not start.Always good to learn something new :-)</description><pubDate>Tue, 11 Dec 2012 09:49:10 GMT</pubDate><dc:creator>Lokesh Vij</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Great QoTD...got it wrong, but your explanation was nice..learned something...thanks...</description><pubDate>Tue, 11 Dec 2012 07:19:38 GMT</pubDate><dc:creator>pchirags</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Great question. I picked wrong like a few before me (Set up but not started), so thank you for teaching me something today.</description><pubDate>Tue, 11 Dec 2012 06:54:15 GMT</pubDate><dc:creator>Dana Medley</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>I got it right but, apparently, for the wrong reason. I looked at ALTER Db SET PARTNER = .... and thought that was illegal syntax.If it isn't, what is it actually doing, please?</description><pubDate>Tue, 11 Dec 2012 06:54:15 GMT</pubDate><dc:creator>Bob Cullen-434885</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Interesting question.  I picked the same wrong answer (set up but not started) as 45% of those who answered before me, so I've learnt something.</description><pubDate>Tue, 11 Dec 2012 06:02:46 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>[quote][b]Koen Verbeeck (12/11/2012)[/b][hr]I got it right, but only because I thought you had to link the mirror to the principal first, and then the principal to the mirror (which starts the mirroring session).[url=http://msdn.microsoft.com/en-us/library/ms175883.aspx]Establish a Database Mirroring Session Using Windows Authentication (Transact-SQL)[/url](points 4 and 5)[url=http://msdn.microsoft.com/en-us/library/ms189053.aspx]Prepare a Mirror Database for Mirroring[/url][/quote]Likewise, however I got this wrong, because rather than thinking it would error, I thought it would succeed but not start the mirroring... learned some useful stuff though, so all good.Thanks for the question.</description><pubDate>Tue, 11 Dec 2012 04:47:43 GMT</pubDate><dc:creator>DugyC</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>[quote][b]Koen Verbeeck (12/11/2012)[/b][hr]Are you sure a log backup is needed? Quoting from BOL:[quote]Typically, you need to take at least one log backup on the principal database. However, [b]a log backup might be unnecessary[/b], if the database has just been created and no log backup has been taken yet, or if the recovery model has just been changed from SIMPLE to FULL.[/quote][url=http://msdn.microsoft.com/en-us/library/ms189053.aspx]Prepare a Mirror Database for Mirroring[/url][/quote]I'm quite sure. The procedure in the question is the same I used to establish the mirror, I tried both wizard and T-SQL. The database was just changed from simple to full recovery model.I repeated the test when writing the QotD, with the same result. There was only one difference: First time the error message was completely confusing, but this was not reproduced.</description><pubDate>Tue, 11 Dec 2012 02:12:44 GMT</pubDate><dc:creator>honza.mf</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>I got it right, but only because I thought you had to link the mirror to the principal first, and then the principal to the mirror (which starts the mirroring session).[url=http://msdn.microsoft.com/en-us/library/ms175883.aspx]Establish a Database Mirroring Session Using Windows Authentication (Transact-SQL)[/url](points 4 and 5)Are you sure a log backup is needed? Quoting from BOL:[quote]Typically, you need to take at least one log backup on the principal database. However, [b]a log backup might be unnecessary[/b], if the database has just been created and no log backup has been taken yet, or if the recovery model has just been changed from SIMPLE to FULL.[/quote][url=http://msdn.microsoft.com/en-us/library/ms189053.aspx]Prepare a Mirror Database for Mirroring[/url]</description><pubDate>Tue, 11 Dec 2012 01:53:43 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Had to dust off the cobwebs on this oneThanks for this, always good to refresh the grey matter...</description><pubDate>Tue, 11 Dec 2012 01:35:35 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>Mirrors</title><link>http://www.sqlservercentral.com/Forums/Topic1394884-1711-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/Administration/94931/"&gt;Mirrors&lt;/A&gt;[/B]</description><pubDate>Mon, 10 Dec 2012 22:25:50 GMT</pubDate><dc:creator>honza.mf</dc:creator></item></channel></rss>