Files
MealQuest/deploy/systemd/mealquest-media-backup.timer
T
dev_agentandClaude Opus 5.5 9ac3342664
CI / ci (pull_request) Successful in 1m38s
CI / ci (push) Successful in 1m34s
Litestream replication to the NAS and nightly media backup
Add a litestream service (0.5.17) to the compose stack that streams
/data/mealquest.db over SFTP to the Synology NAS with a dedicated key,
daily snapshots kept for a week. Add a systemd timer that rsyncs the
media directory to the NAS nightly at 03:30.

Task: d2f2e87e-5114-4ef1-93ab-360ffb5c009e

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 19:15:16 -04:00

12 lines
242 B
SYSTEMD

# Nightly trigger for mealquest-media-backup.service. Persistent= runs a
# missed backup at the next boot.
[Unit]
Description=Nightly MealQuest media backup
[Timer]
OnCalendar=*-*-* 03:30:00
Persistent=true
[Install]
WantedBy=timers.target