Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2006, 01:56 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 13

Rep: Reputation: 0
Duplicity problem

Hi, I have a problem with duplicity. Basically, I've got one of these remote backup accounts with a third party, and want to run duplicity backups to the remote host.

I've checked that I can ssh, rsync, scp, sftp to my new account, all of which work with no problems. However, when I run duplicity, i get the following (I've replaced the user and host names for obvious reasons...):

# duplicity -v9 /home/test scp://

Main action: inc
Reading results of 'echo -e 'cd backup
ls -1' | sftp -b -'
Permission denied (publickey,keyboard-interactive).
Couldn't read packet: Connection reset by peer
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 373, in ?
    if __name__ == "__main__": main()
  File "/usr/bin/duplicity", line 349, in main
  File "/usr/lib/python2.4/site-packages/duplicity/", line 406, in set_values
    backend_filename_list = self.backend.list()
  File "/usr/lib/python2.4/site-packages/duplicity/", line 299, in list
    l = self.popen(commandline).split('\n')[2:] # omit sftp prompts
  File "/usr/lib/python2.4/site-packages/duplicity/", line 150, in popen
    raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'echo -e 'cd backup
ls -1' | sftp -b -'
For the avoidance of doubt, "backup" is a valid directory on the remote host. I can scp to it without error.

Many thanks in advace for any help!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration