Files
dotfiles/.config/systemd/user/garmin-dump.service
T
Daniele Fucini 831238e040 Add a weekly dump of the Garmin database
garmin-dump.timer runs garmin-dump weekly, keeping the two newest ISO weeks in
~/.local/share/negsplit/dumps, which simple_backup then copies; the login comes
from ~/.config/negsplit/dump.cnf (not tracked).
2026-10-31 11:30:03 +01:00

12 lines
289 B
Desktop File

[Unit]
Description=Dump the Garmin database to ~/.local/share/negsplit/dumps
StartLimitIntervalSec=2h
StartLimitBurst=4
[Service]
Type=oneshot
ExecStart=%h/.local/bin/garmin-dump
# MariaDB not up yet (e.g. caught up right after boot)? retry a few times
Restart=on-failure
RestartSec=5min