[CentOS-mirror] New Mirror Setup Questions
brandond at uoregon.edu
Tue Mar 4 22:21:44 UTC 2008
I would just do this:
$rsync --exclude '/2*' --exclude '/3*' --exclude '/4*' $mirror $local
Also... if you're only mirroring 5, and only really intend it to be for
your personal use... maybe you'd just be better off syncing from a tier
2 mirror and keeping it private?
> Forgive me for being somewhat green here
> I have a few more questions. Does this script look reasonable? Is
> there anything I need to adjust to use the lock files you posted?
> I want to restrict my mirror to Ver 5 to save on space and bandwidth
> (and since realistically it probably won't be used by many people other
> than me).
> Please have a look at this script:
> archlist="i386 x86_64"
> baselist="os updates"
> for arch in $archlist
> for base in $baselist
> $rsync $remote $local/$ver/$base/$arch/
More information about the CentOS-mirror