LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-12-2006, 08:35 AM   #1
lavluda
Member
 
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89
Blog Entries: 2

Rep: Reputation: 15
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.
 
Old 02-12-2006, 09:23 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,936
Blog Entries: 5

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
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.
 
Old 02-12-2006, 09:41 AM   #3
kloss
Member
 
Registered: Nov 2004
Location: France & Germany
Distribution: (Pure) Debian Etch & Sid
Posts: 116

Rep: Reputation: 15
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.

++
 
Old 02-12-2006, 06:32 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
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
 
Old 02-12-2006, 11:04 PM   #5
lavluda
Member
 
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89
Blog Entries: 2

Original Poster
Rep: Reputation: 15
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
 
Old 02-12-2006, 11:11 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
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.
 
Old 02-13-2006, 07:13 AM   #7
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,936
Blog Entries: 5

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
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.
 
Old 02-16-2006, 12:23 AM   #8
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
http://www.data-recovery-software.ne...Recovery.shtml
 
Old 02-16-2006, 02:27 AM   #9
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
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.
 
Old 02-16-2006, 04:02 AM   #10
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
It works fine
i have recovered so many time with it,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
deleted files - reiser JS recovery eponymous Linux - Hardware 0 10-15-2004 03:06 PM
Data Recovery plisken General 3 07-04-2004 01:06 PM
recovery files deleted in Linux Nandex Linux - Software 8 02-14-2004 04:22 PM
data recovery bardinjw General 1 02-12-2004 01:59 AM
data-recovery lobo Linux - General 3 01-24-2002 08:17 AM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration