|
From: | Kenneth Loafman |
Subject: | Re: [Duplicity-talk] SCP Issue With duplicity 0.7.01 and rsync.net |
Date: | Mon, 9 Mar 2015 07:55:06 -0500 |
Hi,
Just letting you know I came across an issue with using duplicity 0.7.01 and my rsync.net account.
When I used duplicity 0.7.01 with the scp protocol to connect to my rsync.net account it would fail with:
BackendException: scp mkdir failed(2): test: target/remote/directory: unexpected operatorThanks to Kenneth Loafman's assistance I was able to resolve this issue.If I changed to using the sftp protocol instead it would work fine. Also if I downgraded to duplicity 0.7.0 or lower it would also work fine. So it seems like a remote command that duplicity 0.7.01 uses with the scp method won't work on rsync.net accounts.Is anyone else able to replicate or confirm this issue?Here is the full traceback for the exception I was getting:Backend error detail: Traceback (most recent call last):File "/usr/bin/duplicity", line 1497, in <module>with_tempdir(main)File "/usr/bin/duplicity", line 1491, in with_tempdirfn()File "/usr/bin/duplicity", line 1324, in mainaction = "">File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1048, in ProcessCommandLineglobals.backend = backend.get_backend(args[0])File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 221, in get_backendobj = get_backend_object(url_string)File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 207, in get_backend_objectreturn factory(pu)File "/usr/lib/python2.7/dist-packages/duplicity/backends/ssh_paramiko_backend.py", line 230, in __init__self.runremote("test -d '%s' || mkdir -p '%s'" % (self.remote_dir, self.remote_dir), False, "scp mkdir ")File "/usr/lib/python2.7/dist-packages/duplicity/backends/ssh_paramiko_backend.py", line 359, in runremoteraise BackendException("%sfailed(%d): %s" % (errorprefix, res, chan.recv_stderr(4096)))BackendException: scp mkdir failed(2): test: duplicity/pavlics: unexpected operatorCheers,Simon
_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
[Prev in Thread] | Current Thread | [Next in Thread] |