Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Systemd

Timer systemd

Service

[Unit]
Description= rustic %i service

[Service]
Type=oneshot
ExecStart=/usr/local/bin/rustic --use-profile %i backup --json 
StandardOutput=file:/backups/zabbix/%i.json

Timer

[Unit]
Description=Run restic@.service night

[Timer]
OnCalendar=*-*-* 00:00:00
AccuracySec=1us
Persistent=true
RandomizedDelaySec=10800
FixedRandomDelay=true