Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Database Tools
  3. Litestream

Litestream

Apache-2.0Gov0.5.11

A standalone disaster recovery tool that provides streaming replication for SQLite databases.

Visit WebsiteGitHubGitHub
13.5k stars355 forks0 contributors

What is Litestream?

Litestream is a standalone disaster recovery tool that provides streaming replication for SQLite databases. It runs as a background process and continuously replicates SQLite write-ahead log (WAL) changes to another file or cloud storage like Amazon S3. It solves the problem of data durability and backup for applications using SQLite in production by enabling point-in-time recovery and off-site replication.

Target Audience

Developers and DevOps engineers using SQLite in production environments who need reliable backup, replication, and disaster recovery capabilities without switching to a client-server database.

Value Proposition

Litestream offers a simple, non-intrusive way to add robust replication and backup to SQLite, enabling it to be used more confidently in production. Unlike traditional backup solutions, it provides continuous, incremental replication with minimal performance impact.

Overview

Streaming replication for SQLite.

Use Cases

Best For

  • Adding continuous backup to SQLite-based applications
  • Enabling disaster recovery for embedded SQLite databases
  • Replicating SQLite databases to Amazon S3 for off-site storage
  • Running SQLite in production with point-in-time recovery
  • Backing up SQLite databases without stopping the application
  • Building resilient applications with SQLite on Kubernetes or cloud platforms

Not Ideal For

  • Applications using non-SQLite databases with built-in replication (e.g., PostgreSQL or MySQL)
  • Systems requiring active-active replication with automatic failover for high availability
  • Teams without access to Amazon S3 or preferring other cloud storage providers like Google Cloud Storage
  • Projects seeking a fully managed database service with zero operational overhead

Pros & Cons

Pros

Continuous Real-time Replication

Streams SQLite WAL changes incrementally to S3 or a file, ensuring backups are always current without application downtime, as highlighted in the key features.

Point-in-Time Recovery

Enables restoration to any previous database state, providing comprehensive disaster recovery for SQLite-based applications, solving data durability issues.

Non-Intrusive Operation

Uses the standard SQLite API to avoid database corruption, making it safe to run alongside existing applications without modifications.

Standalone Process

Runs as a separate background service, requiring no changes to the application code, which simplifies integration and maintenance.

Cons

Beta Software Status

Marked as beta in the README, indicating potential instability, bugs, or breaking changes that could affect production use.

Limited Storage Options

Primarily supports Amazon S3 and local files; other cloud storage providers are not natively supported, reducing flexibility for some environments.

Operational Complexity

Requires manual setup, configuration, and ongoing monitoring, adding overhead compared to managed database services or built-in solutions.

Frequently Asked Questions

Quick Stats

Stars13,479
Forks355
Contributors0
Open Issues28
Last commit1 day ago
CreatedSince 2020

Tags

#devops#replication#disaster-recovery#database-replication#embedded-database#s3#streaming#sqlite#backup

Built With

G
Go
D
Docker

Links & Resources

Website

Included in

Database Tools5.1k
Auto-fetched 1 day ago

Related Projects

pgsyncpgsync

Sync data from one Postgres database to another

Stars3,447
Forks215
Last commit3 months ago
repmgrrepmgr

A lightweight replication manager for PostgreSQL (Postgres)

Stars1,690
Forks263
Last commit27 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub