qmetrics.net

Litestream

Background SQLite WAL replication to files or cloud storage

Litestream screenshot

Standalone process that streams SQLite write-ahead log changes to local paths or remote storage for incremental disaster recovery. Integrates without modifying application code.

Overview

Litestream is a disaster recovery companion for SQLite databases. It runs alongside your application as a separate process, watches the database write-ahead log, and replicates changes incrementally to a configured replica destination.

Replicas can target local filesystem paths or supported remote object storage backends, so you can keep off-site copies without running a separate database cluster. The tool is aimed at single-node SQLite deployments that still need continuous backup and a path to restore after server failure.

Because it operates outside the app, existing SQLite programs can adopt it without code changes. Replication introduces a small internal lock table in the source database to coordinate WAL checkpoints; that schema change is expected while Litestream is active. Graceful shutdown attempts to finish syncing on SIGINT or SIGTERM within configurable timeouts.

File replica URLs follow URL path escaping rules, including Unicode paths and percent encoding. The project also offers a Go library interface for embedding replication in other programs, though process-level shutdown behavior differs for library callers.

Key features

  • Incremental SQLite WAL streaming
  • Local file and cloud storage replicas
  • Runs as separate background process
  • No application code changes required
  • Configurable graceful shutdown timeouts
  • Go library for embedded replication
  • URL-escaped file replica paths
  • Restore from latest replicated state

Use cases

  • Continuous backup of production SQLite
  • Cheap object-storage database replicas
  • Single-server apps needing DR copies
  • Recovering after host or disk failure
  • Off-site replication without extra DB servers

Tags

Similar software

restic

Encrypted incremental backup program for files and snapshots

restic is a command-line backup tool for Linux, macOS, Windows, and BSD systems that deduplicates data, encrypts repositories, and restores only changed content

  • Encrypted backup repositories
  • Incremental snapshots with deduplication
  • Multiple cloud and SFTP backends
GoLinux, macOS, Windows, CLIDetails →
★ 37.7k⟳ yesterdayBSD-2-Clause
Backup & RecoveryDesktop/CLI app
Open Source Alternative to:Time Machine

Duplicati

Encrypted incremental backups to cloud storage

Duplicati is an open-source backup client that stores encrypted, compressed, incremental backups on remote cloud storage and file servers. It runs on Windows, macOS, and Linux.

  • AES-256 or GPG encryption
  • Incremental compressed backups
  • Built-in backup scheduler
C#Linux, macOS, Windows, CLIDetails →
★ 15.2k⟳ todayMIT · open core
Backup & RecoveryDesktop/CLI app
Open Source Alternative to:Time Machine

Kopia

Cross-platform encrypted backup with deduplication and compression

Creates encrypted snapshots of selected files and folders, then stores them locally or on remote backends you configure. Offers both command-line and desktop interfaces on major desktop OSes.

  • Incremental encrypted snapshots
  • Client-side end-to-end encryption
  • Compression and data deduplication
GoLinux, macOS, Windows, CLIDetails →
★ 15k⟳ todayApache-2.0
Backup & RecoveryDesktop/CLI app
Open Source Alternative to:Time Machine

BorgBackup

Deduplicating backup archiver with encryption

BorgBackup is a deduplicating backup program with optional compression and authenticated encryption. Repositories can live on local disks or remote hosts reached over SSH and other protocols.

  • Content-defined deduplication
  • Authenticated encryption
  • Multiple compression options
PythonLinux, macOS, Windows, CLIDetails →
★ 14k⟳ 2 days agoBSD-2-Clause
Backup & RecoveryDesktop/CLI app
Open Source Alternative to:Time Machine

imessage-exporter

Export and diagnose Apple iMessage data

imessage-exporter provides a CLI and Rust library to read the iMessage database, export conversations to txt or html, preserve attachments, and run diagnostics on Apple message stores.

  • txt and html conversation export
  • Attachment preservation
  • iMessage database diagnostics
RustLinux, macOS, WindowsDetails →
★ 5.8k⟳ 18 days agoGPL-3.0
Backup & RecoveryDesktop/CLI app

pgBackRest

Reliable PostgreSQL backup and restore utility

pgBackRest backs up and restores PostgreSQL databases with parallel processing, WAL archiving, and object-store repositories. It targets large databases and enterprise retention needs.

  • Parallel backup and restore
  • Local or remote TLS/SSH operation
  • Multiple backup repositories
CCLIDetails →
★ 4.5k⟳ 5 days agoMIT
Backup & RecoveryDesktop/CLI app