[CentOS-mirror] Local mirror question
vavarachen at gmail.com
Fri Jan 6 18:10:54 UTC 2006
Ah! Thanks Karnbir. I will make the necessary changes to my script. Also
now it explains why all those symlinks existed.
On 1/6/06, Karanbir Singh <mail-lists at karan.org> wrote:
> Vijay Avarachen wrote:
> > Stephen,
> > Actually I didn't have to do any of that...it was matter of
> > simply changing the rsync root. Here is my script:
> > #!/bin/sh
> > EXCLUSION="/etc/rsync-exclude.list"
> > RSYNC_HOST="rsync.planetmirror.com <http://rsync.planetmirror.com>"
> > RSYNC_ROOT="centos/4.2/"
> > DESTINATION="/home/ftp/pub/Linux/CentOS/4.2/"
> > /usr/bin/rsync -aqzH --exclude-from=$EXCLUSION --delete
> > $RSYNC_HOST::$RSYNC_ROOT $DESTINATION
> > /bin/chown -R vijay.avarachen:spduslisadmins $DESTINATION
> The point that Stephen was trying to make is : with your rsync_root set
> to centos/4.2/ - when the next update is released, you will end up with
> a blank mirror.
> by setting it to centos/4/ you stay with the most recently released pkgs.
> Karanbir Singh : http://www.karan.org/ : 2522219 at icq
> CentOS-mirror mailing list
> CentOS-mirror at centos.org
"Knowledge is the only wealth that grows as you spend it, and diminishes as
you save it."
-- ancient Sanskrit saying
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS-mirror