Backup verification

r.peterson roe at sobmips.UUCP
Sun Feb 4 03:32:41 AEST 1990


>From article <1990Jan28.141935.24102 at virtech.uucp>, by cpcahil at 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



More information about the Comp.unix.wizards mailing list