From owner-freebsd-questions@FreeBSD.ORG Mon Mar 7 16:21:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6006616A4CE for ; Mon, 7 Mar 2005 16:21:44 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C34A43D54 for ; Mon, 7 Mar 2005 16:21:42 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j27GLPLh031936 for ; Mon, 7 Mar 2005 18:21:26 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j27GLdUU001484 for ; Mon, 7 Mar 2005 18:21:39 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j27GLcg8001483 for freebsd-questions@freebsd.org; Mon, 7 Mar 2005 18:21:38 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 7 Mar 2005 18:21:38 +0200 From: Giorgos Keramidas To: freebsd-questions@freebsd.org Message-ID: <20050307162138.GA1307@orion.daedalusnetworks.priv> References: <1946173739.20050307145644@wanadoo.fr> <200503071447.j27ElWW10343@clunix.cl.msu.edu> <1145660633.20050307160515@wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1145660633.20050307160515@wanadoo.fr> Subject: Re: What's the easiest way to do a backup and verify? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 16:21:44 -0000 On 2005-03-07 16:05, Anthony Atkielski wrote: >Jerry McAllister writes: >> The only real thing you can do is to read back the tape and look for >> a couple of files with fairly high inode numbers for each file system >> dumped. If you can read them, you can assume the tape is readable. > > I'm surprised there isn't just some way of reading the tape and doing > a few simple sanity checks on the data (without comparing it to > anything). A drive or tape error would likely show on such checks. If cpio(1) and the 'crc' format has been used to create an archive on a tape, then cpio can verify that the files on the tape have the same checksum: cpio -i --only-verify-crc < /dev/st0 The restore(8) utility has a -N option that can be used to verify a backup after dump(8) has been used. - Giorgos