<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: I clobbered a file by saving a download with the same name, and would like to recover my data.</title>
	<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data/</link>
	<description>Comments on Ask MetaFilter post I clobbered a file by saving a download with the same name, and would like to recover my data.</description>
	<pubDate>Tue, 24 Apr 2007 10:41:38 -0800</pubDate>
	<lastBuildDate>Tue, 24 Apr 2007 10:41:38 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: I clobbered a file by saving a download with the same name, and would like to recover my data.</title>
		<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data</link>	
		<description>I clobbered a file by saving a downloaded file with the same name.  Options? &lt;br /&gt;&lt;br /&gt; OK, I have searched past questions and the nearest hit I found was &lt;a href=&quot;http://ask.metafilter.com/33605/Ive-saved-over-a-file-can-I-get-it-back&quot;&gt;this one&lt;/a&gt;, which seems distinct from my situation.  Here&apos;s what happened:&lt;br&gt;
&lt;br&gt;
1) Edit file on computer 1, email to self&lt;br&gt;
2) D/L file to computer 2, edit in MS Word, save.&lt;br&gt;
3) Forget that I had edited, download from email over the edited copy!&lt;br&gt;
&lt;br&gt;
This is different from the situation in the post above, because there it appeared that doing a ctrl-S also clobbered all the autosaved copies; in my situation that&apos;s (hopefully) not the case.  Obviously the advantages of CVS or Perforce are now vividly clear to me, but now is the time for data recovery, not self-flagellation.&lt;br&gt;
&lt;br&gt;
So, what can I do to get the version I had saved in step 2?  If there are autosaves, where are they (Office 2K on Windows XP)?  Or, is there a free/cheap tool that can search unallocated blocks so that I could at least maybe recover the unformatted text and paste it into a new document?  I&apos;m assuming here that clobbering the file&lt;i&gt;name&lt;/i&gt; does not also place the new file in the same disc blocks, though the FAT will obviously no longer point to the old blocks.&lt;br&gt;
&lt;br&gt;
Anything else I could try?  The data (and my time) are worth enough that the situation might merit downloading a commercial tool, but not hiring an outside recovery service.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.61234</guid>
		<pubDate>Tue, 24 Apr 2007 10:03:08 -0800</pubDate>
		<dc:creator>rkent</dc:creator>
		
			<category>data</category>
		
			<category>datarecovery</category>
		
	</item> <item>
		<title>By: Freaky</title>
		<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data#921924</link>	
		<description>Unless you&apos;re using a copy-on-write/log-structured filesystem like ZFS, it&apos;ll most likely have overwritten the blocks the original file was using, especially if the new file fits nicely.  If it hasn&apos;t already, it&apos;ll happen sooner or later while the disk is used.&lt;br&gt;
&lt;br&gt;
Your first move is probably going to want to be making an image of the disk to another drive (ideally on a system which doesn&apos;t have the disk mounted read/write; a *ix LiveCD like Ubuntu would be perfect) using something like &lt;a href=&quot;http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm&quot;&gt;dd&lt;/a&gt; (not Ghost; you want to copy &quot;free&quot; blocks too).  This preserves the state of the disk so you can try destructive recovery tools without worrying too much about making things worse -- if it all goes wrong, you can always dd the image back to the disk.&lt;br&gt;
&lt;br&gt;
If undelete tools don&apos;t help, you also have a whacky big file you can search for fragments of your document.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.61234-921924</guid>
		<pubDate>Tue, 24 Apr 2007 10:41:38 -0800</pubDate>
		<dc:creator>Freaky</dc:creator>
	</item><item>
		<title>By: rkent</title>
		<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data#921928</link>	
		<description>&lt;i&gt;Unless you&apos;re using a copy-on-write/log-structured filesystem like ZFS, it&apos;ll most likely have overwritten the blocks the original file was using, especially if the new file fits nicely.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Really?  No, I&apos;m just using NTFS.  Damn.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.61234-921928</guid>
		<pubDate>Tue, 24 Apr 2007 10:46:41 -0800</pubDate>
		<dc:creator>rkent</dc:creator>
	</item><item>
		<title>By: rkent</title>
		<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data#921978</link>	
		<description>Ah HA!  I used &lt;a href=&quot;http://www.runtime.org/diskexpl.htm&quot;&gt;Ntexplorer&lt;/a&gt; to scan the free sectors and found at least the text of the portion that I overwrote.  Sweet!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.61234-921978</guid>
		<pubDate>Tue, 24 Apr 2007 11:30:14 -0800</pubDate>
		<dc:creator>rkent</dc:creator>
	</item><item>
		<title>By: Freaky</title>
		<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data#922080</link>	
		<description>\o/&lt;br&gt;
&lt;br&gt;
You have a lot more chance of recovery with an overwrite which unlinks the original file first; most filesystems mostly guarantee if you open a file, write a load of data, then open it again and write over the original data, that you actually get written to the location of the original data; otherwise it has to mess about with block allocations.  This behavior is depended upon by things like secure delete tools which would otherwise need to hook into a much lower layer of the OS to function.&lt;br&gt;
&lt;br&gt;
Unlinking the old file first (which a downloader *might* have done) will break this &quot;guarantee&quot;, but it could still reuse the blocks anyway, since they&apos;re now free.  Apparantly in your case you got lucky, yay.&lt;br&gt;
&lt;br&gt;
Now go set up hourly incremental backups or version control (see &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt;/&lt;a href=&quot;http://tortoisesvn.tigris.org/&quot;&gt;TortoiseSVN&lt;/a&gt;).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.61234-922080</guid>
		<pubDate>Tue, 24 Apr 2007 12:44:57 -0800</pubDate>
		<dc:creator>Freaky</dc:creator>
	</item><item>
		<title>By: rkent</title>
		<link>http://ask.metafilter.com/61234/I-clobbered-a-file-by-saving-a-download-with-the-same-name-and-would-like-to-recover-my-data#922106</link>	
		<description>&lt;i&gt;or version control&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Yeah.  Ironically, I have an installation of &lt;a href=&quot;http://www.atlassian.com/software/confluence/&quot;&gt;Confluence&lt;/a&gt; wiki, which has version control for attachments, but I hadn&apos;t attached this file to a wiki page yet.  Now, needless to say, I have.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.61234-922106</guid>
		<pubDate>Tue, 24 Apr 2007 13:06:38 -0800</pubDate>
		<dc:creator>rkent</dc:creator>
	</item>
	</channel>
</rss>
