Just a very simple systemd service for restic.
- Place the systemd.service files restic-backup.service and restic-backup.timer in
/etc/systemd/system/
.
- Edit the environment variables like
RESTIC_PASSWORD
in the .service file. - Run
systemctl daemon-reload
. - Enable the timer
systemctl enable restic-backup.timer
.