Deleted folder/file recovery

Asked by im2tonic

Looking for a free utility I can use to undelete folders and files accidentally deleted from the trash bin.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ubuntu User
Solved:
Last query:
Last reply:
Revision history for this message
Ubuntu User (anotherubuntuuser) said :
#1

I found nothing for ext3 filesystems (which I think is the ubuntu default).

If you deleted a file from an ext2 (older) linux filesystem, then you can install "recover" or "e2undel" (Applications -> Accessories -> Terminal. sudo apt-get install recover e2undel). These programs DO NOT work on ext3 filesystems.

To see what filesystems you have configured, look at the contents of your /etc/fstab files (Applications -> Accessories -> Terminal. cat /etc/fstab).

If it says ext2 in the <type> column, you are good to go. If not, you will have to use deeper tools like SleuthKit or tricks like grepping the device and other forensic deep filesystem knowledge stuff to recover the file.

If these comments solved your problem, please consider closing this request as answered. You can find useful information on managing your support requests here: https://wiki.ubuntu.com/SupportRequests

If you are still having problems, let us know and we'll keep working on them.

Thanks-

Jim Jones

Revision history for this message
williamts99 (williamts99) said :
#2

Might want to check out TestDisk/PhotoRec at http://www.cgsecurity.org/

PhotoRec might surprise you with how many different file formats it will recover. http://www.cgsecurity.org/wiki/File_Formats_Recovered_By_PhotoRec

Also there is a liveCD called Recovery is Possible(RIP) that is quite impressive
http://en.wikipedia.org/wiki/Recovery_Is_Possible the link is at the bottom or at freshmeat.net http://freshmeat.net/projects/recoveryispossible/

dcfldd and Formost can be used if that doesn't work
http://dcfldd.sourceforge.net/
http://foremost.sourceforge.net/

Hope this helps, you can recover pretty much anything that is recoverable with software with these tools listed. Good Luck

Revision history for this message
im2tonic (im2tonic) said :
#3

Haven't had a chance to try any of these. Still wrestling with another recovery tool that was suggested here. Also trying a Windows-based tool. I'm sure something will work. Meanwhile, close it out. If I get stuck, I'll ask under a new ticket.
Thanks ...Fred

...............................................................................

williamts99 <email address hidden> wrote: Support request #2178 on Ubuntu changed:
https://launchpad.net/distros/ubuntu/+ticket/2178

Comment:
Might want to check out TestDisk/PhotoRec at http://www.cgsecurity.org/

PhotoRec might surprise you with how many different file formats it will recover. http://www.cgsecurity.org/wiki/File_Formats_Recovered_By_PhotoRec

Also there is a liveCD called Recovery is Possible(RIP) that is quite impressive
http://en.wikipedia.org/wiki/Recovery_Is_Possible the link is at the bottom or at freshmeat.net http://freshmeat.net/projects/recoveryispossible/

dcfldd and Formost can be used if that doesn't work
http://dcfldd.sourceforge.net/
http://foremost.sourceforge.net/

Hope this helps, you can recover pretty much anything that is recoverable with software with these tools listed. Good Luck

---------------------------------
Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail.

Revision history for this message
im2tonic (im2tonic) said :
#4

Jim, struggling with this one, probably because I'm totally new to Linux. See embedded comments below. Go ahead and close out the ticket, but know that, like Ahnold, I may be back. Thanks for your help ...Fred

................................................................................

Jim Jones <email address hidden> wrote: Support request #2178 on Ubuntu changed:
https://launchpad.net/distros/ubuntu/+ticket/2178

Comment:
I found nothing for ext3 filesystems (which I think is the ubuntu default).

If you deleted a file from an ext2 (older) linux filesystem, then you can install "recover" or "e2undel" (Applications -> Accessories -> Terminal. sudo apt-get install recover e2undel). These programs DO NOT work on ext3 filesystems.

To see what filesystems you have configured, look at the contents of your /etc/fstab files (Applications -> Accessories -> Terminal. cat /etc/fstab). [couldn't get this to work]

If it says ext2 in the column, you are good to go. If not, you will have to use deeper tools like SleuthKit [struggling with SleuthKit but haven't given up yet] or tricks like grepping [I don't even want to ask] the device and other forensic deep file system knowledge stuff to recover the file.

If these comments solved your problem, please consider closing this request as answered. You can find useful information on managing your support requests here: https://wiki.ubuntu.com/SupportRequests

If you are still having problems, let us know and we'll keep working on them.

Thanks-

Jim Jones

---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.

Revision history for this message
williamts99 (williamts99) said :
#5

To install:

Lets start with the first one Photorec. Just have to install testdisk, either from synaptic, or the terminal.

sudo apt-get install testdisk

Same with foremost and dcfldd

The second one is an bootable CD Image, you would burn the image to a CD and boot from it.

Revision history for this message
williamts99 (williamts99) said :
#6

If these comments have solved your problem, please consider marking this request as answered. https://wiki.ubuntu.com/SupportRequests contains useful information about managing your support request.

If you are still having problems, let us know and we'll keep working on them.

Best Regards,

Williamts99

Revision history for this message
im2tonic (im2tonic) said :
#7

answered

Revision history for this message
COKEDUDE (cokedude) said :
#8

Thx for all the information.