this post was submitted on 05 Jan 2026
32 points (97.1% liked)

Linux

64972 readers
496 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

I accidentally deleted a zstd compressed image of a drive that I backed up. That drive has been put to use elsewhere, so is little chance I can recover the original partitions from it.

I immediately unmounted the backup drive I had the image stored on and it has not been written to since. It contains an LVM physical partition with a single LUKS encrypted ext4 volume.

I've tried using photorec on the ext4 volume, but it seems to be recognizing files that were inside the compressed image, and not the image itself. Text files that are "recovered" contain many invalid characters, and other filetypes are unusable.

While I could cut my losses now and move on without that backup image, I would prefer if I could recover it and the data inside. I've looked elsewhere across the internet, and haven't found any useful information regarding whether this is possible or not.

EDIT: I used DMDE that was recommended and I while the UI was a little confusing at first I was able to successfully recover my partition file!

you are viewing a single comment's thread
view the rest of the comments
[–] powermaker450@discuss.tchncs.de 1 points 3 months ago

I'll take a look into it, thanks for the suggestion