[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Cannot get duplicity work with rsync at ADrive
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] Cannot get duplicity work with rsync at ADrive |
Date: |
Sun, 21 Sep 2014 16:32:26 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
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