3 RSYNCSOURCE=rsync://archive.ubuntu.com/ubuntu
4 #RSYNCSOURCE=rsync://ubuntu.media.mit.edu/ubuntu
5 BASEDIR=${MIRRORDIR}/ubuntu
12 # Options we only use in the first pass, where we do not want packages/sources to fly in yet and dont want to delete files
13 PASS1=(--exclude Packages\* --exclude Sources\* --exclude Release\* --exclude InRelease --exclude i18n/\* --exclude ls-lR\* --exclude Translation\*)
15 rsync --recursive --times --links --hard-links \
17 --verbose --timeout=600 \
19 ${RSYNCSOURCE} ${BASEDIR}
21 rsync --recursive --times --links --hard-links \
22 --stats --delete --delete-after \
23 --verbose --timeout=600 \
24 --exclude "project/trace/${HOSTNAME}" \
25 ${RSYNCSOURCE} ${BASEDIR}