

BACKUP_CRON - A cron expression to run the backup.

RESTIC_REPOSITORY must remain it's default value! To tag the images created by the container. Will also be used for restic init during first start when the repository is not initialized.
#DUPLICACY VS RESTIC PASSWORD#
#DUPLICACY VS RESTIC FULL#
If configured, you can find the full output of the mail notification in /var/log/mail-last.log. When the backup fails the log is copied to /var/log/restic-error-last.log. docker logsĪdditionally you can see the the full log, including restic output, of the last execution in /var/log/backup-last.log. If needed you can create volumes for them. try to run restic snapshots to list all your snapshots. Now you can use restic as documented, e.g. To enter your container execute docker exec -ti backup-test /bin/sh If you'd like to change the arguments passed to restic init, you can do so using the RESTIC_INIT_ARGS env variable. The repository is initialized automatically by the container. The container will backup ~/test-data to a repository with password test at ~/test-repo every minute. Existing containers with that names are completly removed automatically. This will run the container backup-test with the name backup-test. Please don't hesitate to report any issue you find. You need to add your hook script in the container folder /hooks: -v ~/home/user/hooks:/hooksĬall your pre backup script pre-backup.sh and post backup script post-backup.sh If you need to execute a script before or after each backup,

Latest (experimental) docker pull lobaro/restic-backup-docker:latest Stable docker pull lobaro/restic-backup-docker:1.2-0.9.4
