Reference
The Litestream command line provides several subcommands to help you manage replication & recovery of your databases. This reference provides details about the options available and different modes of operation.
Commands
The litestream commands are:
litestream databases— Lists databases specified in config file.litestream ltx— List available LTX files for a database.litestream mcp— MCP server for AI assistant integration.litestream replicate— Runs a server to replicate databases.litestream restore— Recovers database backup from a replica.litestream status— Reports local replication status for configured databases.litestream sync— Forces immediate WAL-to-LTX sync for a database.litestream version— Prints the binary version.litestream wal— List available WAL files for a database (deprecated).
Daemon Control Commands
These commands communicate with a running litestream replicate daemon over the
IPC control socket. They require a running daemon with the socket enabled.
litestream info— Shows daemon version, PID, and uptime.litestream list— Lists databases managed by the daemon.litestream register— Dynamically adds a database to the daemon.litestream unregister— Removes a database from the daemon.litestream start— Resumes replication for a stopped database.litestream stop— Pauses replication for a database.
VFS Extension
litestream-vfs— Optional read-only VFS that serves replicas directly from object storage.
IPC Endpoints
- IPC Endpoints — Unix socket endpoints for local status queries and profiling.
Prometheus Metrics
- Prometheus Metrics — Reference for all metrics exported by Litestream.
JSON Output
- JSON Output Reference — Stable schemas and conventions for
-jsonCLI output.