DBackup

Self-hosted backup automation for databases and files. Supports MySQL, PostgreSQL, MongoDB, MSSQL, Redis, Valkey, MariaDB, SQLite & Firebird, plus full director

What is DBackup?

Self-hosted backup automation for databases and files. Supports MySQL, PostgreSQL, MongoDB, MSSQL, Redis, Valkey, MariaDB, SQLite & Firebird, plus full directory backups with incremental snapshots. Encrypts and compresses to S3, FTP, SFTP, WebDAV, SMB, Dropbox, Google Drive & more, with retention policies and web-based restores.

Overview of DBackup

What it is

DBackup is a self-hosted backup automation tool for databases and files. It runs as a single Docker container and connects to databases directly or over SSH without requiring an agent on the target servers. Backups are encrypted with AES-256-GCM, compressed, and stored as standard database dumps or TAR archives. The backup format is publicly documented, and a Recovery Kit allows restoring backups offline using a Node.js script and the encryption key.

Key features

  • Supports 10 database engines: PostgreSQL (12–18), MySQL (5.7, 8.x, 9.x), MariaDB (10.x, 11.x), MongoDB (4.x–8.x), Redis (2.8+), Valkey (7.2+), SQLite (3.x), Microsoft SQL Server (2017, 2019, 2022, Azure SQL Edge), Azure SQL Database (beta), and Firebird (beta).
  • Backups can be sent to 13 storage destinations: local filesystem, Amazon S3 and S3-compatible storage (Cloudflare R2, Hetzner, MinIO, Wasabi), Google Drive, Dropbox, OneDrive, SFTP, FTP/FTPS, WebDAV, SMB, and rsync over SSH.
  • Encryption uses AES-256-GCM with managed keys; a Recovery Kit enables offline decryption without DBackup.
  • Incremental backups and smart retention policies (daily, weekly, monthly, yearly).
  • Restore options include a whole database, a database under a new name, or a single file from a folder backup.
  • Notifications via Discord, Slack, Microsoft Teams, Telegram, Gotify, ntfy, webhooks, SMS (Twilio), and email.
  • Team features: SSO via OIDC, groups with fine-grained permissions, 2FA and passkeys, audit log, and a REST API with scoped keys.

Use cases

DBackup is suitable for backing up databases and associated files in a self-hosted environment. It can be used to automate backups for web applications, microservices, or legacy systems that rely on supported database engines. The tool is designed for teams that need centralized backup management with role-based access, encryption, and multi-destination storage.

Getting started

- '3000:3000'    environment:
- ENCRYPTION_KEY=       # openssl rand -hex 32      - BETTER_AUTH_URL=https://localhost:3000      - BETTER_AUTH_SECRET=   # openssl rand -base64 32    volumes:
- ./data:/data          # All persistent data      - ./backups:/backups    # Optional, for local backups``````bashdocker compose up -d```Open https://localhost:3000 and create the admin account. Images are built for AMD64 and ARM64.

### License and pricing

DBackup is open source under the GNU General Public License v3.0 (GPL-3.0). The project is free and accepts sponsorships starting at $15 per month or $100 one-time.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/skyfaydbackup.svg)](https://yunodb.com/tools/skyfaydbackup?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/skyfaydbackup?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/skyfaydbackup.svg" alt="Featured on YunoDB" height="20"></a>