Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Ubuntu 9.04 for Drupal development. This morning I accidentally removed my www folder in directory. The folder has many of my web development documents.

I just restart my system after it happened, and I installed some recovery software like gpart. Is there any way to recover my www directory and files?

Thanks in advance.

share|improve this question
Please do not write your titles in all capital letters – Casebash May 15 '10 at 6:14
Caps is for cruise control. :D – Shiki May 15 '10 at 7:35

At this moment I'd say it very unlikely that you'll be able to recover it. If you'd like to spend some hours trying it, read carefully the ext3 undelete howto and see if ext3grep can help you:

Power down the machine and use another disk for the operations.

share|improve this answer
Hi João Miguel, welcome to Super User. Please note Are taglines & signatures disallowed? Enjoy! – Arjan May 15 '10 at 7:36

Unplug the drive immediately and don't write anything to it. Mount it as read-only and try to use data-recovery tools to see if you can recover your folder.

share|improve this answer
Hai vivin., O God., I just restart after my system when it happens., and i install some recovery software like gpart. is theri any possibilities to recover my www directory and files., bcos its includes more of web development documents. pls pls pls i'm very afraid about that issue. let me know asap. Thnaks in Many more advance, – Al Mubarak May 15 '10 at 5:54
Well. Gpart is not a recovery utility to begin with. And if the data have been overwritten or something, the data is lost. (I don't know any good recovery software for ext4, there are good utils for XFS, reiserFS and of course NTFS. Next time, consider using a professional filesystem.) – Shiki May 15 '10 at 6:10
Without trying to sound unreasonable, this is a good lesson for using source control for your web development, like git or Mercurial. – user3463 May 15 '10 at 6:14
is there any possibilities to recover datas asap in ubuntu 9.04. – Al Mubarak May 15 '10 at 7:49

Your Answer


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.