sftp failed error

Asked by Gabriele Tozzi

Hello,

I'm trying to use duplicity for the first time. I've correctly setup and verified ssh shared key authentication.

When i try to backup, I get this error. Duplicity creates some files on the remote site of approx size of 160/320K then fails.

May someone help me?

root@transylvania:.ssh 1 557# duplicity --encrypt-key="67929FF9" --encrypt-key="A1D02FFF" --sign-key="67929FF9" --archive-dir="/root/duplicity-cache" /root/ scp://<email address hidden>/duplicity
GnuPG passphrase:
Local and Remote metadata are synchronized, no sync needed.
Warning, found incomplete backup sets, probably left from aborted session
Last full backup left a partial set, restarting.
Last full backup date: Thu Mar 25 20:34:54 2010
Retype passphrase to confirm:
Restarting after volume 3, file dumps/pgsql.sql.bz2, block 1063
Running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>' failed (attempt #1)
Running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>' failed (attempt #2)
Running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>' failed (attempt #3)
Running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>' failed (attempt #4)
Running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>' failed (attempt #5)
Giving up trying to execute 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>' after 5 attempts
BackendException: Error running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=1 <email address hidden>'

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
edso (ed.so) said :
#2

did you try a new full backup?

which version of duplicity do you use?

ede

Revision history for this message
Gabriele Tozzi (gabriele-tozzi) said :
#3

Hi,

yes, this is the first (full) backup I'm trying.

duplicity 0.6.08b

Revision history for this message
edso (ed.so) said :
#4

I guess a former incomplete backup can't be resumed...
or
a connection issue to storage2.datastorageunit.com

can you
ssh storage2.datastorageunit.com ?

did you try to manually delete the incomplete backup and run a new full backup?
duplicity full <parameters ...>

ede

Revision history for this message
Gabriele Tozzi (gabriele-tozzi) said :
#5

yes, ssh connection is ok and stable.

Running a new full backup gives me the same issue.

Revision history for this message
edso (ed.so) said :
#6

ok .. please try again with parameters "-v9 --num-retries 25" added and post the resulting log with obfuscated private data in pastebin or such ...

ede

Revision history for this message
mfn (mfn) said :
#7

I had the same problem, because the locale of the system wasn't available on the backup server.

Can you help with this problem?

Provide an answer of your own, or ask Gabriele Tozzi for more information if necessary.

To post a message you must log in.