How to undelete file ext4 linux ubuntu

Using TestDisk to undelete files
Post Reply
Message
Author
Arnix
Posts: 2
Joined: 05 May 2016, 10:56

How to undelete file ext4 linux ubuntu

#1 Post by Arnix » 09 May 2016, 12:50

Hi.

For some unknown reason i lost one folder named "FamilyPic".
It can be that my kid pressed and deleted this folder but anyhow, am in big problem because bunch of family pictures can be lost.
Btw. trash is empty too.

I tryid to make undelete with TestDisk but there is no undelete option. If this is because of ext4 ?
If so, please write down step by step, what should i do to recover my files.

----------------------------------------------------------------------------------
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext4 305653992 139587080 150517472 49% /
udev devtmpfs 886872 4 886868 1% /dev
tmpfs tmpfs 179472 3200 176272 2% /run
none tmpfs 5120 0 5120 0% /run/lock
none tmpfs 897356 89296 808060 10% /run/shm
---------------------------------------------------------------------------------
THANK YOU IN ADVANCE FOR YOUR HELP !

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3628
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: How to undelete file ext4 linux ubuntu

#2 Post by cgrenier » 09 May 2016, 17:13

Yes, because of ext4, there is no undelete in TestDisk.
But you can use PhotoRec to recover your files. Be carefull to store the recovered files on another partition than the source.

Arnix
Posts: 2
Joined: 05 May 2016, 10:56

Re: How to undelete file ext4 linux ubuntu

#3 Post by Arnix » 12 May 2016, 20:16

Be carefull to store the recovered files on another partition than the source.
** I try with photorec but am not sure how to complete task. E.g. i came to part where i have to select partition but how should i select it...

Please select a destination to save the recovered files.
Do not choose to write the files to the same partition they were stored on.
Keys: Arrow keys to select another directory
C when the destination is correct
Q to quit
------------------------------
Now i get listed my whole home folder ( /home/myLap ) but i can not select any other partition.
Should i plug some USB stick and select /home/myLap/media/ ) to save the recovered files ?
Sorry for dumb question...

A.

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests