David-Crty/databasement

▲ 17 stars today★ 2,467⑂ 274

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

About David-Crty/databasement

David-Crty/databasement is an open-source project on GitHub, mainly written in PHP. Self-hosted database backup manager with a web UI. Schedule, backup, and restore MySQL, PostgreSQL, MariaDB, Microsoft SQL Server, MongoDB It currently holds 2,467 stars and 274 forks with 28 open issues, and was last pushed on 2026-09-27 (repository created 2025-11-14).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #96 with 17 new stars today.

GitHub Repository Details

Repository David-Crty/databasement · default branch main · size 42717 KB · watchers 18 · source: GitHub REST API and repository README

README

https://github.com/David-Crty/databasement/blob/HEAD/Databasement Banner

https://github.com/David-Crty/databasement/blob/HEAD/Code Coverage https://github.com/David-Crty/databasement/blob/HEAD/CI Status https://github.com/David-Crty/databasement/blob/HEAD/Artifact Hub https://github.com/David-Crty/databasement/blob/HEAD/Docker Pulls https://github.com/David-Crty/databasement/blob/HEAD/Known Vulnerabilities

A modern, self-hosted database backup management application for MySQL, PostgreSQL, MariaDB, Microsoft SQL Server, MongoDB, SQLite, Firebird, and Redis.

Live Demo · Documentation · llms.txt · Report Bug or Request Feature

---

Features

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

# Run the container
docker run -d \
  --name databasement \
  -p 2226:2226 \
  -e DB_CONNECTION=sqlite \
  -e DB_DATABASE=/data/database.sqlite \
  -e ENABLE_QUEUE_WORKER=true \
  -v ./databasement-data:/data \
  davidcrty/databasement:1

Open http://localhost:2226 and create your first admin account.

Note: The container automatically handles volume permissions. You can use PUID and PGID 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.5, 5.6, 5.7, 8.x, 9.x, 26.x | mysqldump | Yes | | MariaDB | 5.x, 10.x, 11.x, 12.x | mariadb-dump / mysqldump | Yes | | PostgreSQL | 12, 13, 14, 15, 16, 17, 18 | pg_dump v16 / v18 | Yes | | SQL Server | 2017, 2019, 2022, Azure SQL | sqlpackage (.dacpac) | Yes | | MongoDB | 4.2, 4.4, 5.0, 6.0, 7.0, 8.0 | mongodump / mongorestore | Yes | | SQLite | 3.x | sqlite3 .backup | Yes | | Firebird | 3.x, 4.x, 5.x | gbak v5 | Yes | | Redis | 2.8+ | redis-cli --rdb | No | | Valkey | 7.2+ | redis-cli --rdb | 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.

Documentation

Full documentation is available at david-crty.github.io/databasement.

For LLMs and AI assistants, the documentation is also published in the llmstxt.org format:

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:

1. Check existing issues and discussions to avoid duplicates 2. For significant changes, open an issue first to discuss the approach 3. 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.

GitHub Stars & Activity

2,467Stars
274Forks
28Open issues
PHPLanguage

GitHub Popularity

GitHub stars2,467
Forks274
Open issues28
Primary languagePHP
LicenseMIT
Stars gained today17
Created2025-11-14
Last pushed2026-09-27

Trending History

Daily boardrank #96 · ▲ 17 stars

Related GitHub Projects

1

freeCodeCamp / freeCodeCamp

TypeScript★ 456,393⑂ 47,645▲ 100 stars
→
2

EbookFoundation / free-programming-books

Python★ 398,013⑂ 66,861▲ 157 stars
→
3

tensorflow / tensorflow

C++★ 200,575⑂ 77,795▲ 179 stars
→
4

ohmyzsh / ohmyzsh

Shell★ 189,964⑂ 27,925▲ 20 stars
→
5

flutter / flutter

Dart★ 179,131⑂ 32,508▲ 23 stars
→
6

DietrichGebert / ponytail

JavaScript★ 147,043⑂ 7,901▲ 511 stars
→
7

vercel / next.js

JavaScript★ 142,815⑂ 33,319▲ 276 stars
→
8

golang / go

Go★ 139,060⑂ 20,752▲ 30 stars
→

More Trending Repositories