Recover specific files from deleted EXT4 partition

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Recover specific files from deleted EXT4 partition

#1 Post by cgrenier »

It's not possible to recover deleted file by name from an ext4 filesystem.
To recover your files, the recommanded way is in the following order
- to recover your ext4 partition: run TestDisk, Analyze, Qick Search and if your ext4 partition isn't listed, Deeper Search, if the ext4 partition is found, set it as P(rimary), on next screen, choose Write, confirm, Quit and restart your computer
- to recover files from the free space of the ext4 partition using PhotoRec: run PhotoRec, select the disk, select the Linux partition, choose ext2/3/4, [Free]...

Locked