Maxim Dolgolyov
|
cb43538c54
|
ops: weekly backup verification script + scripts README
verify-backup.sh: restores latest backup to /tmp, runs
PRAGMA integrity_check, compares row counts vs prod (>5% drop
in users = fail, >48h age = fail). Cron-driven, fails loud on
non-zero exit so cron mails the admin.
Exit codes: 2=no files, 3=too old, 4=corrupt, 5=row count diverged.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-06 17:16:04 +03:00 |
|