# /etc/systemd/system/garage-data-backup.service (rpi) # # Object data is 36 MB today; a nightly full rsync costs seconds. If that ever # stops being true, switch to `rsync -a --delete` with a bandwidth cap rather # than moving to incremental tooling — the tree is content-addressed and rsync # already only transfers changed blocks. [Unit] Description=Garage object data -> Linode VPS (off the Pi) After=docker.service network-online.target Wants=network-online.target [Service] Type=oneshot ExecStart=/usr/local/sbin/garage-backup.sh data TimeoutStartSec=2h Nice=15 IOSchedulingClass=idle