infra-oasis21/backups/autorestic.service

11 lines
235 B
SYSTEMD
Raw Permalink Normal View History

2024-01-20 21:02:38 +01:00
[Unit]
Description=Backups yay
[Service]
Type=oneshot
ExecStart=autorestic -c /DATA/docker/services/backups/.autorestic.yml --ci cron
# fail if backup takes more than 1 day
TimeoutStartSec=86400
IPAccounting=yes
MemoryAccounting=yes