<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx</link><description>Hi folks, Ned here again. We published a KB a while back around the dangers of using virtualized snapshots with DFSR: 
 
 Distributed File System Replication (DFSR) no longer replicates files after restoring a virtualized server's snapshot 
 
 Customers</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3424622</link><pubDate>Wed, 27 Apr 2011 13:00:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3424622</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;Yes, the method that got you to a virtualized DC doesn&amp;#39;t matter. The issue isn&amp;#39;t specific to virtualization either - if you have a SAN that performs &amp;quot;volume snapshots&amp;quot; of physical servers you could run into these scearios as well. Anything that makes an entire server time travel backwards as a single image is at risk.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3424622" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3424581</link><pubDate>Wed, 27 Apr 2011 09:07:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3424581</guid><dc:creator>Janson Ragon</dc:creator><description>&lt;p&gt;Hi Ned,&lt;/p&gt;
&lt;p&gt;Does this also apply to scearios where you have done a P2V or V2V of a server either using VMM 2008 R2, or using a more manual method such as Disk2VHD? &lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Janson&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3424581" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3423996</link><pubDate>Mon, 25 Apr 2011 13:46:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423996</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;It&amp;#39;s only documented internally at this point, AFAIK. I&amp;#39;m sure if a backup vendor asked us how to do this we&amp;#39;d explain it to them though. Ultimately, you&amp;#39;re just setting:&lt;/p&gt;
&lt;p&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters&lt;/p&gt;
&lt;p&gt;Database restored from backup = 1 &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423996" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3423756</link><pubDate>Sat, 23 Apr 2011 04:58:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423756</guid><dc:creator>Pronichkin</dc:creator><description>&lt;p&gt;&amp;gt; Windows Server 2008 and 2008 R2 only implement protection this as part of Hyper-V integration components so third party full disk image restores or other virtualization products have to implement it themselves.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve asked before and I&amp;#39;ll ask it again :) Do we document how we did this and how they are supposed to do this? I mean is there any special sauce or we just need to call the NTDS VSS writer in the end of restore and make it aware that the restore took place?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423756" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3423523</link><pubDate>Thu, 21 Apr 2011 21:35:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423523</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;Ah I see what you mean - incrementals are totally valid as well as long as you also have the full of course. There&amp;#39;s no expectation that anyone needs to always run Full (capital F) backups everytime, just that the backups fully cover all the files. I modified the article to be clearer about this.&lt;/p&gt;
&lt;p&gt;There is an easier solution after restoring a full VHD but I am loathe to talk about it publically as it is so often absued and used incorrectly. I am going to anyway though:&lt;/p&gt;
&lt;p&gt;A D2 burflag in FRS resets the database. If you were to &lt;strong&gt;delete&lt;/strong&gt; the DFSR databases on all the volumes after the restore, you will fix the problem. This causes a complete non-authoritative sync and fixes everything up just like how DCs do when their invocation ID is reset. Now, the reason I don&amp;#39;t like to bring this up is because you are now potentially syncing many terabytes of data, and you are definitely LOSING all conflicts (meaning that data that was newer on this server is arbitrarily deleted forever). It&amp;#39;s not a great solution. You can&amp;#39;t mark the restore authoriattive either when the databse is deleted; you&amp;#39;d insetad have to do (as you mentioned) a database deletion as well as recreate your RG and set his server primary all over again.&lt;/p&gt;
&lt;p&gt;I would also make mention that DFSR performance is going to be a lot better with a passthrudisk than a VHD file; it&amp;#39;s very IO dependent. And if you are using passthru disks you have nothing to worry about. Especially since DFSR keeps a database on every volume that is replicating files. &amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423523" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3423513</link><pubDate>Thu, 21 Apr 2011 21:03:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423513</guid><dc:creator>Jeff.Miles</dc:creator><description>&lt;p&gt;That does make sense. Ultimately I&amp;#39;m just trying to determine if we need to modify our backup strategy for our DFSR server. &lt;/p&gt;
&lt;p&gt;So if we lose our DFSR member guest in Hyper-V, and we restore the C_guest.vhd (OS) and D_files.vhd (1.5 TB of files + DFSR database), and then boot up that guest disconnected from the network, and then do a further restore of a backup taken inside the guest before it failed, then when we connect it back to the network, it should begin communicating with the other DFSR members properly? &lt;/p&gt;
&lt;p&gt;Will it come back online as non-primary, so that it receives changes made on other members while it was down, even if the downed member was the hub?&lt;/p&gt;
&lt;p&gt;I think where my current confusion lies is in that second &amp;quot;inside guest&amp;quot; restore; You specify that the backup should be &amp;quot;full (and specifically including System State) backup using VSS&amp;quot;. Does that mean incremental backups of the DFSR folder target aren&amp;#39;t valid in the disaster recovery scenario? If we&amp;#39;re backing up using UNC path to the folder target on the guest with a backup agent, is that going to be sufficient to get the DFSR member back online?&lt;/p&gt;
&lt;p&gt;If not, it almost sounds like it&amp;#39;d be easier to restore the vhd&amp;#39;s as a new guest, and rejoin the replication group as a new member, with the 1.5TB vhd acting as pre-seeded data for an initial replication. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423513" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3423496</link><pubDate>Thu, 21 Apr 2011 20:20:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423496</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;Hi Jadus01,&lt;/p&gt;
&lt;p&gt;1. Most backup software allows you to exclude files by path, extension (Windows Server Backup does, for example) so you could block them that way if you were inclined.&lt;/p&gt;
&lt;p&gt;2. If you were NOT so inclined in #1 above and wanted to back up the VHDs as files, #2 still saves you. If you backup *inside* a guest OS (i.e. the guest OS is running backup software and is online), any restore of the VHD file is not terminal because you could then run the guest&amp;#39;s own restore internal to the guest. If you had 100 VHDs on a host and only 2 of them were DCs, this might make sense as 98 of your backups can be restored with teh full disk and the two DCs can be fixed with their internal backups after the fact.&lt;/p&gt;
&lt;p&gt;We want you to treat the multi-master guest OSes as &amp;#39;real&amp;#39; computers, not as VHD files. Full VHD backups simply don&amp;#39;t work on them like they do with a simple file server or web server or app server; multi-master is too complex and interrelated. Plus even in the &amp;quot;good&amp;quot; case where we have USN rollback protection in place, your &amp;quot;restore&amp;quot; is losing all changed data. It&amp;#39;s more like an amputation that saves the patient&amp;#39;s life but costs him a hand.&lt;/p&gt;
&lt;p&gt;Now: if you had all the multi-master related guests on the same host, you could restore a full host and not see any problems. But if you;re doing that, you&amp;#39;re breaking a principle of availability - all your eggs are in one basket. So for different reasons, that&amp;#39;s just as dangerous. &lt;/p&gt;
&lt;p&gt;Thanks, and continue let me know if I&amp;#39;m not making sense. I want to make sure everybody gets this and understands what happens if you restore full VHDs.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423496" width="1" height="1"&gt;</description></item><item><title>re: Disk Image Backups and Multi-Master Databases (or: how to avoid early retirement)</title><link>http://blogs.technet.com/b/askds/archive/2011/04/21/disk-image-backups-and-multi-master-databases-or-how-to-avoid-early-retirement.aspx#3423487</link><pubDate>Thu, 21 Apr 2011 20:04:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3423487</guid><dc:creator>Jeff.Miles</dc:creator><description>&lt;p&gt;Thanks for this Ned, this is highly useful information. I&amp;#39;ve got a Server 2008 R2 Hyper-V guest that serves as our primary DFSR hub and has VHD&amp;#39;s for each folder target/replication group. Couple questions though:&lt;/p&gt;
&lt;p&gt;1. If I understand correctly, we shouldn&amp;#39;t be using any tool to back up these VHD&amp;#39;s from the host (using Symantec Backup Exec, DPM, etc) correct? Is there a recommendation to back up the guest OS without backing up the VHD, so in the event of a OS failure, we can restore without pooching DFSR?&lt;/p&gt;
&lt;p&gt;2. You stated &amp;quot;It is ok to take these kinds of outside backups as long as you are also getting a backup that runs within the running multi-master guest computers.&amp;quot; How would this scenario be safer in a restore process? Would it be safe to restore the VHD backup, and then the file-level backup overtop of that? I just don&amp;#39;t understand how this &amp;#39;becomes&amp;#39; safe. &lt;/p&gt;
&lt;p&gt;If that does work, we&amp;#39;d still do the redundant process since a full backup &amp;amp; restore of our 1.5TB VHD takes much less time than a file level backup &amp;amp; restore from inside the guest. We could restore our weekly full VHD + any file-level differentials in short order. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3423487" width="1" height="1"&gt;</description></item></channel></rss>