[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdbackup - verify



On Thu, Apr 04, 2002 at 03:18:17PM -0800, alberto wrote:
> 
> I made a backup using cdbackup:
>   (tar cpvf -  /dir_to_backup | cdbackup -m -v  -d /dev/scd0 -r  0,0,0 -s 16
>     -l 700 -a "Backup")
> 
> How can I verify that the archive is the same as the original?
> 
> Had I used a device like zip, I would do:
>        tar --compare --verbose -C / -f /dev/zip
> 
> May  I possibly use something like:
>     cdrestore -d /dev/scd0 -t 1
> 
> and pipe it into something that checks for differences?

Sounds linke you're on the right track. What about:

cdrestore -d /dev/scd0 -t 1 | tar --compare --verbose -C / -f - 

HTH
-- 
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
==== Today's fortune:
<Stealth> How do I bind a computer to an NIS server?
<Joey> Use a rope?
	-- Seen on #Debian

Attachment: pgpj6pGJX_FUJ.pgp
Description: PGP signature


Reply to: