lobaro / restic-backup-docker

A docker container to automate backups with restic
Apache License 2.0
345 stars 113 forks source link

Update to latest golang, add RESTIC_JOB_ARGS #11

Closed stas2k closed 6 years ago

stas2k commented 6 years ago

This merge request will update the base golang to build latest restic version as well as add a RESTIC_JOB_ARGS environment variable.

It allows to specify extra options to the restic backup command.

niondir commented 6 years ago

Thank you for the contribution, It's very welcome, we should add some automated tests in future, but from the changes it looks pretty straight forward :)

stas2k commented 6 years ago

Sure! Do I just add the arg to run.sh script?

niondir commented 6 years ago

The run.sh is just to start the container without docker-compose. For testing we could also make another test.sh or just extend the run.sh. I'm not opinionated about the "how".