Recover Deleted Files: Unsuccessful wirh TestDisk

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
nasheayahu
Posts: 83
Joined: Fri Dec 18, 2020 12:20 pm

Recover Deleted Files: Unsuccessful wirh TestDisk

#1 Post by nasheayahu »

Morning, on a 500GB drive, I only used so far 36GB. I permanently deleted some files using the root option menu with Dolphin and was unsuccessful using TestDisk, Is there another recommended utility for this system to be able to recover or their just gone forever?

User avatar
joeb
Posts: 2
Joined: Wed May 22, 2024 7:40 am

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#2 Post by joeb »

I had some success using ext4magic.
I also tried extundelete.
I was only able to recover about 20% of the deleted files.

User avatar
bradhamilton
Posts: 12
Joined: Sat Apr 26, 2025 9:13 pm

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#3 Post by bradhamilton »

nasheayahu wrote: Sun May 11, 2025 7:32 am Morning, on a 500GB drive, I only used so far 36GB. I permanently deleted some files using the root option menu with Dolphin and was unsuccessful using TestDisk, Is there another recommended utility for this system to be able to recover or their just gone forever?
"Never say never", but with that said, these kinds of tools are only 100% successful if the space marked as "free" by a delete option has not been re-used. The longer it takes to discover your mistake, the less chance of full recovery.

If you made backups of the files in the affected partition, or made clones of the partitions or the whole disk, your best bet in recovering your files would be to restore the affected partition/disk. If you haven't made backups on a regular basis, this mistake would be a "wake up" call to initiate regular backups of important data.

Sorry if none of this is helpful.
Brad - Northeast USA

Kernel: 6.12.20-amd64 [6.12.20-1~mx23ahs]
Desktop: Xfce v: 4.20.0
Dell Vostro 15 5510
“When in danger or in doubt, run in circles, scream and shout.” - did you make a backup???

User avatar
CharlesV
Global Moderator
Posts: 7177
Joined: Sun Jul 07, 2019 5:11 pm

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#4 Post by CharlesV »

+1 for bradhamilton, I will only add the more writes you have to the drive after deletion, the lower your chances of recovery.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
JmaCWQ
Posts: 271
Joined: Fri Sep 09, 2016 4:42 am

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#5 Post by JmaCWQ »

Photorec just yesterday saved files I was too lazy to backup and deleted with rm -fr %F by mistake.
On an external drive, Xfce.
Got them all back thankfully.

User avatar
wdscharff
Posts: 1097
Joined: Mon Feb 24, 2020 1:07 am

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#6 Post by wdscharff »

Sorry, no help, just experience.
I've never used recovery programs for "real-life situations," only for testing, and the results were often frustrating.
I use a backup strategy that simply rules out disasters like yours (and many others). Multiple backups on different drives, for example, including regular backups to off-site storage!
My data has survived multiple hardware crashes and other disasters since 1986 (from hard drive failures to fire and floods). If something has value, it should be backed up; the type of backup should be proportionate to its value.
my working horse Desktop AMD Ryzen 9 3900x, 32GB Ram // SSD ... enough
mx-fluxbox, what else?

In nature there are neither rewards nor punishments.
There are consequences.


my wallpaper gallery

Senpai
Posts: 486
Joined: Tue Nov 19, 2019 7:39 am

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#7 Post by Senpai »

nasheayahu wrote: Sun May 11, 2025 7:32 am Morning, on a 500GB drive, I only used so far 36GB. I permanently deleted some files using the root option menu with Dolphin and was unsuccessful using TestDisk, Is there another recommended utility for this system to be able to recover or their just gone forever?
Hi:
I have had very good experience recovering files after wrongly formatting a partition with data, with this graphical tool R-Linux, it is free to recover linux formats (ext2, 3 and 4).
https://www.r-studio.com/free-linux-rec ... load.shtml, for NTFS there is a paid option.
I hope it will help you
Last edited by Senpai on Mon May 12, 2025 9:56 am, edited 1 time in total.

User avatar
m_pav
Developer
Posts: 1758
Joined: Sun Aug 06, 2006 3:02 pm

Re: Recover Deleted Files: Unsuccessful wirh TestDisk

#8 Post by m_pav »

I second r-studio for Linux and I've used it a fair number of times over a number of years to recover data from Linux, Windows and MAC volumes where a license is required for the last 2

For commercial use, they seem to have the fairest pricing and for small time players like myself, their 90 day license is a perfect fit, but I hate their single installation lock-in, where single installation refers to the OS, not the machine. Reinstalling the same OS on the same hardware is seen as a different installation rendering the license void, therefore, it is imperative one has something like timeshift in operation.

This is only here so others in a similar position to myself can be well aware of the pitfalls of their type of licensing. Other vendors allow you to de-license a machine/installation and re-license to another up to a certain number of times within a specified time frame, and some have no de-re-license qty restriction whatsoever, which I think is a much fairer type.

When I first stumbled over this single installation complete rip-off trip hazard around 2016, I flipped them the birdie and used something else for about 6 years, it was never quite as good but I learned a few new tricks with Open Sources packages and went without for another 3 years so they lost in total 9 years of my business, all for the sake of their stupid licensing, which I made sure to tell them of when I returned at the beginning of this year.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

Post Reply

Return to “MX Help”