dup: document how to write sftp-compatible (and thus new-duplicity-compatible)
[matthijs/upstream/backupninja.git] / examples / example.dup
index 457883c35166fcd8087bdca984754bc4b7297484..0e7ed950651a046118460b9982135085e0723467 100644 (file)
@@ -119,8 +119,10 @@ exclude = /home/*/.gnupg
 # bandwith limit, in kbit/s ; default is 0, i.e. no limit
 #bandwidthlimit = 128
 
-# passed directly to ssh and scp
-sshoptions = -i /root/.ssh/id_dsa_duplicity
+# 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_dsa_duplicity
 
 # put the backups under this directory
 destdir = /backups