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. SSH Tunnel support.
2,354
stars
232
commits
PHP
primary language
Sep 10, 2026
updated
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
Try it out! Explore the live demo to see Databasement in action before installing.
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 |
# 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
PUIDandPGIDenvironment variables to match your system's user/group IDs.
For production deployments, see our configuration guide for environment variables and best practices.
| Engine | Supported Versions | CLI Tool | Restore |
|---|---|---|---|
| MySQL | 5.6, 5.7, 8.x, 9.x | mariadb-dump | Yes |
| MariaDB | 10.x, 11.x, 12.x | mariadb-dump | Yes |
| PostgreSQL | 12, 13, 14, 15, 16, 17, 18 | pg_dump 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.
Databasement can be managed programmatically through its REST API and MCP server, enabling integration with scripts, CI/CD pipelines, and AI assistants.
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:
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.
Contributions are welcome! Before submitting a pull request, please:
Small fixes (typos, documentation improvements) can be submitted directly as PRs.
If you discover a security vulnerability, please report it responsibly. See SECURITY.md for details.
Databasement is open-source software licensed under the MIT License.
PHP
81.7%
Blade
16.9%
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. SSH Tunnel support.
2,354
stars
232
commits
PHP
primary language
Sep 10, 2026
updated
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
Try it out! Explore the live demo to see Databasement in action before installing.
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 |
# 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
PUIDandPGIDenvironment variables to match your system's user/group IDs.
For production deployments, see our configuration guide for environment variables and best practices.
| Engine | Supported Versions | CLI Tool | Restore |
|---|---|---|---|
| MySQL | 5.6, 5.7, 8.x, 9.x | mariadb-dump | Yes |
| MariaDB | 10.x, 11.x, 12.x | mariadb-dump | Yes |
| PostgreSQL | 12, 13, 14, 15, 16, 17, 18 | pg_dump 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.
Databasement can be managed programmatically through its REST API and MCP server, enabling integration with scripts, CI/CD pipelines, and AI assistants.
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:
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.
Contributions are welcome! Before submitting a pull request, please:
Small fixes (typos, documentation improvements) can be submitted directly as PRs.
If you discover a security vulnerability, please report it responsibly. See SECURITY.md for details.
Databasement is open-source software licensed under the MIT License.
PHP
81.7%
Blade
16.9%