duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] "No such file or directory (-)" error fix!


From: martin hampton
Subject: [Duplicity-talk] "No such file or directory (-)" error fix!
Date: Tue, 14 Nov 2006 13:56:32 -0800 (PST)

I hope this helps someone fix the "No such file or
directory (-)" error.

duplicity is dependent on sftp (even when using scp),
so if you get this error:

duplicity scp://address@hidden//martin/xxxBaltic/ xxx3
No such file or directory (-).
Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 373, in
<module>
    if __name__ == "__main__": main()
  File "/usr/local/bin/duplicity", line 349, in main
    globals.archive_dir).set_values()

First check sftp. I found this version (maybe there's
a way to get a version number!), then you need to
update sftp 

usage: sftp [-vC1] [-b batchfile] [-o option] [-s
subsystem|path] [-B buffer_size]
            [-F config] [-P direct server path] [-S
program]
            address@hidden:file [file]]

To update sftp, download ssh from
http://www.openssh.com/portable.html. Running sftp
you'll see different options

usage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F
ssh_config]
            [-o ssh_option] [-P sftp_server_path] [-R
num_requests]
            [-S program] [-s subsystem | sftp_server]
host
       sftp address@hidden:file [file]]]
       sftp address@hidden:dir[/]]]
       sftp -b batchfile address@hidden

Once I'd updated sftp duplicity worked.

Martin


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




reply via email to

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