<?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>New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx</link><description>Hi, Ned here. Just a quick heads up - there is a new DFSR data recovery script posted below. This allows you to restore data from the ConflictAndDeleted or PreExisting folders within DFSR, primarily during disaster recovery. As always, we prefer you use</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3361966</link><pubDate>Thu, 14 Oct 2010 13:14:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3361966</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;You need to run it with cscript.exe restoredfsr.vbs. Otherwise it will use wscript and prompt.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3361966" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3361881</link><pubDate>Thu, 14 Oct 2010 01:19:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3361881</guid><dc:creator>MicahRomo</dc:creator><description>&lt;p&gt;Hi Ned,&lt;/p&gt;
&lt;p&gt;Is there a way to suppress the OK prompts with the restoredfsr.vbs script?&lt;/p&gt;
&lt;p&gt;I thought the /I switch took care of this but I still get a prompt.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;MR&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3361881" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3361175</link><pubDate>Mon, 11 Oct 2010 13:29:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3361175</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;It sounds like you have a typo in your edits. Please paste this part of your script in here:&lt;/p&gt;
&lt;p&gt;&amp;#39;=======================================================================&lt;/p&gt;
&lt;p&gt;&amp;#39; Section must be operator-edited to provide valid paths&lt;/p&gt;
&lt;p&gt;&amp;#39;=======================================================================&lt;/p&gt;
&lt;p&gt;&amp;#39; Change path to specify location of XML Manifest&lt;/p&gt;
&lt;p&gt;&amp;#39; Example 1: &amp;quot;C:\Data\DfsrPrivate\ConflictAndDeletedManifest.xml&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;#39; Example 2: &amp;quot;C:\Data\DfsrPrivate\preexistingManifest.xml&amp;quot;&lt;/p&gt;
&lt;p&gt;objXMLDoc.load(&amp;quot;C:\your_replicated_folder\DfsrPrivate\yourManifest.xml&amp;quot;) &lt;/p&gt;
&lt;p&gt;&amp;#39; Change path to specify location of source files&lt;/p&gt;
&lt;p&gt;&amp;#39; NOTE: this path DOES have a trailing backslash&lt;/p&gt;
&lt;p&gt;&amp;#39; Example 1: &amp;quot;C:\data\DfsrPrivate\ConflictAndDeleted\&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;#39; Example 2: &amp;quot;C:\data\DfsrPrivate\preexisting\&amp;quot;&lt;/p&gt;
&lt;p&gt;SourceFolder = (&amp;quot;C:\your_replicated_folder\DfsrPrivate\preexisting\&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;#39; Change path to specify output folder&lt;/p&gt;
&lt;p&gt;&amp;#39; NOTE: this path DOES NOT have a trailing backslash&lt;/p&gt;
&lt;p&gt;OutputFolder = (&amp;quot;c:\dfsr_repair_tree&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;#39;========================================================================&lt;/p&gt;
&lt;p&gt;Mine will look a little different than yours, I updated this text to be more explicit&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3361175" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3361078</link><pubDate>Mon, 11 Oct 2010 01:04:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3361078</guid><dc:creator>danielbarnes</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;great script, however i am running into some trouble.&lt;/p&gt;
&lt;p&gt;I think it may be related to xcopy on windows 2008.&lt;/p&gt;
&lt;p&gt;i have tried manually running one of the lines from the script output.&lt;/p&gt;
&lt;p&gt;eg.&lt;/p&gt;
&lt;p&gt;XCOPY &amp;quot;(source full path and filename)&amp;quot; &amp;quot;(destination full path and filename)&amp;quot; /Q /H /R /X /C /Y&lt;/p&gt;
&lt;p&gt;and xcopy responds:&lt;/p&gt;
&lt;p&gt;Does (destination full path and filename) specify a file name or directory name on the target (F = file, D = directory)? ?&lt;/p&gt;
&lt;p&gt;so it appears xcopy isn&amp;#39;t copying my files because it is unsure if they are files or folders...&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
&lt;p&gt;changing to robocopy won&amp;#39;t work coz it copys folders&lt;/p&gt;
&lt;p&gt;and copy is too basic, it won&amp;#39;t copy some of the needed information.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3361078" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3323774</link><pubDate>Wed, 07 Apr 2010 20:13:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3323774</guid><dc:creator>Keith Sumlar</dc:creator><description>&lt;p&gt;It appears after looking at the properties of files in preexisting, the size was due to the preexisting being populated on different occurrences of the server doing an &amp;quot;initial sync&amp;quot; over the time the DFS has existed. &amp;nbsp;That would explain why the script doesn't result in the same amount of data as the preexisting folder. &amp;nbsp;What isn't clear is where the data that was moved in this most recent sync ended up. &amp;nbsp;I suppose that is a question for whoever we talk to after creating a ticket.&lt;/p&gt;
&lt;p&gt;Thanks for all of your help. &amp;nbsp;It has been invaluable.&lt;/p&gt;
&lt;p&gt;-Keith&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3323774" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3323766</link><pubDate>Wed, 07 Apr 2010 19:41:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3323766</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;I don't need the folders you see in the manifest but are explained (these have the 14 attribute you mentioned before)- I need some folders that do not restore at all. I need to see if they are mentioned anywhere in the path of the manifest.&lt;/p&gt;
&lt;p&gt;If not in the manifest, not going to be restored. Simple as that. &lt;/p&gt;
&lt;p&gt;I am out until next week. Please open a support case in the meantime to get a resolution here.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3323766" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3323759</link><pubDate>Wed, 07 Apr 2010 19:04:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3323759</guid><dc:creator>Keith Sumlar</dc:creator><description>&lt;p&gt;here are some paths. &amp;nbsp;sorry about overlooking your instruction&lt;/p&gt;
&lt;p&gt;\\.\D:\DFS\FSHNShare\Personal\fayedong\My Data Sources&lt;/p&gt;
&lt;p&gt;\\.\D:\DFS\FSHNShare\Personal\plawecki\My Data Sources&lt;/p&gt;
&lt;p&gt;\\.\D:\DFS\FSHNShare\Personal\tcumming\My Data Sources&lt;/p&gt;
&lt;p&gt;\\.\D:\DFS\FSHNShare\Personal\helferic\Email Archive2.pst&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3323759" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3323758</link><pubDate>Wed, 07 Apr 2010 18:24:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3323758</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;No, they don't have to be the same - look closely at the manifest. It typically refers to FOLDERS, not files. It also only refers to the base folders and files in the PE folder - the subfiles/folders are not referenced as they are implied within base folders.&lt;/p&gt;
&lt;p&gt;It's much more likely that someone deleted the data. Please follow my previous directions - I am about to be gone until next week so you only have about 30 minutes for me to figure this out before I leave. Otherwise you must open a support case. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3323758" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3323757</link><pubDate>Wed, 07 Apr 2010 18:15:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3323757</guid><dc:creator>Keith Sumlar</dc:creator><description>&lt;p&gt;I did a dir /b on the preexisting directory and piped the results to a file. &amp;nbsp;There were 106603 lines in the resulting document indicating just that many items at the root of preexisting. &amp;nbsp;I then counted the number of entries in the manifest and came up with 2089 items. &amp;nbsp;I have a feeling these numbers should be the same but aren't. &amp;nbsp;We aren't missing data before a certain date, more like data created after a certain date. &amp;nbsp;It seems that there aren't any items created between Feb. 9th and March 30th that exist in the preexisting folder. &amp;nbsp;So despite users being able to access their data via the DFS all the way up to when the initial sync happened on March 30th, the data created after Feb 9th was either not logged in the manifest and moved or simply lost by the DFS somehow. &amp;nbsp;Is it possible that the data somehow was sent upstream to the staging folder of the upstream server then removed from the downstream server (as if somehow the intial rep changed directions for some amount of time)? &amp;nbsp;Is there any way to peek into the staging files to figure out what files or parts of files are there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3323757" width="1" height="1"&gt;</description></item><item><title>re: New DFSR Data Restoration Script</title><link>http://blogs.technet.com/b/askds/archive/2008/01/04/new-dfsr-data-restoration-script.aspx#3323740</link><pubDate>Wed, 07 Apr 2010 17:19:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3323740</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;The other explanation would be that someone has deleted a preexistingmanifest and it was created by the service later. If this is Win2008+ then the manifest could have been corrupted by a disk issue - if so, DFSR would have recreated it. That would only explain a gap where everything prior to X was not in the manifest.&lt;/p&gt;
&lt;p&gt;I have no explanation for your manifest right now, never seen this before. If it was as easy to run into as your theory, I'd suspect we would have seen it at least a 100 times in 5 years. Anything's possible though.&lt;/p&gt;
&lt;p&gt;Please send me the original path of a few folders that are now in PE that are not restoring with the new script, so I can compre them to your manifest file.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3323740" width="1" height="1"&gt;</description></item></channel></rss>