[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] duplicity don't run under cygwin
From: |
Ralph Lehmann |
Subject: |
Re: [Duplicity-talk] duplicity don't run under cygwin |
Date: |
Thu, 28 Jun 2007 07:47:20 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.0 |
Hi Kenneth! :-)
Kenneth Loafman schrieb:
> If you are running against a local folder, why use ssh?
It was a test in preparation for remote usage.
> The file:
> protocol will be much faster, i.e. file:///test/bar.
See above. Speed does not the most important criterion in this
situation. But here's the output of duplicity using the file protocol:
----------------------------------------------------------------------
$ duplicity -v9 --no-encrypt /test/foo file:///test/bar >
/cygdrive/x/error.log
Traceback (most recent call last):
File "/usr/bin/duplicity", line 378, in <module>
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 354, in main
globals.archive_dir).set_values()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
403, in set_values
backend_filename_list = self.backend.list()
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
261, in list
return self.remote_pathdir.listdir()
File "/usr/lib/python2.5/site-packages/duplicity/path.py", line 433,
in listdir
return os.listdir(self.name)
OSError: [Errno 2] No such file or directory: '/test/bar'
----------------------------------------------------------------------
> If not, then try this; drop the :22 at the end of the IP address and let
> me know if that works. 22 is the default ssh port.
----------------------------------------------------------------------
$ duplicity --no-encrypt -v9 /test/foo \
ssh://address@hidden/test/bar/
Main action: inc
Reading results of 'printf 'cd test/bar/
ls -1' | sftp -oPort=22 -b - address@hidden'
Couldn't canonicalise: No such file or directory
Traceback (most recent call last):
File "/usr/bin/duplicity", line 378, in <module>
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 354, in main
globals.archive_dir).set_values()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
403, in set_values
backend_filename_list = self.backend.list()
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
319, in list
l = self.popen(commandline).split('\n')[2:] # omit sftp prompts
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
168, in popen
raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'printf 'cd test/bar/
ls -1' | sftp -oPort=22 -b - address@hidden'
----------------------------------------------------------------------
Thanks and ciao,
Ralph