LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-25-2011, 08:00 PM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Rep: Reputation: 10
Is there any way 2 restore the deleted files in linux


Hi all,


Is there any way 2 restore the deleted files in linux,

Example:
if i deleted unfortunately one file using rm -rf command..is there any way to get that file again..
 
Old 03-25-2011, 08:03 PM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
What filesystem are you using?
 
Old 03-25-2011, 08:04 PM   #3
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
ext3
 
Old 03-25-2011, 08:12 PM   #4
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
First thing you should do is turn the computer off, don't give it a chance to overwrite the data.

Then you should boot from a LiveCD that has PhotoRec on it, a quick search says http://ubuntu-rescue-remix.org/ would do nicely.

Here is a guide on using it:
http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step
 
Old 03-25-2011, 08:17 PM   #5
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Hi elliott,

Thanks for your Reply, i'll try this....there is no single command to restore process!!! like rm -rf ??? iam just asking.
 
Old 03-25-2011, 08:19 PM   #6
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
There is extundelete which may be easier to use, but it is not as reliable as PhotoRec

Maybe this will clear things up a little:
http://linux.sys-con.com/node/117909/
 
1 members found this post helpful.
Old 03-26-2011, 09:20 AM   #7
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Hi elliot,

Thanks for your Reply !!! it was really helpful to me
 
  


Reply

Tags
deleted, ext3, file recovery, photorec


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
How to restore deleted files in Gnome Commander? Doinkxs Linux - Software 2 03-26-2010 12:53 PM
Restore deleted files Winanjaya Linux - Newbie 5 01-09-2007 02:23 AM
how to restore deleted files? ice99 Linux - Security 13 04-13-2006 04:10 AM
Acc deleted key perl files - need to restore Steel Shepherd Linux - Software 1 02-25-2004 12:23 AM
how to restore deleted files ? ilyes Linux - General 3 08-01-2003 08:13 AM


All times are GMT -5. The time now is 11:56 PM.

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