Problem / Motivation
When attempting to restore a MySQL database from the latest backup using dbackup, the process fails due to an integrity check error. Interestingly, the second-to-last backup restores perfectly fine without any issues.
dbackup-1 | {"level":"error","message":"Restore service error","timestamp":"2026-05-23T11:06:48.556Z","context":{"service":"RestoreService"},"error":{"name":"t","message":"Backup file integrity check failed. The file may be corrupted or tampered with.","stack":"t: Backup file integrity check failed. The file may be corrupted or tampered with.\n at /app/.next/server/chunks/[root-of-the-server]__03k~~2m._.js:1:10330\n at L (/app/.next/server/chunks/0ddr_next_dist_esm_build_templates_app-route_0el4550.js:1:12012)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","code":"UNKNOWN_ERROR"}}
Proposed Solution
To prevent discovering corrupted backups only during a critical restore process, would it be possible to add an integrity check feature?
Ideally, this could include:
A button in the UI to manually verify a backup's integrity.
An automated background task (or cron job) that verifies the checksum immediately after a backup is created.
Alternatives Considered
No response
Area
Backup / Restore
Additional Context
No response
Problem / Motivation
When attempting to restore a MySQL database from the latest backup using dbackup, the process fails due to an integrity check error. Interestingly, the second-to-last backup restores perfectly fine without any issues.
Proposed Solution
To prevent discovering corrupted backups only during a critical restore process, would it be possible to add an integrity check feature?
Ideally, this could include:
A button in the UI to manually verify a backup's integrity.
An automated background task (or cron job) that verifies the checksum immediately after a backup is created.
Alternatives Considered
No response
Area
Backup / Restore
Additional Context
No response