SQLite WAL Mode: The 3 Files You Must Back Up Together
In WAL mode a SQLite database is really three files. Backing up only the main file silently loses your newest writes — here is how the pieces fit and how to back up safely.
In WAL mode a SQLite database is really three files. Backing up only the main file silently loses your newest writes — here is how the pieces fit and how to back up safely.
VACUUM INTO is the safest way to back up and compact a SQLite database while it is running. Here is how it works, when it fails, and why I use it over file copies.
The tradeoff between speed and durability in SQLite: what WAL and synchronous=NORMAL actually mean, and when FULL is the right call.
Five real mistakes that damage SQLite databases in production, learned the hard way — and the backup and integrity discipline that catches them before they become disasters.