Files
TREK/server/tests
Maurice 6584696894 fix(backup): snapshot the core DB and swap restores atomically
createBackup archived travel.db via the archiver's lazy live-file read, so a WAL
auto-checkpoint firing mid-stream could write a torn database into the zip. It now
VACUUM INTOs a point-in-time snapshot and archives that, the same guarantee plugin
DBs already get. restoreFromZip swapped the DB by unlink-then-copy, which on an
interrupted restore could leave no valid travel.db; it now copies to a temp file and
renames it into place (atomic), dropping the stale -wal/-shm sidecars first.
2026-07-11 21:52:53 +02:00
..
2026-07-11 19:02:34 +02:00
2026-06-16 22:22:45 +02:00
2026-06-16 22:22:45 +02:00