Path: utzoo!attcan!sobmips!roe From: roe@sobmips.UUCP (r.peterson) Newsgroups: comp.unix.wizards Subject: Re: Backup verification Message-ID: <1990Feb3.163241.12714@sobmips.UUCP> Date: 3 Feb 90 16:32:41 GMT References: <1990Jan28.141935.24102@virtech.uucp> Organization: Sobeco Group - Montreal, Canada Lines: 18 From article <1990Jan28.141935.24102@virtech.uucp>, by cpcahil@virtech.uucp (Conor P. Cahill): > > If all you want to do is verify that the files are on the tape you can > do the following: > > find . -depth -print | cpio -oBv > /dev/ct 2> /tmp/filelist > cpio -itB < /dev/ct > /tmp/filelist2 > diff /tmp/filelist /tmp/filelist2 > > This too depends upon the file system not changing. Not really. What you are comparing is the list of files that cpio generates as data goes onto the tape with the list you read back. These should always be identical (unless read errors occur). -- One makes strong assumptions delving Roe Peterson into the beginning of the universe... {uunet,mcgill-vision}!sobeco!roe - Stephen Hawking, Cambridge