Each guide starts from zero. You install your Litebackup server, join the machine that runs your app, start backing up its database, and then set up the platform's own startup and shutdown, so a new instance acquires the database and the old one hands it back before it stops.
| Guide | What it covers |
|---|---|
| SQLite on autoscaled machines | Ephemeral join tokens, litebackup run, draining, and what a crash costs |
| Run a SQLite app on Fly.io | litebackup run as the entrypoint, a volume, kill_signal, and kill_timeout |
| Run a SQLite app on DigitalOcean | Droplets with systemd user units and a Spaces bucket for the server |
| Back up a Rails SQLite database | The Railtie's acquire and drain_on_shutdown with Puma and Rails 8 |
Every guide ends with the same test. The app writes a row when the platform stops it, and the next instance reads that row after it acquires the database, which proves the drain finished in time.
For a single machine that keeps its disk, how to back up SQLite is the place to start, and SQLite in production covers deploys and restores in general. The command line and the SDKs document every command and option the guides use.
Install
Install your Litebackup server on a Linux machine you control, then join your first machine with the command line or an SDK. The deployment guides cover each platform. Keep a second, independent backup of data you cannot lose, so no single system holds the only copy.