Backup and restore your databases to multiple storage backends
See the codeConsistent, scheduled database backups for nine engines with a single, secret friendly binary.
db-backup is a cross platform tool that backs up, restores, verifies, and maintains databases across multiple engines using one unified configuration syntax. Whether you are calling it from your own scripts or using the built-in multi-job scheduler, db-backup fits servers, containers, and CI pipelines alike.
Most features work out of the box in the free Community edition. Some advanced features require a Supporter license.
Run your first backup with the container:
docker run --rm \
-e DB01_TYPE=mysql \
-e DB01_HOST=db-internal \
-e DB01_USER=backup \
-e DB01_PASS=secret \
-e DB01_NAME=testdb \
-v ./backups:/backup \
docker.io/nfrastack/db-backup:latest
Or grab a precompiled binary, build from source, or use the NixOS module and use the configuration files to perform advanced functions.
All documentation lives at nfrastack.com/db-backup:
| Section | Contents |
|---|---|
| Install | Containers, binaries, source, NixOS module |
| Guides | Quickstart, configuration, jobs, profiles, encryption, lifecycle |
| Recipes | Copy-paste examples for every command |
| Reference | CLI flags, config keys, engines, sidecars |
| Container | Image usage, environment variables, upgrading |
| Editions | Community vs Supported feature comparison |
db-backup uses an open-core model. The Community Edition is free and open source under AGPL-3.0-or-later. Upgrading to a Supporter Edition is licensed under a proprietary commercial license and unlocks advanced features while directly funding ongoing development. See the full edition comparison.
If you found a bug, please submit a Bug Report. Usage questions will be closed as not-a-bug.
For implementation help, consulting, or Supported edition licenses, reach out at hello@nfrastack.com or visit nfrastack.com/db-backup/support.
This project is dual licensed:
supported/), unlocking advanced capabilities along with license compliance and direct support.Each file in this project carries an SPDX license identifier following the REUSE guidelines; the full texts of both licenses are available in the LICENSES directory.
The container image packaging (container/) is licensed separately under the MIT License - see container/LICENSE, the bundled dbb binary inside the image is licensed as described above, not under MIT.
Copyright (C) 2026 Nfrastack
324 followers · starred Jul 2024
132 followers · starred May 2025
69 followers · starred Jun 2024
81 followers · starred Jun 2024
Backup and restore your databases to multiple storage backends
See the codeConsistent, scheduled database backups for nine engines with a single, secret friendly binary.
db-backup is a cross platform tool that backs up, restores, verifies, and maintains databases across multiple engines using one unified configuration syntax. Whether you are calling it from your own scripts or using the built-in multi-job scheduler, db-backup fits servers, containers, and CI pipelines alike.
Most features work out of the box in the free Community edition. Some advanced features require a Supporter license.
Run your first backup with the container:
docker run --rm \
-e DB01_TYPE=mysql \
-e DB01_HOST=db-internal \
-e DB01_USER=backup \
-e DB01_PASS=secret \
-e DB01_NAME=testdb \
-v ./backups:/backup \
docker.io/nfrastack/db-backup:latest
Or grab a precompiled binary, build from source, or use the NixOS module and use the configuration files to perform advanced functions.
All documentation lives at nfrastack.com/db-backup:
| Section | Contents |
|---|---|
| Install | Containers, binaries, source, NixOS module |
| Guides | Quickstart, configuration, jobs, profiles, encryption, lifecycle |
| Recipes | Copy-paste examples for every command |
| Reference | CLI flags, config keys, engines, sidecars |
| Container | Image usage, environment variables, upgrading |
| Editions | Community vs Supported feature comparison |
db-backup uses an open-core model. The Community Edition is free and open source under AGPL-3.0-or-later. Upgrading to a Supporter Edition is licensed under a proprietary commercial license and unlocks advanced features while directly funding ongoing development. See the full edition comparison.
If you found a bug, please submit a Bug Report. Usage questions will be closed as not-a-bug.
For implementation help, consulting, or Supported edition licenses, reach out at hello@nfrastack.com or visit nfrastack.com/db-backup/support.
This project is dual licensed:
supported/), unlocking advanced capabilities along with license compliance and direct support.Each file in this project carries an SPDX license identifier following the REUSE guidelines; the full texts of both licenses are available in the LICENSES directory.
The container image packaging (container/) is licensed separately under the MIT License - see container/LICENSE, the bundled dbb binary inside the image is licensed as described above, not under MIT.
Copyright (C) 2026 Nfrastack
324 followers · starred Jul 2024
132 followers · starred May 2025
69 followers · starred Jun 2024
81 followers · starred Jun 2024