- 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> |
||
|---|---|---|
| .. | ||
| auth | ||
| backup | ||
| classify | ||
| config | ||
| receipt | ||
| storage | ||
| web | ||