From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 12:59:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5882A4D8 for ; Fri, 25 Oct 2013 12:59:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 110882489 for ; Fri, 25 Oct 2013 12:59:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9PCxvTF068126; Fri, 25 Oct 2013 06:59:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9PCxuhd068123; Fri, 25 Oct 2013 06:59:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 25 Oct 2013 06:59:56 -0600 (MDT) From: Warren Block To: Matthias Apitz Subject: Re: tool for checking integrity of a file system DUMP In-Reply-To: <20131025082352.GA15369@sh4-5.1blu.de> Message-ID: References: <20131025082352.GA15369@sh4-5.1blu.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 25 Oct 2013 06:59:57 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 12:59:59 -0000 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.