back to home

David-Crty / databasement

Self-hosted database backup manager with a web UI. Schedule, backup, and restore MySQL, PostgreSQL, MariaDB, MongoDB, SQLite & Redis to S3, SFTP, or local storage. SSH Tunnel support.

286 stars
20 forks
4 issues
PHPBladeShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing David-Crty/databasement in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/David-Crty/databasement)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

A modern, self-hosted database backup management application for MySQL, PostgreSQL, MariaDB, MongoDB, SQLite, and Redis. Live Demo · Documentation · Report Bug or Request Feature · --- Features • **Multi-database support** — Manage MySQL, PostgreSQL, MariaDB, MongoDB, SQLite, and Redis/Valkey servers from a single interface • **SSH tunnel support** — Connect to databases in private networks through a bastion/jump server with password or key-based authentication • **Automated backups** — Schedule recurring backups on daily or weekly intervals. Flexible retention policies: simple time-based (days) or GFS (grandfather-father-son) • **Multiple compression options** — gzip, zstd (20-40% better compression), or encrypted (AES-256 for sensitive data) • **Cross-server restore** — Restore snapshots from production to staging, or between any compatible servers • **Flexible storage** — Store backups locally, on S3-compatible storage (AWS S3, MinIO, etc.), or remote servers via SFTP/FTP • **Real-time monitoring** — Track backup and restore progress with detailed job logs • **Failure notifications** — Get alerted via Email, Slack, Discord, Telegram, Pushover, Gotify, or Webhook when jobs fail • **Team ready** — Multi-user support with role-based access and optional two-factor authentication • **Automation** — REST API and MCP server for scripting, CI/CD, and AI assistant integration • **Simple deployment** — Single Docker container with built-in web server, queue worker, and scheduler > **Try it out!** Explore the live demo to see Databasement in action before installing. Self-Hosting Databasement is designed to be self-hosted. We provide several deployment options: | Method | Description | Guide | |-----------------------|----------------------------------------------|--------------------------------------------------------------------------------------| | **Docker** | Single container deployment | View Guide | | **Docker Compose** | Multi-container setup with external database | View Guide | | **Kubernetes + Helm** | For Kubernetes clusters | View Guide | | **Native Ubuntu** | Traditional installation without Docker | View Guide | Quick Start Open http://localhost:2226 and create your first admin account. > **Note:** The container automatically handles volume permissions. You can use and environment variables to match your system's user/group IDs. For production deployments, see our configuration guide for environment variables and best practices. Supported Database Versions | Engine | Supported Versions | CLI Tool | Restore | |------------|------------------------------|------------------------------|---------| | MySQL | 5.6, 5.7, 8.x, 9.x | | Yes | | MariaDB | 10.x, 11.x, 12.x | | Yes | | PostgreSQL | 12, 13, 14, 15, 16, 17, 18 | v18 | Yes | | MongoDB | 4.2, 4.4, 5.0, 6.0, 7.0, 8.0 | / | Yes | | SQLite | 3.x | File copy | Yes | | Redis | 2.8+ | | No | | Valkey | 7.2+ | | No | See the Database Servers documentation for version-specific backup and restore details. Automation Databasement can be managed programmatically through its **REST API** and **MCP server**, enabling integration with scripts, CI/CD pipelines, and AI assistants. • **REST API** — Full API for managing servers, backups, and restores. See the API documentation. • **MCP Server** — Connect AI assistants (Claude Code, Cursor, VS Code Copilot, etc.) to manage backups through natural language. See the MCP documentation. Documentation Full documentation is available at david-crty.github.io/databasement. Issues & Feature Requests Found a bug? Please open an issue with reproduction steps. Have an idea for a new feature? Start a discussion first so we can evaluate together whether it fits the project scope. Contributing Contributions are welcome! Before submitting a pull request, please: • Check existing issues and discussions to avoid duplicates • For significant changes, open an issue first to discuss the approach • Follow the development guide for setup instructions Small fixes (typos, documentation improvements) can be submitted directly as PRs. Security If you discover a security vulnerability, please report it responsibly. See SECURITY.md for details. License Databasement is open-source software licensed under the MIT License.