Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to list deleted files from my ext3 file system. debugsfs command with -ld option , suppose to list deleted files but it only listing current existing files and folder. Is any alternate way without any third party tools to recover deleted files .

Thanks

share|improve this question
add comment

2 Answers

Check out extundelete, application for undeleting files on ext3. Please note that in typical system there is rather many automatic write operations to disk, and probability for losing deleted files (as those disk areas are overwritten) is high.

Typically you want to remount your filesystem as read-only or boot from live-CD or similar to prevent overwriting, if you want to successfully restore any files.

Another maybe useful (but less so) link is this tutorial for recovering files. Method described in there is rather complex.

share|improve this answer
    
I don't want to install any third party tool. –  vnix27 Feb 15 '11 at 4:40
2  
@vnix27: then you are basically out of luck. Of course you can use any tools for copying data from raw device (for example /etc/sda), but just finding right place will be problematic. –  Olli Feb 15 '11 at 11:32
1  
@vnix27 extundelete is in the (Ubuntu, at least) repos, why don't you want to install it? (and debugsfs isn't) –  Kevin Nov 2 '11 at 21:33
add comment

You could also try photorec from CGSecurity. It tries to recover every stream it can detect. But you can't select files out of the restore process.

http://www.cgsecurity.org/wiki/PhotoRec

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.