info-cvs
[Top][All Lists]
Advanced

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

Re: cvs mirroring integrity


From: Greg A. Woods
Subject: Re: cvs mirroring integrity
Date: Fri, 5 Apr 2002 14:28:30 -0500 (EST)

[ On Friday, April 5, 2002 at 03:43:17 (-0800), plug bert wrote: ]
> Subject: Re: cvs mirroring integrity
>
> > mirror it back to a separate location on the master
> > server and compare
> > the files.....
> 
> Hmm...seems like this would take  some time...i was
> hoping for something real-time...just wish CVS had
> this kind of feature.

verifying file integrity across a network takes time and is lots of work
if you want to do it correctly

Ideally you'd find some highly secure out-of-band mechanism to copy the
repo back to the source machine for comparison, such as "sneaker-net"
with a tape or removable disk or something like that.....  :-)

> > Why don't you want to trust rsync or cvsup?
> 
> Just a little paranoid B).

If you're just a little paranoid then why not just run rsync or cvsup
twice in a row and assume that if the second run doesn't transfer
anything then the remote copy is probably identical.  You could also try
running 'rsync -n' from the remote copy and pretend to try to copy it
back over the original -- if rsync reports that it would do something
then the copies are not identical.

In every case you'll have to do something to ensure the original does
not get changed between "runs" (even if you use sneaker-net).  eg. lock
the original repo to prevent commits.

-- 
                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]