On Tue, Dec 20, 2011 at 11:30:39 -0600, Mike Chambers <mike@xxxxxxxxxx> wrote: > Due to some HD issues on my data drive, I lost all my scripts and such. > Anyone have/use a simple little rsync script to mirror that can use to > run off crontab? This script will be edited for various mirrors. It > will run anywhere from every 4-6 hours and once a day as well. > > Am googling as well but not like what am seeing so far or seem way to > much. This is the guts of my rsync to do release and arch specific rsyncs: rsync -rltHvz --delete-after --include=/releases --include=/updates --exclude=/' *' --include=/releases/${RELEASE} --exclude=/releases/'*' --include=/releases/${ RELEASE}/Everything --include=/releases/${RELEASE}/Fedora --exclude=/releases/${ RELEASE}/'*' --include=/releases/${RELEASE}/Everything/${ARCH}/ --exclude=/relea ses/${RELEASE}/Everything/'*' --include=/releases/${RELEASE}/Everything/${ARCH}/ os/ --exclude=/releases/${RELEASE}/Everything/${ARCH}/os/drpms --exclude=/releas es/${RELEASE}/Everything/${ARCH}/'*' --include=/releases/${RELEASE}/Fedora/${ARC H} --exclude=/releases/${RELEASE}/Fedora/'*' --include=/releases/${RELEASE}/Fedo ra/${ARCH}/iso --exclude=/releases/${RELEASE}/Fedora/${ARCH}/'*' --include=/rele ases/${RELEASE}/Fedora/${ARCH}/iso/'*'-netinst.iso --exclude=/releases/${RELEASE }/Fedora/${ARCH}/iso/'*' --include=/updates/${RELEASE} --include=/updates/testin g --exclude=/updates/'*' --include=/updates/${RELEASE}/${ARCH} --exclude=/update s/${RELEASE}/'*' --exclude=/updates/${RELEASE}/'*'/debug --exclude=/updates/${RE LEASE}/'*'/drpms --include=/updates/testing/${RELEASE} --exclude=/updates/testin g/'*' --include=/updates/testing/${RELEASE}/${ARCH} --exclude=/updates/testing/$ {RELEASE}/'*' --exclude=/updates/testing/${RELEASE}/'*'/debug --exclude=/updates /testing/${RELEASE}/'*'/drpms ${FEDORA} ${BASEDIR} -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org