Feedback
VACUUM INTO fails to save in-memory SQLite databases to disk
- Status
- Fixed
- Fixed in
- v26.10.4
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1382-problem-saving-an-sqlite-database-to-disk
- Last updated
- 2026-10-30
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Saving an in-memory SQLite database to disk with ExecuteSQL("VACUUM main INTO 'path';") can return successfully without creating the destination file. The same operation succeeds when the source database is file-based.
The command should create a persistent SQLite database containing the source schema and data, or raise a database error if the destination cannot be written. Applications currently receive no indication that their backup was not saved.