From owner-freebsd-current Wed Nov 20 08:58:35 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA17104 for current-outgoing; Wed, 20 Nov 1996 08:58:35 -0800 (PST) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA17095 for ; Wed, 20 Nov 1996 08:58:29 -0800 (PST) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.7.6/8.7.3) with ESMTP id IAA05344; Wed, 20 Nov 1996 08:56:33 -0800 (PST) Message-Id: <199611201656.IAA05344@austin.polstra.com> To: taavi@uninet.ee Subject: Re: Mirroring www.freebsd.org? Newsgroups: polstra.freebsd.current In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: freebsd-current@freebsd.org Date: Wed, 20 Nov 1996 08:56:33 -0800 From: John Polstra Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article taavi@uninet.ee writes: > How to mirror freebsd WEB server when sup > is not available anymore? As another person already pointed out, CVSup isn't really intended for this (yet). But it _can_ do the job. You need a supfile line something like this: www release=current host=cvsup.freebsd.org hostbase=/home base=/usr \ prefix=/usr/local/www delete old use-rel-suffix (I split it into 2 lines to make it easier to read. You can't really do that.) As always, change "base" and "prefix" to reflect the layout of your site, and add "compress" if you're using a slow link. Notice that unlike other cvsupfiles, you must specify "release=current" here. There's no CVS repository in the picture for this particular collection. Caveat: This isn't perfect. CVSup doesn't handle symbolic links properly. It always follows them to the real files, rather than preserving them as links. There are quite a few symbolic links in the www tree, and as a result you'll get copies of files where you used to get links to them. Whereas the www/data tree on freefall is 8.7 MB, your copy will be 11.6 MB. Also, when a file referenced by symbolic links changes on freefall, each of your copies will be transferred separately. Updates are not intelligent in any sense; any change to a file causes the whole thing to be transferred. I'm going to address these deficiencies in the future, as time permits. My primary focus is still on mirroring CVS repositories, though. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth