From: ianmdlvl Date: Thu, 19 Apr 2007 22:24:01 +0000 (+0000) Subject: chiark-backup's snaprsync has new rsynccompress option. X-Git-Tag: debian_version_4_1_16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=refs%2Ftags%2Fdebian_version_4_1_16;hp=330f3e99d272db13f5b392ce3243df2efa67138d chiark-backup's snaprsync has new rsynccompress option. --- diff --git a/backup/snaprsync b/backup/snaprsync index 3b4bfc7..91b2ce8 100755 --- a/backup/snaprsync +++ b/backup/snaprsync @@ -14,6 +14,7 @@ bwlimit= subdir=. rsyncopts= + rsynccompress=z sshopts= summer=summer @@ -33,7 +34,7 @@ while true; do case "$name" in rhost|device|mountpoint|localarea);; localprevious|snapkind|rsharedir|retcdir|rvardir|bwlimit);; - subdir|rsyncopts|sshopts|summer);; + subdir|rsyncopts|rsynccompress|sshopts|summer);; *) badusage "unknown setting $name";; esac eval "$name=\$value" @@ -76,7 +77,7 @@ td=`mktemp -td` mkfifo -m 600 $td/sentinel exec 4<>$td/sentinel -x ssh $sshopts $rhost "$sshpfx $rsharedir/snap-drop" +x ssh $sshopts $rhost "$sshpfx $rsharedir/snap-drop $rvardir" ssh $sshopts $rhost " $sshpfx set -e @@ -100,7 +101,7 @@ ssh $sshopts $rhost <$td/sentinel 4<&- " cd .. " & xspawned rsum -x $rsync -aHSxz --numeric-ids --delete $rsyncopts \ +x $rsync -aHSx$rsynccompress --numeric-ids --delete $rsyncopts \ ${localprevious:+--link-dest} $localprevious \ $rhost:$rvardir/snap-mount/$subdir $localarea/. date -u "+ $datefmt rsyncdone" diff --git a/debian/changelog b/debian/changelog index 9d1fdac..2bc2e8f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +chiark-utils (4.1.16) unstable; urgency=low + + * chiark-backup's snaprsync has new rsynccompress option. + + -- Ian Jackson Thu, 19 Apr 2007 23:23:32 +0100 + chiark-utils (4.1.15) unstable; urgency=low * chiark-backup's snaprsync sedderies mountpoint out before sums diff.