Error while saving data to the repo


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

any ideas?


– 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