qmetrics.net

db-backup

Single-binary scheduled backup for nine database engines

Backup & RecoveryDesktop/CLI app
db-backup screenshot

db-backup backs up, restores, verifies, and maintains MySQL, PostgreSQL, MongoDB, and six other engines using one configuration style. It runs as a CLI or built-in scheduler on servers, containers, or CI.

Overview

db-backup is a cross-platform tool that unifies backup, restore, verification, and maintenance for multiple database engines behind one secret-friendly configuration syntax. You can invoke it from scripts or let its multi-job scheduler run recurring jobs on servers, in containers, or in pipelines.

Supported engines include MySQL, MariaDB, PostgreSQL, MongoDB, Microsoft SQL Server, Redis, SQLite3, InfluxDB, and CouchDB. Backup modes cover full, incremental, differential, and schema-only dumps, with table include and exclude filters. Output can land on the filesystem or on S3-compatible, WebDAV, Azure Blob, or Google Cloud Storage backends, with optional encryption via AGE, GPG, or OpenSSL AES-256.

Scheduling accepts cron, intervals, clock times, natural language, day filters, and blackout windows. Retention policies support last-N, time windows, and tiered hourly through yearly rules. Compression uses zstd, gzip, bzip2, or xz. Restore works from the CLI, interactive guided mode, or config-driven profiles. Checksums and JSON sidecar metadata accompany backups, and maintenance hooks can analyze, optimize, vacuum, or reindex after successful runs.

Distribution options include a container image, precompiled binaries for Linux, BSD, macOS, and Windows, source builds, and a NixOS module. Documentation is hosted separately; a community edition covers most features, with advanced capabilities in a paid supporter tier.

Key features

  • Nine database engines in one config
  • Full, incremental, and schema backups
  • S3, WebDAV, Azure, and GCS targets
  • AGE and GPG encryption at rest
  • Cron and natural-language scheduling
  • Tiered retention and compression
  • Guided and CLI restore flows
  • Checksums and JSON backup metadata

Use cases

  • Nightly production database backups
  • Multi-engine backup from one scheduler
  • Encrypted off-site backup archives
  • Post-backup vacuum and optimize jobs
  • Containerized backup sidecars

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

Litestream

Background SQLite WAL replication to files or cloud storage

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

  • Incremental SQLite WAL streaming
  • Local file and cloud storage replicas
  • Runs as separate background process
GoDetails →
★ 14.8k⟳ todayApache-2.0

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