Skip to content

SQLite backup guides for Litebackup

TypeScript · Go · Python · Ruby · PHP · Rust

Start with the README, or pick a guide below.

Task Guide
Install a server and connect machines Server, behind your firewall, client runtime
Connect a bucket Storage providers
Monitor the server with Prometheus and Grafana Metrics
Back up SQLite continuously SQLite backup
Add backups to an app's driver or framework Integrations
Back up while the app keeps writing Live SQLite backup and WAL
Keep SQLite data across container replacements SQLite in Docker
Give each customer a database Tenants
Move agent state between machines Agents
Read a database on another machine Replicas
Restore SQLite to an earlier time Point-in-time restore
Recover records after a delete Recover deleted SQLite rows
Back up a list and exit One-shot jobs
Schedule backups Cron and Kubernetes CronJob
Run backups as retried activities Temporal
Integrate from Go Go examples
Integrate from Python Python guide
Integrate from Ruby or Rails Ruby guide
Integrate from PHP, Laravel, or Symfony PHP guide
Integrate from Rust Rust guide
Look up a method or error API, troubleshooting

TypeScript examples use ESM. Examples importing node:sqlite require Node.js 22.13+ (Node 24 is used for the runnable examples); the SDK itself supports Node 22+. Install your preferred SQLite driver separately if using another. All database directories must exist and be accessible to the local client.

Use the API reference for method names and options, and the client guide for sessions, permissions, and shutdown.

Agent fleets · Serverless workers · Direct HTTP API

Source on GitHub