Skip to main content
Important: LiteFS is outside our scope of support. We are not able to provide support or guidance for it. Use with caution.
Don’t use LiteFS with autostop/autostart on Fly Machines.The Fly Proxy can stop and restart Machines without knowing which Machine holds the LiteFS lease or has the latest data. This can allow a Machine with stale data to acquire the lease, causing LiteFS to discard newer changes and LTX files. The result can be a database rollback and permanent data loss.
LiteFS is a distributed file system that transparently replicates SQLite databases. You can run your application like it’s running against a local on-disk SQLite database but behind the scenes the database is replicated to all the nodes in your cluster. With LiteFS, you can run your database right next to your application on the edge. You can run LiteFS anywhere!

Project status

LiteFS is stable and running in production environments. The project is still pre-1.0 so APIs may change and features could be removed. Please remember that all software has bugs so we recommend you set up regular off-site backups in case of malfunction or disk corruption.

Exploring our guides

You can get up and running quickly with one of our guides: