<?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>eXtreme. tech. : Database Mounting Tool</title><link>http://blogs.technet.com/extreme/archive/tags/Database+Mounting+Tool/default.aspx</link><description>Tags: Database Mounting Tool</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Analysis of Windows Server 2008 – AD Snapshot Viewer</title><link>http://blogs.technet.com/extreme/archive/2007/10/18/analysis-of-windows-server-2008-ad-snapshot-viewer.aspx</link><pubDate>Thu, 18 Oct 2007 18:36:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2198897</guid><dc:creator>David Tesar</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/extreme/comments/2198897.aspx</comments><wfw:commentRss>http://blogs.technet.com/extreme/commentrss.aspx?PostID=2198897</wfw:commentRss><description>&lt;P&gt;This feature is currently known as the “Database Mounting Tool” (DMT), which is better than the previous name of “Data Mining Tool”. Who knows what we’ll end up calling this at RTM, but I like the previous name “Snapshot Viewer” the best so this is what I entitled the post. 
&lt;P&gt;DMT allows you to quickly take snapshots of your AD database at any point in time and view those snapshots using the LDP viewer of your choice. At first I was extremely excited about this feature, but after realizing the command-line action you have to go through in order to do this (see below), it killed my buzz a little bit. If you compare this to automating ldifde/csvde backups of your AD, I can see these advantages to snapshots: &lt;BR&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can mount a snapshot and attach GUI LDP tools to it. Ldifde/csvde method doesn’t do this. &lt;/LI&gt;
&lt;LI&gt;You can “backup” the entire database in one shot. Ldifde/csvde only allows a single DN or partition per shot.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;The ldifde/csvde dump of your entire partition is in clear text and snapshots are not. However, from a security standpoint there’s not much difference considering if someone has the snapshot file they can also open it up but not as easily. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Below is a general process flow for recovering deleted object(s) more quickly using DMT (see &lt;A href="http://technet2.microsoft.com/windowsserver2008/en/library/4503d762-0adf-494f-a08b-cf502ecb76021033.mspx?mfr=true" target=_blank mce_href="http://technet2.microsoft.com/windowsserver2008/en/library/4503d762-0adf-494f-a08b-cf502ecb76021033.mspx?mfr=true"&gt;step-by-step guide&lt;/A&gt; for more details): &lt;BR&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; &lt;U&gt;Create&lt;/U&gt; a snapshot of your AD database using the &lt;B&gt;ntdsutil snapshot&lt;/B&gt; sub-context menu system. &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note: This can be automated if you so choose. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; &lt;U&gt;Mount&lt;/U&gt; the snapshot of your choice by using &lt;B&gt;ntdsutil snapshot&lt;/B&gt; sub-context menu system again. &lt;BR&gt;&lt;STRONG&gt;&lt;BR&gt;3)&lt;/STRONG&gt; Make this &lt;U&gt;snapshot readable&lt;/U&gt; by LDP, ADSIedit, AD Users and Computers (ADUC or dsa.msc), or other LDAP viewers using &lt;B&gt;dsamain.exe&lt;/B&gt; (new tool included with WS2008 by default)&lt;BR&gt;Note: At this point, you can view any object/attribute/etc of the snapshot to use for comparison. &lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;/U&gt;
&lt;P&gt;&lt;U&gt;Two paths to restore objects (using only MS tools):&lt;/U&gt; &lt;BR&gt;&lt;STRONG&gt;4)&lt;/STRONG&gt; Export/import the information from the snapshot to recover objects using ldifde/csvde:&amp;nbsp;&lt;BR&gt;a. Utilize the &lt;A href="http://www.microsoft.com/technet/technetmag/issues/2007/09/Tombstones/default.aspx" mce_href="http://www.microsoft.com/technet/technetmag/issues/2007/09/Tombstones/default.aspx"&gt;tombstone reanimation process&lt;/A&gt; (same as in Server 2003) to recreate the object(s) which were deleted.&amp;nbsp;&amp;nbsp;The &lt;A class="" href="http://www.microsoft.com/technet/sysinternals/Utilities/AdRestore.mspx" mce_href="http://www.microsoft.com/technet/sysinternals/Utilities/AdRestore.mspx"&gt;ADRestore tool&lt;/A&gt; also helps here.&amp;nbsp;b. &lt;U&gt;Restore metadata&lt;/U&gt; such as back-links, attributes, etc for those objects by utilizing ldifde &lt;BR&gt;&lt;STRONG&gt;&lt;BR&gt;5)&lt;/STRONG&gt; Do an authoritative restore of a portion of the objects using NTDSutil&amp;nbsp;(&lt;A class="" href="http://support.microsoft.com/?kbid=840001" mce_href="http://support.microsoft.com/?kbid=840001"&gt;same way&amp;nbsp;as you would in Server 2003&lt;/A&gt;).&amp;nbsp;You can restore objects which haven't been already deleted from a DC (i.e. replication hasn't come to this DC yet) via&amp;nbsp;using the &lt;A href="http://blogs.technet.com/adamca/archive/2007/10/12/restartable-active-directory-in-windows-server-2008.aspx" mce_href="http://blogs.technet.com/adamca/archive/2007/10/12/restartable-active-directory-in-windows-server-2008.aspx"&gt;restartable AD feature&lt;/A&gt;. 
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Bottom line&lt;/U&gt;&lt;/STRONG&gt;: DMT is a nice feature to be able to view previous snapshots of your AD, but overall our restore story still&amp;nbsp;doesn't help&amp;nbsp;as great as some of the 3&lt;SUP&gt;rd&lt;/SUP&gt; party tools do with AD object recovery (see below). 
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=4&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=4&gt;GET STARTED:&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt; &lt;BR&gt;&lt;A href="http://technet2.microsoft.com/windowsserver2008/en/library/163613cb-f332-46c5-b9a9-9654123e0c081033.mspx?mfr=true" mce_href="http://technet2.microsoft.com/windowsserver2008/en/library/163613cb-f332-46c5-b9a9-9654123e0c081033.mspx?mfr=true"&gt;Database Mounting Tool Feature Overview&lt;/A&gt; &lt;BR&gt;&lt;A href="http://technet2.microsoft.com/windowsserver2008/en/library/4503d762-0adf-494f-a08b-cf502ecb76021033.mspx?mfr=true" mce_href="http://technet2.microsoft.com/windowsserver2008/en/library/4503d762-0adf-494f-a08b-cf502ecb76021033.mspx?mfr=true"&gt;Step-by-Step Guide for Using the Active Directory Database Mounting Tool in Windows Server 2008&lt;/A&gt; &lt;BR&gt;&lt;A href="http://technet2.microsoft.com/windowsserver2008/en/library/a4b0e355-cbd0-4f48-9484-877fad1789ec1033.mspx?mfr=true" mce_href="http://technet2.microsoft.com/windowsserver2008/en/library/a4b0e355-cbd0-4f48-9484-877fad1789ec1033.mspx?mfr=true"&gt;Ntdsutil snapshot command line syntax&lt;/A&gt; &lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer2008/en/library/e95b5148-aa86-44ea-87e9-43c8ce6cfdbe1033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer2008/en/library/e95b5148-aa86-44ea-87e9-43c8ce6cfdbe1033.mspx"&gt;Dsamain command line syntax&lt;/A&gt; &lt;BR&gt;Microsoft Sysinternal &lt;A class="" href="http://www.microsoft.com/technet/sysinternals/Utilities/AdRestore.mspx" mce_href="http://www.microsoft.com/technet/sysinternals/Utilities/AdRestore.mspx"&gt;ADRestore tool&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;A href="http://www.quest.com/object-restore-for-active-directory/" mce_href="http://www.quest.com/object-restore-for-active-directory/"&gt;Quest’s AD recovery tools&lt;/A&gt;&lt;BR&gt;&lt;A class="" href="http://www.goldandsilverwinners.com/" mce_href="http://www.goldandsilverwinners.com/"&gt;Scriptlogic's Active Administrator&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2198897" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/extreme/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://blogs.technet.com/extreme/archive/tags/Server+2008/default.aspx">Server 2008</category><category domain="http://blogs.technet.com/extreme/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.technet.com/extreme/archive/tags/Database+Mounting+Tool/default.aspx">Database Mounting Tool</category></item></channel></rss>