duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] SCP Issue With duplicity 0.7.01 and rsync.net


From: Simon Watson
Subject: [Duplicity-talk] SCP Issue With duplicity 0.7.01 and rsync.net
Date: Mon, 9 Mar 2015 13:29:42 +1100

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 operator

Thanks 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_tempdir
    fn()
  File "/usr/bin/duplicity", line 1324, in main
    action = "">
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1048, in ProcessCommandLine
    globals.backend = backend.get_backend(args[0])
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 221, in get_backend
    obj = get_backend_object(url_string)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 207, in get_backend_object
    return 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 runremote
    raise BackendException("%sfailed(%d): %s" % (errorprefix, res, chan.recv_stderr(4096)))
BackendException: scp mkdir failed(2): test: duplicity/pavlics: unexpected operator

Cheers,
Simon
--
Moon Buggy Media
moonbuggymedia.com
m. 0410 190 553
p. 03 9913 1715

reply via email to

[Prev in Thread] Current Thread [Next in Thread]