duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] scp/sftp backup fails (but not consistently)


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] scp/sftp backup fails (but not consistently)
Date: Thu, 02 Oct 2008 08:36:26 -0500
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Robin Smidsrød wrote:
> Robin Smidsrød wrote:
>> Kenneth Loafman wrote:
>>> From what I can tell, you made it a fair way in the backup process,
>>> getting to volume 556 before failing.  This tells me there is no setup
>>> or other issue that could be a problem.  What I suspect is that the
>>> network itself failed long enough to cause the backup to fail.  Its
>>> possible that increasing the number of retries will help, setting
>>> --num-retries=20 or higher, for example.
>>>   
>> I will try that and see if it is able to continue through the
>> problematic period.
> I've tried adding --num-retries=20 to the commands, but now I only get
> this:
> 
> Running 'sftp  address@hidden' failed (attempt #1)
> Running 'sftp  address@hidden' failed (attempt #2)
> Running 'sftp  address@hidden' failed (attempt #3)
> Running 'sftp  address@hidden' failed (attempt #4)
> Running 'sftp  address@hidden' failed (attempt #5)
> Running 'sftp  address@hidden' failed (attempt #6)
> Running 'sftp  address@hidden' failed (attempt #7)
> Running 'sftp  address@hidden' failed (attempt #8)
> Running 'sftp  address@hidden' failed (attempt #9)
> Running 'sftp  address@hidden' failed (attempt #10)
> Running 'sftp  address@hidden' failed (attempt #11)
> Running 'sftp  address@hidden' failed (attempt #12)
> Running 'sftp  address@hidden' failed (attempt #13)
> Running 'sftp  address@hidden' failed (attempt #14)
> Running 'sftp  address@hidden' failed (attempt #15)
> Running 'sftp  address@hidden' failed (attempt #16)
> Running 'sftp  address@hidden' failed (attempt #17)
> Running 'sftp  address@hidden' failed (attempt #18)
> Running 'sftp  address@hidden' failed (attempt #19)
> Running 'sftp  address@hidden' failed (attempt #20)
> Giving up trying to execute 'sftp  address@hidden' after
> 20 attempts
> Traceback (most recent call last):
>  File "/usr/bin/duplicity", line 522, in ?
>    with_tempdir(main)
>  File "/usr/bin/duplicity", line 516, in with_tempdir
>    fn()
>  File "/usr/bin/duplicity", line 446, in main
>    globals.archive_dir).set_values()
>  File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line
> 476, in set_values
>    backend_filename_list = self.backend.list()
>  File
> "/usr/lib/python2.4/site-packages/duplicity/backends/sshbackend.py",
> line 239, in list
>    l = self.run_sftp_command(commandline, commands).split('\n')[1:]
>  File
> "/usr/lib/python2.4/site-packages/duplicity/backends/sshbackend.py",
> line 203, in run_sftp_command
>    raise BackendException("Error running '%s'" % commandline)
> duplicity.errors.BackendException: Error running 'sftp 
> address@hidden'
> 
> Where should I start looking for problems now?

Run again with -v9 and save the logs.  You can then post them after
trimming out the middle parts.  Leave at a minimum the first 100 lines
and the last 200 lines so we can see what's going on.

If you could avoid munging as much as possible, it would help.

...Thanks,
...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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