12 lines
409 B
Django/Jinja
12 lines
409 B
Django/Jinja
[Unit]
|
|
Description=Backup volume snapshots using restic
|
|
Documentation=man:restic(8)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=TZ=UTC
|
|
Environment=RESTIC_CACHE_DIR=/var/cache/restic
|
|
Environment=RESTIC_PASSWORD_FILE=/etc/restic.password
|
|
EnvironmentFile=/etc/scaleway.keys
|
|
ExecStart=/usr/local/sbin/restic-volume-data --root-dataset rpool/var/lib/{{ ansible_hostname }}/data --bucket-endpoint {{ scw_bucket_endpoint }}
|