Files
PaperClipAI/packages
DottaandPaperclip 259f1bf1ff fix(db): write backups atomically via .partial staging then rename
The health check treated any non-empty .sql.gz as a valid backup, but the
writer streamed gzip output directly to the final path, so a crashed dump
could leave a truncated archive that counted as fresh. Both backup engines
now stream to <name>.sql.gz.partial and rename on success, making .sql.gz
complete-by-convention; failures clean up partials and pruning removes
orphaned partials older than 24h.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-06 22:03:48 +00:00
..