Recommend File Recovery Tool for ext4 volume

ew9d

New member
Jun 18, 2023
10
0
1
Does a good tool exist to (read only) examine an lvm lv (or other arbitrary block device or file) containing a journaled ext filesystem and present a browsable interface of what was there, but has since been deleted, and let me copy things out, into a new directory restoredir.

I expect there are also orphaned filesystem objects with no direcotory context or file names, and the tool would have some way to "dump all orphans" to sequentially numbered files in /restoredir/

I would expect to launch a tool like this:
mkdir restoredir ; ./toolname /dev/vg_asdf/lv_example ./restoredir/

It would then NEVER MODIFY OR ATTEMPT TO MODIFY lv_example at all. and it would feel free to write to its heart's content into ./restoredir/
 
most common tools i see used for this sort of stuff are testdisk/photorec and ddrescure, though they are more professional tools so you'll have to do some research and be careful because they do have "readonly modes" but they can just as well trash any chances of recover if misused
 
I dunno if you're interested in this, but there are probably 10-15 backup tools... one of them, borg backup, lets you -mount- a backup on a dir (one thing you can do there, is copy everything in the mounted backup to somewhere else, for example with rsync or cp)... of course, borg has something else that's designed for restoring from a backup.

take a look here, a ddg search for linux backup:


=Jim
 

About Us

  • The Linux.Chat community is a multi-platform community for general Linux® support. We provide help and support for any Linux® distribution and aim to answer any questions you might have about Linux®. Discussion about the various aspects of Linux® and Free/Open Source software is also encouraged.

    Visit our communities website at Linux.Chat.
  • Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Quick Navigation

User Menu