Litestream v0.5.0 introduces major performance improvements and point-in-time recovery for SQLite databases. The update replaces the old WAL-based backup system with a new LTX file format that enables transaction-aware backups, hierarchical compaction, and faster restoration. Key changes include eliminating the generations concept for simpler backup management, supporting restoration from an average of just a dozen files, and adding NATS JetStream as a replica option. The upgrade is backwards compatible with existing configurations, though it can't restore from old v0.3.x WAL files. Future plans include a VFS for instant read replicas that can serve pages from S3 while hydrating in the background.

8m read timeFrom fly.io
Post cover image
Table of contents
Litestream to LiteFS to LitestreamThe LTX File FormatNo More GenerationsUpgrading to Litestream v0.5.0Other Stuff v0.5.0 Does BetterWhat’s next?

Sort: