.env.template 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Directory on the docker host to bind-mount to be backed up
  2. # BACKUP_SOURCE is bind-mounted to /mnt/source
  3. RESTIC_BACKUP_SOURCE=/home
  4. # Folders to be backed up in the format /mnt/source/<folder>
  5. RESTIC_BACKUP_FOLDERS=/mnt/source/john /mnt/source/jane
  6. # Additional arguments for restic backup
  7. RESTIC_BACKUP_ARGS=--limit-upload 244 --limit-download 244 --exclude-if-present .backupignore
  8. # Additional arguments for restic forget
  9. RESTIC_FORGET_ARGS=--keep-weekly 2 --prune
  10. # Passphrase to encrypt the backup
  11. RESTIC_PASSWORD=AnotherSetOf30RandomCharacters
  12. # S3 Bucket + Credentials
  13. AWS_ACCESS_KEY_ID=example-TwelveChar
  14. AWS_SECRET_ACCESS_KEY=30RandomAlphaNumericCharacters
  15. RESTIC_REPOSITORY=s3:https://example.ulm-store.de/mybackup
  16. # Timezone (see https://github.com/restic/restic/issues/2534)
  17. TZ=Europe/Berlin
  18. # Entry added into crontab
  19. CRONTAB=30 22 * * * /root/restic/run.sh 0 2>&1
  20. # * * * * *
  21. # | | | | |__ Weekday (0-7, Sunday is 0 7)
  22. # | | | |______Month (1-12)
  23. # | | |_________Day (1-31)
  24. # | |____________Hour (0-23)
  25. # |_______________Minute (0-59)
  26. # Prometheus Gateways URL
  27. PROM_GW_URL=http://pushgateway:9091/metrics/job/restic/host/zino2