Document RESTIC_FORGET_ARGS

This commit is contained in:
Tobias Kaupat
2016-11-08 00:31:47 +01:00
committed by GitHub
parent 42be5bb639
commit 92a55b98b1
+3 -1
View File
@@ -50,6 +50,7 @@ The container is setup by setting [environment variables](https://docs.docker.co
* `RESTIC_TAG` - Optional. To tag the images created by the container.
* `NFS_TARGET` - Optional. If set the given NFS is mounted, i.e. `mount -o nolock -v ${NFS_TARGET} /mnt/restic`. `RESTIC_REPOSITORY` must remain it's default value!
* `BACKUP_CRON` - A cron expression to run the backup. Default: `* */6 * * *` aka every 6 hours.
* `RESTIC_FORGET_ARGS` - Optional. Only if specified `restic forget` is run with the given arguments after each backup. Example value: `-e "RESTIC_FORGET_ARGS=--keep-last 10 --keep-hourly=24 --keep-daily 7 --keep-weekly=52 --keep-monthly=12 --keep-yearly 100"`
## Volumes
@@ -74,5 +75,6 @@ Now you can simply specify the restic repository to be an [SFTP repository](http
# TODO
* Support AWS backups
* Support second cron that runs `restic check` regularly
* Support cron that runs `restic check` regularly
* Support cron that runs `restic prune` regularly
* Add testsetup based on docker-compose