Subject: Re: verifying a backup
To: None <netbsd-help@NetBSD.ORG>
From: Simon Burge <simonb@telstra.com.au>
List: netbsd-help
Date: 06/30/1998 13:57:32
On Mon, 29 Jun 1998 20:28:08 +0200 (MET DST)  Christoph Badura wrote:

> mcr@sandelman.ottawa.on.ca (Michael C. Richardson) writes:
> 
> >  How can I verify a backup done with dump?
> >  "restore -tv" just reads the list of files, not all the blocks.
> 
> >  I could do:
> >	(restore -tv ; dd of=/dev/null)

The procedure we use around here is to get the last file name of the
tape (with "restove -tv"), back up to the start of the archive, and
then actually restore that file in a temporary directory somewhere.  I
suppose it would be easy to add a verify mode to restore to do this in
one step...

Simon.