sokko-g/ops/systemd/sokko-g-cards-backup.timer
Shinuwa 115e62d5b2 Make Cards database restores reliable and schedule backups
A restore left the replaced database's write-ahead log in place, so SQLite
replayed it and the restored file silently kept later writes. Restores now
remove it, backups stay single files, and a systemd timer keeps 14 daily copies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:54:17 +01:00

10 lines
250 B
SYSTEMD

# Rôle : déclenche chaque nuit la sauvegarde Sokko TCG et rattrape une exécution manquée au redémarrage.
[Unit]
Description=Daily Sokko G Cards database backup
[Timer]
OnCalendar=*-*-* 04:00:00
Persistent=true
[Install]
WantedBy=timers.target