duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Occasional backup failures


From: Florian Lindner
Subject: Re: [Duplicity-talk] Occasional backup failures
Date: Tue, 21 Jul 2009 20:13:42 +0200


Am 21.07.2009 um 10:37 schrieb address@hidden:

Hey Florian,

probably only a timeout or a short connection problem. Usually allowing more than 5 retries solves this

--num-retries number

I use 25 and sometimes see failed connections which eventually work on some later retry. What I am not sure with your case is that we are looking at connections problems here. It simply says 'Running 'sftp ...' failed' which could mean that sft generally failed to execute. If the problem persists after raising the retry limit run it with '-v9' and post the resulting more verbose output here.

Thanks, I'll try it with num-retries 25 but it will take some time before I know if it helped.

Florian


... ede


On 20.07.2009 20:35, Florian Lindner wrote:
Hello,

an my server I have an cronjob running backups. From times to times
(about one or two times a week) a backup fails:

Performing full backup.
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) Giving up trying to execute 'sftp address@hidden '
after 5 attempts
Traceback (most recent call last):
File "/usr/bin/duplicity", line 463, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 458, in with_tempdir
fn()
File "/usr/bin/duplicity", line 390, in main
globals.archive_dir).set_values()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
476, in set_values
backend_filename_list = self.backend.list()
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line 504,
in list
l = self.run_sftp_command(commandline, commands).split('\n')[1:]
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line 473,
in run_sftp_command
raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'sftp
address@hidden'

The next backup (two different backups with the same target server and config (except dir) are run each night) usually works without problems.

Any idea what can cause this? Or how to get more information about the
problem?

Thanks,

Florian


_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk



_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk





reply via email to

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