system/roles/backup/templates/restic.conf.j2
Marty Oehme 19162e2af3
feat(backup): Add restic backup
Restic backup creates a snapper snapshot of the root system which it
then chroots into and starts a restic backup to a (wasabi) S3 bucket to.

Intended to roughly follow this
<https://codeberg.org/silmaril/my-restic-solution> solution to achieve
restic backup of the _newest_ snapshot of my live root system.
2025-03-13 11:24:13 +01:00

9 lines
301 B
Django/Jinja

RESTIC_REPOSITORY='{{ restic_repository }}'
AWS_ACCESS_KEY_ID='{{ restic_s3_id }}'
AWS_SECRET_ACCESS_KEY='{{ restic_s3_key }}'
RESTIC_PASSWORD='{{ restic_password }}'
RESTIC_CACHE_DIR=/var/tmp
DAILY={{ restic_daily }}
WEEKLY={{ restic_weekly }}
MONTHLY={{ restic_monthly }}
YEARLY={{ restic_yearly }}