saveqlite is a TypeScript library for incremental backup of SQLite databases. Version 1.1.2 provides functions to create incremental backups and restore them, reducing storage overhead by only saving changes since the last snapshot. It is based on sqlite3-incremental-backup and requires Node.js >=14 and npm >=8. Released as an npm package, it is actively maintained.
npm install saveqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates incremental backup and restore using the two main functions from saveqlite.
Consider wrapping calls in a Worker thread or using asynchronous alternatives for large databases.
Do not edit or attempt to parse snapshot files manually.
Ensure the target path is either empty or you intend to overwrite.
Manually compress snapshot files after creation, e.g., using gzip.
Verify the file path and ensure the database file exists before calling backup.
Install better-sqlite3 version ^7.0.0 and ensure it matches the expected API.
No dependency data recorded yet.