lobaro / restic-backup-docker

A docker container to automate backups with restic
Apache License 2.0
331 stars 114 forks source link

Check for existing restic configuration does not work for SFTP #28

Closed mrclschstr closed 4 years ago

mrclschstr commented 5 years ago

It seems like the following if-statement does not work for SFTP backup destinations:

https://github.com/lobaro/restic-backup-docker/blob/393cc232c1ea2c1abd4fcf82910f01b1da044e5c/entry.sh#L17

I get the following error restarting my restic container:

create backend at sftp:username@server:/some/path failed: config file already exists