aboutsummaryrefslogtreecommitdiff
path: root/handlers/dup.helper.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-01-29 14:39:39 +0100
committerintrigeri <intrigeri@boum.org>2012-01-29 15:09:37 +0100
commit357a17b155f769f0bf290f3a11e2d84aa4350a60 (patch)
treeb35d8f93dfd345b36eaa719fb3743ebc87b00a15 /handlers/dup.helper.in
parent0a0fbb46baa1fd5e6bb68c9e3f9f0b28dfa17e15 (diff)
downloadbackupninja-357a17b155f769f0bf290f3a11e2d84aa4350a60.tar.gz
backupninja-357a17b155f769f0bf290f3a11e2d84aa4350a60.tar.bz2
Use --ssh-options with dup >= 0.6.17.
... and warn about unsupported options.
Diffstat (limited to 'handlers/dup.helper.in')
-rw-r--r--handlers/dup.helper.in19
1 files changed, 14 insertions, 5 deletions
diff --git a/handlers/dup.helper.in b/handlers/dup.helper.in
index ba2850f..ea794c9 100644
--- a/handlers/dup.helper.in
+++ b/handlers/dup.helper.in
@@ -473,11 +473,20 @@ keepincroffulls = $dup_keepincroffulls
#bandwidthlimit = 128
bandwidthlimit = $dup_bandwidth
-# passed directly to ssh, scp (and sftp in duplicity >=0.4.2)
-# warning: sftp does not support all scp options, especially -i; as
-# a workaround, you can use "-o <SSHOPTION>"
-#sshoptions = -o IdentityFile=/root/.ssh/id_rsa_duplicity
-sshoptions = $dup_sshoptions
+## duplicity < 0.6.17
+## ------------------
+## passed directly to ssh, scp (and sftp in duplicity >=0.4.2)
+## warning: sftp does not support all scp options, especially -i; as
+## a workaround, you can use "-o <SSHOPTION>"
+## an example setting would be:
+## sshoptions = -o IdentityFile=/root/.ssh/id_rsa_duplicity
+##
+## duplicity >= 0.6.17
+## ------------------
+## supports only "-o IdentityFile=..."
+##
+## Default:
+# sshoptions =
# put the backups under this destination directory
# if using 'desturl' above, this must not be set