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

Re: Intelligent mirroring



On Thu, Aug 09, 2001 at 05:56:03PM +0200, Wessel Dankers wrote:
> 
> This would prevent the typical inconsistencies that occur in a mirror
> during updating and which are the #1 reason for people to use some sort of
> slower master site: what good is a fast mirror if you get a bunch of 404's?
> 

   How about

cp -al debian debian.new                      # copy using hardlinks
rsync -a upstream::debian/ debian.new
mv debian debian.old ; mv debian.new debian   # shorter race anyway
rm -rf debian.old

   Also useful for vbackup-like rsync scripts.



Reply to: