add ADDITIONAL_RSYNC_OPTS

This commit is contained in:
Vincent Riquer 2012-02-09 11:04:28 +01:00
parent 12f2908c9d
commit c87f11a3f8
4 changed files with 9 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
remote-backup (1.4.0) stable; urgency=low
* Config: ADDITIONAL_RSYNC_OPTS
-- Vincent Riquer <v.riquer@b2f-concept.com> Thu, 09 Feb 2012 11:03:48 +0100
remote-backup (1.3.0) stable; urgency=low
* Catch protocol mismatch, retry with less options (multiple --link-dest requires protocol >= 29)

View File

@ -7,3 +7,4 @@ DEST=""
MAX_ROTATE=7
BWLIMIT=0 # kBps
TIMEOUT=1800
ADDITIONAL_RSYNC_OPTS=""

View File

@ -185,6 +185,7 @@ runBackup() {
$RSYNC \
$RSYNC_OPTS \
$ADDITIONAL_RSYNC_OPTS \
"${REMOTE_LOCATION}" \
"$SNAPSHOT_RW/$NAME/$1"
if (( $? == 2 ))

View File

@ -1,7 +1,7 @@
REMOUNT=__setbackup__REMOUT__
MOUNT_DEVICE=__setbackup__DEVICE__
SNAPSHOT_RW=__setbackup__SNAPSHOT__
REMOTE_LOCATION="__setbackup__REMOTE__
REMOTE_LOCATION=__setbackup__REMOTE__
EXCLUDES=__setbackup__EXCLUDES__
DEST=__setbackup__DEST__
MAX_ROTATE=__setbackup__ROTATE__