Best way to mirror CentOS locally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Kick off an rsync from your closest fast mirror, wait for this to
> complete, then setup a nightly cron job to keep in sync with this
> mirror. Something like...
>
> rsync -Pptrl --delete
> rsync://rsync.sunsite.org.uk/sites/msync.centos.org/CentOS/4/
> /local_repo/CentOS/4/

To speed things up (and to conserve disk space), you can add a 
--exclude=isos to the rsync command (and also --exclude="alpha" 
--exclude="ia64" --exclude="ppc" --exclude="s390*" --exclude="x86_64" 
if you only need/want the i386 stuff).

Alfred


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux