diff --git a/debian/changelog b/debian/changelog index c8766aa..a786b65 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +remote-backup (1.4.0) stable; urgency=low + + * Config: ADDITIONAL_RSYNC_OPTS + + -- Vincent Riquer 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) diff --git a/defaults.conf b/defaults.conf index 920fc90..5428401 100644 --- a/defaults.conf +++ b/defaults.conf @@ -7,3 +7,4 @@ DEST="" MAX_ROTATE=7 BWLIMIT=0 # kBps TIMEOUT=1800 +ADDITIONAL_RSYNC_OPTS="" diff --git a/remote-backup b/remote-backup index 2f33077..432ac86 100755 --- a/remote-backup +++ b/remote-backup @@ -185,6 +185,7 @@ runBackup() { $RSYNC \ $RSYNC_OPTS \ + $ADDITIONAL_RSYNC_OPTS \ "${REMOTE_LOCATION}" \ "$SNAPSHOT_RW/$NAME/$1" if (( $? == 2 )) diff --git a/remote-backup.example.conf b/remote-backup.example.conf index 608eeb5..8bdbf1a 100644 --- a/remote-backup.example.conf +++ b/remote-backup.example.conf @@ -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__