hsa-app/internal
Jean-Michel Tremblay 885fae06ec Backups: ROOT/dbbackup, hsa_sqlite_backup_YYYY_MM_DD.db naming
- Backup dir default ./data/dbbackup; files named hsa_sqlite_backup_<YYYY_MM_DD>.db
  (one per day; a same-day re-run is a no-op since the dated file exists).
- Simplify the scheduler: attempt on start, then tick every BACKUP_INTERVAL.
  Per-day idempotency makes restarts and sub-day intervals settle at one/day —
  removes the date-parsing untilNext/newestBackup logic (and its busy-loop edge).
- BACKUP_INTERVAL remains the frequency knob (Go duration; 0 disables).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 07:34:31 -04:00
..
auth Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
backup Backups: ROOT/dbbackup, hsa_sqlite_backup_YYYY_MM_DD.db naming 2026-06-19 07:34:31 -04:00
classify Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
config Backups: ROOT/dbbackup, hsa_sqlite_backup_YYYY_MM_DD.db naming 2026-06-19 07:34:31 -04:00
receipt Add receipt attachments captured at upload time (spec item 10) 2026-06-19 07:06:15 -04:00
storage Add scheduled metadata-only DB backups (spec item 11) 2026-06-19 07:12:50 -04:00
web Add receipt attachments captured at upload time (spec item 10) 2026-06-19 07:06:15 -04:00