mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 09:41:04 +01:00
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>