Skip to content

DBackupDatabase Backup Automation

Self-hosted solution for automating database backups with encryption, compression, and smart retention policies.

Quick Start โ€‹

Get DBackup running in minutes with Docker:

bash
docker run -d --name dbackup -p 3000:3000 \
  -e ENCRYPTION_KEY="$(openssl rand -hex 32)" \
  -e BETTER_AUTH_SECRET="$(openssl rand -base64 32)" \
  -e BETTER_AUTH_URL="http://localhost:3000" \
  -v "$(pwd)/db:/app/db" \
  -v "$(pwd)/backups:/backups" \
  -v "$(pwd)/storage:/app/storage" \
  skyfay/dbackup:latest
yaml
services:
  dbackup:
    image: skyfay/dbackup:latest
    container_name: dbackup
    restart: always
    ports:
      - "3000:3000"
    environment:
      - ENCRYPTION_KEY=  # openssl rand -hex 32
      - BETTER_AUTH_URL=http://localhost:3000
      - BETTER_AUTH_SECRET=  # openssl rand -base64 32
    volumes:
      - ./backups:/backups      # Local backup storage
      - ./db:/app/db            # SQLite database
      - ./storage:/app/storage  # Uploads & avatars

Then open http://localhost:3000 and create your first admin account.

โ†’ Full Installation Guide for Docker Compose, volumes, and production setup.

Supported Integrations โ€‹

DatabaseVersions
PostgreSQL12, 13, 14, 15, 16, 17, 18
MySQL5.7, 8.x, 9.x
MariaDB10.x, 11.x
MongoDB4.x, 5.x, 6.x, 7.x, 8.x
Redis6.x, 7.x, 8.x
SQLite3.x (Local & SSH)
Microsoft SQL Server2017, 2019, 2022, Azure SQL Edge

Architecture at a Glance โ€‹

DBackup is built with modern technologies:

  • Frontend: Next.js 16 (App Router), React, Shadcn UI
  • Backend: Next.js Server Actions, Prisma ORM
  • Database: SQLite for application state
  • Streaming: Native Node.js streams for efficient encryption/compression

The plugin-based adapter architecture makes it easy to add new databases, storage providers, or notification channels.

Community & Support โ€‹

  • ๐Ÿ’ฌ Discord: Join our community at https://dc.skyfay.ch
  • ๐Ÿ“ Documentation: Full guides and API reference in this wiki
  • ๏ฟฝ API Reference: Interactive API docs at api.dbackup.app or in-app at /docs/api
  • ๐Ÿ› Issues: Report bugs or request features on GitHub Issues
  • ๐Ÿ“ง Support: General questions and support via support@dbackup.app
  • ๐Ÿ”’ Security: Report vulnerabilities responsibly via security@dbackup.app (please do not open public issues for security reports)

๐Ÿค– AI Development Transparency & Security Notice โ€‹

Architecture & Concept (Human-Led): โ€‹

The system architecture, infrastructure design, strict technology stack selection, and feature specifications for DBackup were entirely conceptualized and directed by a human System Engineer to solve real-world infrastructure challenges.

Code Generation (AI-Driven): โ€‹

100% of the underlying application code, including the backend logic and frontend components, was written by advanced AI coding agents based on strict architectural prompts. No manual software coding was performed.

Testing & Quality Assurance: โ€‹

Manual Functional Testing: Every single feature has been extensively and manually tested by a human to ensure complete functional correctness, stability, and reliability in real-world scenarios.

Automated & Security Audits: Automated unit testing (Vitest) and initial static security audits were also conducted and implemented using AI agents.

Community Call for Code Review: โ€‹

While DBackup is functionally robust, heavily tested for daily use, and built on modern architectural best practices, the codebase has not yet undergone a manual security review by a human software developer. Due to the nature of AI-generated code and AI-driven audits, hidden structural vulnerabilities might still exist.

If you are a software developer or cybersecurity professional, your expertise is highly welcome! We invite the open-source community to review the code, submit PRs, and help us elevate DBackup to a fully verified, enterprise-ready standard.

Security Disclosure: If you discover a security vulnerability, please do not open a public GitHub issue. Instead, report it responsibly via email to security@dbackup.app.

Released under the GNU General Public License. | Privacy ยท Legal Notice