# nfrastack/db-backup

Backup multiple database types on a scheduled basis with many customizable options

Repository: https://github.com/nfrastack/db-backup
Canonical: https://ross.abutalabs.com/products/db-backup
Homepage: https://nfrastack.com/db-backup
Language: Dockerfile
License: MIT
License Family: permissive
Topics: docker, backup, mysql, influx, redis, mariadb, mongodb, mongo, couchdb
Last push: 2026-08-26T17:23:50+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3276, "days_push": 7, "days_rel": 9, "gap_med": 17, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1533, forks 161 (observed 2026-08-28T04:04:59.642979+00:00)

## What it is
A multi-engine database backup tool (Docker image and single Go binary) that backs up MySQL/MariaDB, Postgres, MongoDB, Redis, SQLite, MSSQL, InfluxDB, and CouchDB on flexible schedules. It supports filesystem, S3-compatible, and Azure storage targets with compression, GPG encryption, checksums, retention, notifications, and an interactive restore tool.

## Use cases
- schedule nightly backups of mysql and postgres databases
- back up mongodb and redis containers to s3
- encrypt database dumps with gpg before storing them
- run scheduled database backups in docker compose
- restore a database dump from a backup archive
- back up multiple databases with per-job retention and compression
- skip backups during blackout hours
- get notified when a database backup fails

## When to choose
- you need one tool to back up many different database engines
- you want scheduled, compressed, encrypted dumps to local disk, S3, or Azure
- you run containerized infrastructure and want env-var-driven backup jobs
- you need restore tooling and failure notifications alongside backups

## When to avoid
- you need continuous replication or point-in-time recovery rather than dump-based backups
- you want full-system or file-level backups, not just databases
- you need a GUI-managed enterprise backup suite
- you require cloud-native managed backup services instead of self-hosted tooling

## Facets
- artifact type: application
- maturity: active
- function: backup, scheduling, compression, cryptography, database
- domain: databases, self-hosted
- platform: cross-platform, cli, self-hosted
- tags: database-backup, multi-engine, s3, azure, gpg-encryption, restore-tool, nixos-module, zabbix, devops, automation, docker, linux

## Member repositories
- nfrastack/db-backup (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.642979+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:15.702814+00:00, confidence not recorded.
  - readme: https://github.com/nfrastack/db-backup (fetched 2026-08-28T04:04:59.642979+00:00, sha 21d2fd6986cb)
  - homepage: https://nfrastack.com/db-backup (fetched 2026-08-29T11:33:17.311993+00:00, sha 441311f750fa)
  - site_page: https://nfrastack.com/db-backup/install (fetched 2026-08-29T11:33:17.321609+00:00, sha b43c6dc4c9b8)
  - site_page: https://nfrastack.com/db-backup/guides/quickstart (fetched 2026-08-29T11:33:17.323805+00:00, sha b2742f723e16)
- Data as of 2026-08-30T08:39:29.467469+00:00.
