Add backup service and timer

main
trivernis 10 months ago
parent 8e0446a16e
commit f6cc5c142d
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -0,0 +1,6 @@
[Unit]
Description=Does a backup
[Service]
ExecStart=nu {{dirs.data}}/scripts/backup.nu

@ -0,0 +1,9 @@
[Unit]
Description=Run daily backups
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
Loading…
Cancel
Save