Error while saving data to the repo

Hi,

restic 0.7.3 gives the following error while backup via sftp:

error while saving data to the repo: failed to send packet header: write |1: broken pipe
github.com/restic/restic/vendor/github.com/pkg/sftp.sendPacket
src/github.com/restic/restic/vendor/github.com/pkg/sftp/packet.go:132

any ideas?

Best,

– Jaap

That’s the error restic prints when the ssh connection dies, eg because the server disconnected the client. There’s no auto reconnect function as of now, you can just restart the backup process, maybe then also run restic unlock to clear the remaining lock file.

Thanks, I’try to see which options I can configure for ssh to prevent disconnects.

– Jaap