Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 15:04:20 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tool for checking integrity of a file system DUMP
Message-ID:  <20131025130419.GA1969@tiny.Sisis.de>
In-Reply-To: <alpine.BSF.2.00.1310250655090.68059@wonkity.com>
References:  <20131025082352.GA15369@sh4-5.1blu.de> <alpine.BSF.2.00.1310250655090.68059@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131025130419.GA1969>