Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2003 14:09:33 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "Ivo R. Tonev" <ivo@tonev.pro.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rsync mirror
Message-ID:  <20031203140933.GA28773@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <50955.200.193.235.247.1070456292.squirrel@webmail.bgpress.com.br>
References:  <50955.200.193.235.247.1070456292.squirrel@webmail.bgpress.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 03, 2003 at 10:58:12AM -0200, Ivo R. Tonev wrote:
> how I can create a src and ports mirror ???

Most people would use cvsup(1) to do that -- for files kept under CVS
control, it's actually more efficient than rsync(1), since it can
transfer exactly the diff's between versions of a file.  (In the case
of non-text files that don't make very good diff's it actually uses
precisely the rsync algorithm).

See:

    http://www.cvsup.org/faq.html
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

If you absolutely have to use rsync, then some of the FreeBSD mirrors
do support rsync -- closest to you is ftp3.br.FreeBSD.org/pub/FreeBSD/
but the FreeBSD stuff is hidden several directories deep:

    % rsync rsync://ftp3.br.FreeBSD.org/ftp/pub/FreeBSD/

see also:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.h=
tml
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-rsync=
=2Ehtml
If you want a local copy of the entire FreeBSD cvs repository, rather
than just checked out copies of the ports and src trees, install the
net/cvsup-mirror port.  This will run an interactive script that lets
you configure mirroring of the repository.  Nb. you should get
clearance from the upstream mirror that you copy the stuff from before
setting this up.  Also please consider if you really do need to have
the full repository or not: you'll need it only if you're doing
significant development work on FreeBSD itself, or if you will be
acting as a mirror server providing sources for a reasonably large
population of other FreeBSD users.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/ze6ddtESqEQa7a0RAh3dAJ9S2HmbSGooZ/hV5lv2NcQ5wWY65QCgmjiA
/YkTMwPhcYEDh/JMTBrqUQ4=
=/rVf
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031203140933.GA28773>