This is a fork of @csumpter's restic-docker. I'll be maintaining this version for my own use.
- [REQUIRED]
RESTIC_REPOSITORY- the location of your restic repository. For BackBlaze B2 that would beb2:<bucket-name>:/ - [REQUIRED]
RESTIC_PASSWORD- repository password - [OPTIONAL]
BACKUP_CRON- default value is0 1 * * * - [OPTIONAL]
RESTIC_BACKUP_ARGS- example:-o b2.connections=20- See the full list of options in the restic docs.
- [OPTIONAL]
FORGET_CRON- example:1 3 * * 0 - [OPTIONAL]
RESTIC_FORGET_ARGS- example:--keep-last 7or--keep-last 7 --pruneif you wish to perform a prune operation at the same time. - [OPTIONAL]
PRUNE_CRON- example:1 3 * * 1 - [OPTIONAL]
RESTIC_TAG- default value islatest - [OPTIONAL]
TZtimezone, default isAmerica/New_York. Set this value if you want your log entries to have the relevant time in them. - [OPTIONAL]
GOTIFY- URL with token, e.g.http://mygotify/message?token=abc123. Will POST to this URL with a message on successful backups.
- [REQUIRED]
B2_ACCOUNT_ID - [REQUIRED]
B2_ACCOUNT_KEY
- Mount all folders to the
/datafolder on the container.
Based off work in: