2022-12-18 17:06:27 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Backup snapshots using restic
|
|
|
|
Documentation=man:restic(8)
|
|
|
|
OnFailure=status-mail@%n.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
Environment=TZ=UTC
|
|
|
|
Environment=RESTIC_CACHE_DIR=/var/cache/restic
|
2023-02-12 22:25:20 +01:00
|
|
|
ExecStart=/usr/local/sbin/restic-batch --config-dir /etc/restic-batch.d backup
|