Skip to content

Instantly share code, notes, and snippets.

@bjo81
Created December 19, 2018 10:00
Show Gist options
  • Save bjo81/466997de3035f90b09d479ab0b94a153 to your computer and use it in GitHub Desktop.
Save bjo81/466997de3035f90b09d479ab0b94a153 to your computer and use it in GitHub Desktop.
borgmatic timer
[Unit]
Description=borgmatic backup
[Service]
Type=oneshot
ExecStart=/usr/local/bin/borgmatic
[Unit]
Description=Run borgmatic backup
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment