1234567891011121314151617181920212223242526272829303132 |
- # Directory on the docker host to bind-mount to be backed up
- # BACKUP_SOURCE is bind-mounted to /mnt/source
- RESTIC_BACKUP_SOURCE=/home
- # Folders to be backed up in the format /mnt/source/<folder>
- RESTIC_BACKUP_FOLDERS=/mnt/source/john /mnt/source/jane
- # Additional arguments for restic backup
- RESTIC_BACKUP_ARGS=--limit-upload 244 --limit-download 244 --exclude-if-present .backupignore
- # Additional arguments for restic forget
- RESTIC_FORGET_ARGS=--keep-weekly 2 --prune
- # Passphrase to encrypt the backup
- RESTIC_PASSWORD=AnotherSetOf30RandomCharacters
- # S3 Bucket + Credentials
- AWS_ACCESS_KEY_ID=example-TwelveChar
- AWS_SECRET_ACCESS_KEY=30RandomAlphaNumericCharacters
- RESTIC_REPOSITORY=s3:https://example.ulm-store.de/mybackup
- # Timezone (see https://github.com/restic/restic/issues/2534)
- TZ=Europe/Berlin
- # Entry added into crontab
- CRONTAB=30 22 * * * /root/restic/run.sh 0 2>&1
- # * * * * *
- # | | | | |__ Weekday (0-7, Sunday is 0 7)
- # | | | |______Month (1-12)
- # | | |_________Day (1-31)
- # | |____________Hour (0-23)
- # |_______________Minute (0-59)
|