Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2009 08:53:39 -0500
From:      Michael Copeland <michael.copeland@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Restore deleted files
Message-ID:  <496756E3.5040002@gmail.com>
In-Reply-To: <20090109002846.c67d962f.freebsd@edvax.de>
References:  <20090109002846.c67d962f.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help


Polytropon wrote:
> Hi,
>
> I'd like to ask a two-stage question:
>
> 1. Is it possible to recover files that have been deleted?
>
> 2. Which tools or procedures are suggested for recovery?
>
> While sorting out some files and transfering them to another
> hard disk, I accidentally deleted too much: the directory with
> my videos taken by a digital camera. They were located in a
> directory within a subtree, and I deleted the whole subtree
> without first copying these files.
>
> I used the Midnight Commander to do this. As I read from its
> source code, it seems to use the unlink() call to delete the
> subtree recursively. Pressing PF8 can really ruin your day...
>
> Just after I noticed what I had done I unmounted the file system,
> powered off the machine and put the disk on the shelf (it's still
> there), no further write accesses.
>
> I would be glad if someone could enlighten me if there is any
> chance to get the files back, even with the loss of the file
> names (doesn't matter), and which tools seem to serve best in
> this difficult task.
>
> And if it's impossible, please tell me. I can newfs the disk
> then and free it, along with my mind.
>
>
>
>
> PS.
> I'm posting this question to -fs, too. Answers from this list
> please keep me in CC because I'm not subscribed to -fs. Thank you!
>   
See if this can help you, it recognizes and recovers files based on 
headers, data structures, etc. not names.
http://foremost.sourceforge.net/
this along with a couple of the other tools people have mentioned should 
get you back to where you need to be.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496756E3.5040002>