Hello all! I started using the anonftpsync script from http://www.debian.org/mirror/anonftpsync and noticed some undesired behaviour. the first run of rsync on pool/ works fine. the second run on the entire archive caused a problem here because IMHO the $SOURCE_EXCLUDE is missing here. So we ended up first syncing pool/ with excluded sources, then syncing everything including sources up to the point where the disk was full :( the following fixed anonftpsync behaviour for us: <snip> --- anonftpsync 2006-12-13 13:24:58.000000000 +0100 +++ anonftpsync-orig 2006-12-13 13:20:38.000000000 +0100 @@ -175,7 +175,7 @@ rsync --recursive --links --hard-links --times --verbose --delay-updates --delete-after \ --exclude "Archive-Update-in-Progress-${HOSTNAME}" \ --exclude "project/trace/${HOSTNAME}" \ - $EXCLUDE $SOURCE_EXCLUDE \ + $EXCLUDE \ $RSYNC_HOST::$RSYNC_DIR $TO >> $LOGFILE 2>&1 LANG=C date -u > "${TO}/project/trace/${HOSTNAME}" </snip> Updated information on debian.mur.at will follow shortly. Regards, j. -- Jogi Hofmueller |m| phone: +43 316 821 451 55 |u| |r| http://mur.at/
Attachment:
signature.asc
Description: Digital signature