From: Stelian P. <st...@po...> - 2004-12-14 14:03:06
|
On Tue, Dec 14, 2004 at 05:20:36AM -0800, Kenneth Porter wrote: > Is there any code to verify only directory entries and not file contents? > I'd like something that can do a fast sanity check. This could be easily added with a command line argument to restore but it is not present today. > I'm also trying to figure out if there's a way to check that all files on > the filesystem are in the backup, or detect which ones are not. Something like: restore tf foo.dump | tail +5 | awk '{ print $2 }' | sort > /tmp/tapelist cd /mountpoint && find . | sort > /tmp/disklist diff -u /tmp/tapelist /tmp/disklist ? Stelian. -- Stelian Pop <st...@po...> |