From ddf1735cb23500098438763348d49bcb2bae101d Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Thu, 19 Apr 2007 22:24:01 +0000 Subject: [PATCH 1/1] chiark-backup's snaprsync has new rsynccompress option. --- backup/snaprsync | 7 ++++--- debian/changelog | 6 ++++++ 2 files changed, 10 insertions(+), 3 deletions(-) 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. -- 2.30.2