this post was submitted on 05 Jun 2024
47 points (100.0% liked)

Linux

48338 readers
475 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 5 years ago
MODERATORS
 

I found these: Scalpel - but no longer maintaned. PhotoRec - but I don't know how well it works with Btrfs.

Maybe you have something better.

you are viewing a single comment's thread
view the rest of the comments
[–] boredsquirrel@slrpnk.net 6 points 5 months ago* (last edited 5 months ago) (5 children)

If you use BTRFS, there are also some people in Fedora Discuss that may know more about that.

Those tools probably all work with BTRFS. PhotoRec is btw related to the bigger Testdisk.

All these tools seem hardly maintained, but also kinda limited in what they need to do do its okay. Not with BTRFS, bcachefs, f2fs etc though as these may have new fancy tricks.


I was looking for an NTFS restore tool, and used photorec, testdisk, recuva (which very likely just uses testdisk or has cloned its code) and not yet scalpel.

I used Clonezilla where these tools are all preinstalled, it loads to RAM and just works really well.

Testdisk gave me tons of corrupted files with missing headers, but likely the correct ones. PhotoRec gave nothing useful, only stuff from the cache that was likely in the "trash" and not actually deleted. It seems it only recovers intact files, which are nearly never the needed ones.

I need a tool to restore the headers of common file types, as Windows stores them seperately afaik.


I guess a dedicated BTRFS tool could help a lot, as there are likely more ways to recover. But testdisk should work fine.

[–] Psyhackological@lemmy.ml 1 points 5 months ago (1 children)

Yeah I agree and understand. I guess btrfs is too young compared to exts file systems.

[–] boredsquirrel@slrpnk.net 5 points 5 months ago (1 children)

It is not young but there are simply little tools.

I should write an "awesome everything" list of BTRFS

  • snapper
  • btrbk
  • btrfs-assistant
[–] Psyhackological@lemmy.ml 1 points 5 months ago (1 children)

Those are for snapshots not like data crawing. More like a backup your data tool than you fucked up but maybe something is written so you can have it back.

[–] boredsquirrel@slrpnk.net 2 points 5 months ago (1 children)

Try r-linux ? It is supposed to be able to recover deleted files on BTRFS

[–] Psyhackological@lemmy.ml 2 points 5 months ago

R-Linux seems nice but I don't see any mention about BTRFS...

load more comments (3 replies)