LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   data recovery (deleted by rm -R) (http://www.linuxquestions.org/questions/debian-26/data-recovery-deleted-by-rm-r-414513/)

lavluda 02-12-2006 09:35 AM

data recovery (deleted by rm -R)
 
Hi, just now i lost some of my data by the command rm -R
Now i need to recover the data. How is it possible. I have not shutdown my computer yet.

Please answere.

MensaWater 02-12-2006 10:23 AM

Unfortunately you can't unless you have a backup to restore.

Unlike DOS/Windows the Unix/Linux OS assumes you mean what you type so won't ask you if you're really really sure before it does what you tell it. Files deleted are actually deleted so there is no undelete feature.

kloss 02-12-2006 10:41 AM

You may try a pseudo-solution like this one:

http://recover.sourceforge.net/linux/

But the results are very hasardous and it does not contradict what jlightner said : there is no straightforward method.

++

kushalkoolwal 02-12-2006 07:32 PM

Quote:

Originally Posted by lavluda
Hi, just now i lost some of my data by the command rm -R
Now i need to recover the data. How is it possible. I have not shutdown my computer yet.

Please answere.

I was in the same situation as you are right now and this is what I can say:
http://www.linuxquestions.org/questi...d.php?t=388036

Good luck. I think the chances are very less if you have an ext3 filesystem. Incase if you are able to find the solution please let us know.

Thanks

lavluda 02-13-2006 12:04 AM

Thanks all.

I tried my best with searching the hole net :( . But go no solution for my resierFs partation. And give up.


From this, i learn, never use resierFs, better use ext2 or 3 :(

gilead 02-13-2006 12:11 AM

Well, speaking as someone who uses reiserfs and ext3, there's at least 2 other good things to learn from this:
- Test out a command that deletes files with ls first to see if it's what you want to do (not always possible, but a good way to make removing files a deliberate action; and
- Backup your system and your data even more regularly than you think you need to.

MensaWater 02-13-2006 08:13 AM

Yes - rather than changing FS type you should do periodic backups.

Also before doing an rm with metacharacters (*, ?) try doing an ls with the same ones - that will show you what it will find before you actually do the rm.

jayakrishnan 02-16-2006 01:23 AM

http://www.data-recovery-software.ne...Recovery.shtml

kushalkoolwal 02-16-2006 03:27 AM

Quote:

Originally Posted by jayakrishnan

Caution: I had tried using their tool and it did not work on my ext3 file system. I suggest first use their evaluation version and then only think of purchasing it.

jayakrishnan 02-16-2006 05:02 AM

It works fine
i have recovered so many time with it,


All times are GMT -5. The time now is 04:39 AM.