duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] BackendException: ssh connection to ... failed: EOF whe


From: Sven
Subject: [Duplicity-talk] BackendException: ssh connection to ... failed: EOF when reading a line
Date: Sun, 10 Feb 2013 13:53:35 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi

Since a few days, my duplicity scripts all fail with "BackendException: 
ssh connection to ... failed: EOF when reading a line" when executed as 
a cronjob. The problem does not show up when the script is executed from 
an interactive shell.

I'm on duplicity-0.6.20 (on Gentoo), however, I can't trace the first 
occurance of this issue it to a specific update. Neither downgrading to .19 
nor upgrading to .21 does fix the issue.

Here's the script, shortened and with ((PLACEHOLDERS)):

#!/bin/bash

export URL='sftp://((USER)):((PASSWORD))@((HOST)).com/backup'
export PASSPHRASE='((PASSPHRASE))'

duplicity cleanup                                                        \
  --extra-clean                                                          \
  ${URL}                                                                 \
                                                                         \
&&                                                                       \
                                                                         \
duplicity                                                                \
  --full-if-older-than 1W                                                \
  --encrypt-sign-key ((KEY))                                             \
  --include /etc                                                         \
  --exclude '**'                                                         \
  --exclude-other-filesystems                                            \
  /                                                                      \
  ${URL}                                                                 \
                                                                         \
&&                                                                       \
                                                                         \
duplicity remove-all-but-n-full                                          \
  12                                                                     \
  ${URL}

Any idea what's going on here?

Thanks for your help!





reply via email to

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