Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274079

Re: recover files

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: recover files
Date 2024-10-26 17:10 +0200
Message-ID <JBQAp-4mZJ-19@gated-at.bofh.it> (permalink)
References <JBxo5-4b7j-9@gated-at.bofh.it> <JBJSh-4iHX-5@gated-at.bofh.it> <JBNjb-4kSH-11@gated-at.bofh.it> <JBP1D-4lYA-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 26/10/2024 20:26, Hans wrote:
> On 26/10/2024 18:37, Max Nikulin wrote:
>> however I can not figure out what approach
>> extundelete or other tools may use to noticeably improve success rate
>> since important data is overwritten.
>>
> As far as I know, it does not use journal. It is looking at the data it reads
> (form the imagefile) and then finds headers and footers (similar to scalpel)

apt show extundelete
[...]
Description: utility to recover deleted files from ext3/ext4 partition
  extundelete uses the information stored in the partition's journal to 
attempt
  to recover a file that has been deleted.

So it sounds like FS journal is the primary source for recovery and thus 
my expectation that it can not restore files written long time ago and 
that are not accessed recently. (Updating access time causes creating a 
journal record for inode with a copy of block list.)

>>> Last time I had to revover 2 TB music files for a friend, and photorec
>>> gave me all files back.
>>
>> Of course, a few MB size files with reach metadata (audio, image, zip)
>> is an optimal case for photorec and foremost. For 1 hour long .mp3 files
>> fragmentation causes recovery of only some parts of files (at least in
>> the case of FAT32).
> 
> Ah no, these were not only a few audio files. These were about 90.000 audio
> files

Sorry, I was unclear. I mean fair probability to recover files in the 
range of 1-5 MB each, but large files (50-200 MB or more) may be 
troublesome. The tool limitation is contiguous span of blocks. A disk 
dedicated to music collection is a much easier case than e.g. mix of 
files having wide range of types and sizes in home directories.

>>> Also foremost is another tool of my favourites, as it is easy to use.
>>
>> I am curious what are cases when it may perform noticeably better than
>> photorec.
> 
> Oh, you will have noticed, that I not mentioned some of the commercial tools
> like FTK or ENCASE. I am not using these, I do not like those (for some
> personal reasons) and the free tools are fully satisfying my needs.

My question was specific to foremost vs. photorec. Your words make me 
thinking that I have missed some feature of foremost.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

recover files louletian@sina.com - 2024-10-25 20:40 +0200
  Re: recover files Hans <hans.ullrich@loop.de> - 2024-10-25 21:10 +0200
    Re: recover files Max Nikulin <manikulin@gmail.com> - 2024-10-26 05:00 +0200
      Re: recover files <tomas@tuxteam.de> - 2024-10-26 08:30 +0200
      Re: recover files Hans <hans.ullrich@loop.de> - 2024-10-26 10:00 +0200
        Re: recover files Max Nikulin <manikulin@gmail.com> - 2024-10-26 13:40 +0200
          Re: recover files Hans <hans.ullrich@loop.de> - 2024-10-26 15:30 +0200
            Re: recover files Max Nikulin <manikulin@gmail.com> - 2024-10-26 17:10 +0200
              Re: recover files Hans <hans.ullrich@loop.de> - 2024-10-26 18:40 +0200
                Re: recover files <tomas@tuxteam.de> - 2024-10-26 18:50 +0200

csiph-web