On 21.09.2014 15:53, Mikhail Edoshin wrote:
Hello all,
I'm trying to get duplicity to work with my ADrive account via rsync (on
Cygwin), but somehow I cannot manage to do this. A raw rsync connection works
file:
rsync -a mydir address@hidden@rsync.adrive.com:backup
It creates the 'backup' directory there and puts 'mydir' in it. With duplicity,
however, I keep running into errors. First, I get an error with this URL:
duplicity mydir rsync://address@hidden@rsync.adrive.com:backup
duplicity refuses immediately with:
InvalidBackendURL: Syntax error (port) in:
rsync://address@hidden@rsync.adrive.com:backup ATrue BNone
address@hidden@rsync.adrive.com:backup
I see that duplicity man page has a different format for URLs (there must be
two colons before the directory), so I try this:
duplicity mydir rsync://address@hidden@rsync.adrive.com::backup
This one fails with timeout:
Running 'rsync rsync.adrive.com::backup/' failed with code 10 (attempt #1)
Error is: rsync: failed to connect to rsync.adrive.com (65.49.56.50):
Connection timed out (116)
rsync error: error in socket IO (code 10) at /home/lapo/package/rsync-3.0.9-1
/src/rsync-3.0.9/clientserver.c(122) [Receiver=3.0.9]
I then try it with an explicit port (ADrive uses SSH port 22):
duplicity mydir rsync://address@hidden@rsync.adrive.com:22::backup
This one seems to connect, but then fails because of unexpected response:
Running 'rsync --port=22 rsync.adrive.com::backup/' failed with code 5 (attempt
#1)
Error is:
rsync: server sent "SSH-2.0-OpenSSH_6.0p1 Debian-4" rather than greeting
rsync error: error starting client-server protocol (code 5) at
/home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/main.c(1516) [Receiver=3.0.9]
I don't know what to try next :) Please help.
check the manpage, section 'URL format'
http://duplicity.nongnu.org/duplicity.1.html#sect8
you'll probably need the one for ssh+rsync (rsync over ssh) ..ede/duply.net
_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk