tool for checking integrity of a file system DUMP

Warren Block wblock at
Fri Oct 25 17:38:26 UTC 2013

On Fri, 25 Oct 2013, Matthias Apitz wrote:

> El día Friday, October 25, 2013 a las 06:59:56AM -0600, Warren Block escribió:
>> On Fri, 25 Oct 2013, Matthias Apitz wrote:
>>> I'm using dump(8) for backups. Is there some tool to check the integrity
>>> of the produced dump? A 'restore -t -f ....' seems to look only into the
>>> header of the dump and not reading the full file...
>>> Ideally would be a binary comparisation of the files in the dump with
>>> the original files on disk, ofc directly after the dump done in single
>>> user mode.
>> It may be possible to use mtree(8)'s cksum to compare the original files
>> with those in the backup.
> Sorry for not beeing precise enough: I did not want to restore the files
> to disk, just reading the dump and comparing with the original. Would be
> nice if restore would have an option for this; -N is not strong enough I
> think.

I was thinking the output of restore could be piped into mtree, and that 
could be compared to the mtree output on the actual filesystem.

More information about the freebsd-questions mailing list