tool for checking integrity of a file system DUMP

Matthias Apitz guru at unixarea.de
Fri Oct 25 13:04:34 UTC 2013


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.

	matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, <guru at unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the freebsd-questions mailing list