duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] TimeOut Help?


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] TimeOut Help?
Date: Mon, 21 Apr 2008 11:33:13 -0500
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

AJ Weber wrote:
> I'm running duplicity 0.4.9 and it seems to run fine for some of my
> commands (backing up different directories with identical commands, just
> different source/target dirs).  However, for this one, it keeps
> timing-out on attempting to list the existing files from the target
> server...
>  
> (some command-line and log-values changed to protect the innocent...)
>  
> address@hidden ~]# duplicity --verbosity 6 --encrypt-key "XXXXXXXX"
> --sign-key "XXXXXXXX" --scp-command 'scp -l 400 -o
> ConnectionAttempts=900' --include ignorecase:'/misc/nasdisk1/[u-z]*/**'
> --exclude /misc/nasdisk1 --archive-dir ~root/backupCache/u_z
> /misc/nasdisk1 scp://address@hidden/private/d1/u_z
> Running 'sftp  address@hidden' <mailto:address@hidden'>
> (attempt #1)
> sftp command: 'mkdir private/d1/u_z'
> sftp command: 'cd private/d1/u_z'
> sftp command: 'ls -1'
> Timeout waiting for response
> Running 'sftp  address@hidden' <mailto:address@hidden'> failed
> (attempt #1)
> If I run the same ls -1 from an interactive ssh session, it returns
> fine...a lot of files, but fine.  Is there a timeout I should increase
> here, or what's the deal?  Also, possibly relevant, is the trace after
> the final attempt:
>  
> Giving up trying to execute 'sftp  address@hidden'
> <mailto:address@hidden'> after 5 attempts
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 460, in ?
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 455, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 390, in main
>     globals.archive_dir).set_values()
>   File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line
> 470, in set_values
>     backend_filename_list = self.backend.list()
>   File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line
> 501, in list
>     l = self.run_sftp_command(commandline, commands).split('\n')[1:]
>   File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line
> 470, in run_sftp_command
>     raise BackendException("Error running '%s'" % commandline)
> duplicity.backends.BackendException: Error running 'sftp 
> address@hidden' <mailto:address@hidden'>
> Any help/pointers are much appreciated!

The default timeout is 30 seconds.  If you have a lot of files over a
slow connection, it may take more than that to list them and the
connection will time out.  Please increase and try again using
'--timeout=180' for a 180 second timeout.

...Thanks,
...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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