[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: |
Fri, 06 Jul 2007 21:21:06 +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 |
Adam Wendt schrieb:
> You need to specify two /'s for absolute path like so:
> $ duplicity --no-encrypt -v9 /test/foo \
> ssh://address@hidden//test/bar/
>
> (Notice ...132//test/bar/)
Thanks, but this don't work:
-----------------------------
$ 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'
Collection Status
-----------------
Connecting with backend: scpBackend
Archive dir: None
No backup chains with active signatures found
Found 0 backup chains without signatures.
No orphaned or incomplete backup sets found.
No signatures found, switching to full backup.
Selecting /test/foo
Comparing () and None
Getting delta of (() /test/foo dir) and None
Generating delta - new file: .
Selecting /test/foo/test.txt
Comparing ('test.txt',) and None
Getting delta of (('test.txt',) /test/foo/test.txt reg) and None
Generating delta - new file: test.txt
Running 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
(attempt #1)
scp: /test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz:
No such file or directory
Running 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
failed (attempt #1)
Running 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
(attempt #2)
scp: /test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz:
No such file or directory
Running 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
failed (attempt #2)
Running 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
(attempt #3)
scp: /test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz:
No such file or directory
Running 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
failed (attempt #3)
Giving up trying to execute 'scp -P 22 /tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
after 3 attempts
Traceback (most recent call last):
File "/usr/bin/duplicity", line 378, in <module>
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 371, in main
if not sig_chain: full_backup(col_stats)
File "/usr/bin/duplicity", line 147, in full_backup
bytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/usr/bin/duplicity", line 94, in write_multivol
backend.put(tdp, dest_filename)
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
297, in put
self.run_command_persist(commandline)
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
160, in run_command_persist
raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'scp -P 22
/tmp/tmpVl8qjN
address@hidden:/test/bar/duplicity-full.2007-07-06T21:12:41+02:00.vol1.difftar.gz'
-------------------------------------------------------------------------------------------------
Note, that a ':' cannot be used on NTFS. This is reserved for ADS, IIRC.
ciao Ralph