[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] why is rsync backend using ssh?
From: |
edgar . soldin |
Subject: |
[Duplicity-talk] why is rsync backend using ssh? |
Date: |
Fri, 07 May 2010 11:49:37 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
while checking out the rsync backend I got confused
in plain command line the following happens:
#> rsync /tmp rsync://address@hidden/test -vvv
opening tcp connection to host port 873
rsync: getaddrinfo: host 873: Name or service not known
but the same call in duplicity's rsync backend connects to ssh (port
22). see below.
I couldn't figure out how the backend switches modes. Interestingly
defining an url like
rsync://user:address@hidden::test
seems not to utilize ssh.
What am I missing? .. thanks ede/duply.net
./duply_dev/duply_wrap test full -v9
Start duply.sh v1.5.2.4_dev2, time is 2010-05-07 11:40:03.
Using profile '/srv/www/vhosts/host/.duply/test'.
Using installed duplicity version 0.6.06, gpg 2.0.9 (Home: ~/.gnupg)
Test - Encryption with passphrase (OK)
Test - Decryption with passphrase(OK)
Test - Compare Original w/ Decryption (OK)
Cleanup - Delete '/tmp/duply.11941.1273225203_*'(OK)
--- Start running command FULL at 11:40:03.975 ---
Using archive dir: /srv/www/vhosts/host/.cache/duplicity/duply_test
Using backup name: duply_test
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Reading globbing filelist /srv/www/vhosts/host/.duply/test/exclude
Main action: full
================================================================================
duplicity 0.6.06 (October 29, 2009)
Args: /srv/www/vhosts/host/_apps/duplicity-0.6.06/bin/duplicity full
--name duply_test --verbosity 4 -v9 --exclude-globbing-filelist
/srv/www/vhosts/host/.duply/test/exclude /srv/www/vhosts/host/.ftplicity
rsync://user:address@hidden/test
Linux h1656384 2.6.27.45-0.1-default #1 SMP 2010-02-22 16:49:47 +0100
i686 athlon
/usr/bin/python 2.6 (r26:66714, Feb 3 2009, 20:52:03)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]]
================================================================================
Using temporary directory /tmp/duplicity-MnLLjL-tempdir
Registering (mkstemp) temporary file
/tmp/duplicity-MnLLjL-tempdir/mkstemp-itn6uN-1
Temp has 164852600832 available, backup will use approx 34078720.
Reading results of 'rsync address@hidden:test/'
ssh: connect to host localhost port 22: Connection refused
rsync: writefd_unbuffered failed to write 4 bytes [receiver]: Broken
pipe (32)
rsync error: unexplained error (code 255) at io.c(1541) [receiver=3.0.4]
Removing still remembered temporary file
/tmp/duplicity-MnLLjL-tempdir/mkstemp-itn6uN-1
Backend error detail: Traceback (most recent call last):
File "/srv/www/vhosts/host/_apps/duplicity-0.6.06/bin/duplicity",
line 1237, in <module>
with_tempdir(main)
File "/srv/www/vhosts/host/_apps/duplicity-0.6.06/bin/duplicity",
line 1230, in with_tempdir
fn()
File "/srv/www/vhosts/host/_apps/duplicity-0.6.06/bin/duplicity",
line 1131, in main
sync_archive()
File "/srv/www/vhosts/host/_apps/duplicity-0.6.06/bin/duplicity",
line 911, in sync_archive
remlist = globals.backend.list()
File
"/srv/www/vhosts/host/_apps/duplicity-0.6.06/bin/../duplicity/backends/rsyncbackend.py",
line 89, in list
return filter(lambda x: x, map (split,
self.popen(commandline).split('\n')))
File "/root/private/_apps//duplicity-0.6.06/duplicity/backend.py",
line 407, in popen
BackendException: Error running 'rsync address@hidden:test/'
BackendException: Error running 'rsync address@hidden:test/'
11:40:04.239 Task 'FULL' failed with exit code '23'.
--- Finished state FAILED 'code 23' at 11:40:04.239 - Runtime
00:00:00.263 ---
- [Duplicity-talk] why is rsync backend using ssh?,
edgar . soldin <=