This is what I have as my script for testing on a public mirror. It does not yet point to the master server. #!/bin/bash echo "--BEGINNING REPOSITORY SYNC AT `date`--" if [ -f /var/lock/subsys/rsync_updates ]; then echo "Updates via rsync already running." echo "--ERROR: REPOSITORY SYNC ABORTED AT `date`--" exit 0 fi if [ -d /share/linux-os/centos/ ] ; then echo "--SYNCING CentOS REPOSITORY, PLEASE WAIT--" touch /var/lock/subsys/rsync_updates time rsync -avSHP --delete /" --exclude "HEADER.html"" --no-motd mirror.us.oneandone.net:centos /share/linux-os/centos/ /bin/rm -f /var/lock/subsys/rsync_updates echo "--CentOS REPOSITORY SYNC FINISHED AT `date`--" else echo "Target directory /share/linux-os/centos/ not present." echo "--ERROR: REPOSITORY SYNC ABORTED AT `date` --" fi This is the output that it gives me. [root at mirrors ~]# ./test.sh --BEGINNING REPOSITORY SYNC AT Wed Feb 25 10:19:16 EST 2015-- --SYNCING CentOS REPOSITORY, PLEASE WAIT-- Unexpected remote arg: mirror.us.oneandone.net:centos rsync error: syntax or usage error (code 1) at main.c(1201) [sender=3.0.6] real 0m0.002s user 0m0.000s sys 0m0.002s --CentOS REPOSITORY SYNC FINISHED AT Wed Feb 25 10:19:16 EST 2015-- On Wed, Feb 25, 2015 at 9:58 AM, Warren Myers <volcimaster at gmail.com> wrote: > Also - as a single point of reference (before IP filtering was done), I > found out how long it would take to do a full mirror (~80GB), and it's > about 8 hours at ~2.5 MB/s: > > > http://antipaucity.com/2014/05/22/soup-to-nuts-mirroring-of-centos/#.VO3i2FPF83Q > > On Wed, Feb 25, 2015 at 9:57 AM, Warren Myers <volcimaster at gmail.com> > wrote: > >> I don't use a lockfile (and my mirror is in Germany - hence the eu >> reference), but I use the following: >> >> 0 3,15 * * * rsync -aqzH --delete eu-msync.centos.org::CentOS >> /var/www/centos/media >> >> On Wed, Feb 25, 2015 at 9:29 AM, Kenny Carsey <kcarsey at wvstateu.edu> >> wrote: >> >>> Hello, >>> I have set up and did the initial sync for a new mirror in West >>> Virginia. After looking at the mirrors list, I believe this is the first >>> mirror to be located in WV >>> >>> HTTP: http://centos.mirrors.wvstateu.edu >>> Sync schedule: Every 12 hrs >>> Bandwidth: 300Mbps >>> Location: Institute, WV, USA >>> Sponsor: West Virginia State University >>> Sponsor URL: www.wvstateu.edu >>> IP to authorize: 192.73.23.18 >>> Email contact: kcarsey at wvstateu.edu >>> >>> Also, I am having issues getting a good rsync script working with a lock >>> file. Could someone provide a working example that I could modify to fit >>> my configuration? Would be much appreciated! >>> >>> >>> >>> >>> _______________________________________________ >>> CentOS-mirror mailing list >>> CentOS-mirror at centos.org >>> http://lists.centos.org/mailman/listinfo/centos-mirror >>> >>> >> >> >> -- >> *Warren Myers* >> http://antipaucity.com >> http://twitter.com/warrenmyers >> http://www.linkedin.com/in/warrenmyers >> https://www.digitalocean.com/?refcode=d197a961987a >> TXT WMYERS to 50500 | http://contxts.com >> > > > > -- > *Warren Myers* > http://antipaucity.com > http://twitter.com/warrenmyers > http://www.linkedin.com/in/warrenmyers > https://www.digitalocean.com/?refcode=d197a961987a > TXT WMYERS to 50500 | http://contxts.com > > _______________________________________________ > CentOS-mirror mailing list > CentOS-mirror at centos.org > http://lists.centos.org/mailman/listinfo/centos-mirror > > -- Kenny Carsey Systems Administrator West Virginia State University 108 Hamblin Hall PO Box 1000 Institute, WV 25112 kcarsey at wvstateu.edu (304)204-4337 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20150225/16d0561a/attachment-0006.html>