# David-Crty/databasement

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.

Repository: https://github.com/David-Crty/databasement
Canonical: https://ross.abutalabs.com/products/databasement
Homepage: https://david-crty.github.io/databasement/
Language: PHP
License: MIT
License Family: permissive
Topics: backup, database, s3, mariadb, mysql, sqlite, backup-restore, database-backup, database-management, postgres, postgressql, self-hosted, webui, ssh, ssh-tunnel, sql, microsoft-sql-server, mssql, firebird, samba
Last push: 2026-08-15T14:40:15+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 84, longevity 20
- inputs: {"age_days": 292, "days_push": 18, "days_rel": 28, "gap_med": 1, "n_releases_24m": 84}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2019, forks 214 (observed 2026-08-28T04:06:05.565402+00:00)

## What it is
Databasement is a self-hosted web application for managing scheduled database backups and restores across MySQL, PostgreSQL, MariaDB, SQL Server, MongoDB, SQLite, Firebird, and Redis/Valkey. It supports S3, Azure Blob, Samba, SFTP/FTP, and local storage, with SSH tunneling, remote agents, retention policies, and failure notifications.

## Use cases
- schedule automated nightly backups of my postgres databases to s3
- back up mysql and mongodb servers from one web interface
- restore a production database snapshot to a staging server
- back up databases behind a firewall via ssh tunnel
- refresh a staging database nightly from the latest production backup
- get notified on slack when a database backup fails
- encrypt database backups with aes-256 before uploading

## When to choose
- you need a single self-hosted UI to schedule and monitor backups across many database engines
- you want flexible storage targets like S3, SFTP, SMB, or Azure Blob with retention policies
- you need cross-server restores or scheduled staging refreshes
- you want SSH tunnel or outbound-agent access to databases in private networks

## When to avoid
- you only need simple file or filesystem backups rather than database dumps
- you prefer a managed cloud backup service with no self-hosting
- you need application-level or non-database data backups
- you want a lightweight cron script rather than a full web application

## Facets
- artifact type: application
- maturity: active
- function: backup, scheduling, self-hosted, monitoring, alerting, webhook, mcp
- domain: databases, self-hosted
- platform: self-hosted
- tags: database-backup, s3, sftp, ssh-tunnel, restore, retention-policies, php, web-ui, remote-agents, devops, backup, docker, web-server, linux

## Member repositories
- David-Crty/databasement (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:05.565402+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:00:25.312047+00:00, confidence not recorded.
  - readme: https://github.com/David-Crty/databasement (fetched 2026-08-28T04:06:05.565402+00:00, sha 1dc671fbb16a)
  - homepage: https://david-crty.github.io/databasement/ (fetched 2026-08-29T10:40:13.473937+00:00, sha 2b573367121b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
