chiark / gitweb /
chiark-backup's snaprsync has new rsynccompress option. debian_version_4_1_16
authorianmdlvl <ianmdlvl>
Thu, 19 Apr 2007 22:24:01 +0000 (22:24 +0000)
committerianmdlvl <ianmdlvl>
Thu, 19 Apr 2007 22:24:01 +0000 (22:24 +0000)
backup/snaprsync
debian/changelog

index 3b4bfc7..91b2ce8 100755 (executable)
@@ -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"
index 9d1fdac..2bc2e8f 100644 (file)
@@ -1,3 +1,9 @@
+chiark-utils (4.1.16) unstable; urgency=low
+
+  * chiark-backup's snaprsync has new rsynccompress option.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  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.