[CentOS-mirror] Local mirror question

Karanbir Singh mail-lists at karan.org
Fri Jan 6 10:51:13 UTC 2006

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 
> /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

More information about the CentOS-mirror mailing list