selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Databasus logo

Self-host Databasus

v3.67.0

PostgreSQL backup tool with PITR and restore verification

ReleaseOpen SourceApache-2.0
docker run -d --name databasus -p 4005:4005 -v ./databasus-data:/databasus-data --restart unless-stopped databasus/databasus:latest
Updated15 hours ago
LanguageTypescript
Setup difficultyEasy
MobileResponsive
ThemeDark mode
Stars
9 256
CPU
1 CPU core
RAM
500 MB
Storage
5 GB
Port
4005 (Web UI and HTTP API)
Requires
Docker Engine
Docker
databasus/databasus

What is Databasus?

Databasus is a web-based backup manager whose core focus is PostgreSQL, with logical-only backup support for MySQL, MariaDB and MongoDB. It schedules jobs by hour, day, week, month or a custom cron expression, compresses dumps, encrypts every archive with AES-256-GCM, and ships files to local disks, S3-compatible buckets, Cloudflare R2, Google Drive, Azure Blob, FTP/SFTP, NAS or rclone-backed clouds, with alerts to Slack, Discord, Telegram, Teams, Mattermost, email or webhooks when jobs succeed or fail. Physical, block-level incremental and WAL-streaming copies are based on the native backup protocol that PostgreSQL 17 introduced, so you can recover to any second between runs (older versions only get logical dumps). A verification agent periodically pulls the newest backup, restores it inside a throwaway container and reports per-table row counts, proving the archive actually works rather than just sitting intact on disk. Teams get workspaces, viewer/member/admin/owner roles, audit logs and optional Google or GitHub sign-in with an emailed second-factor code. Self-hosting is a single Docker container listening on port 4005; a Linux curl installer, Docker Compose and a Helm chart are also offered, and an embedded PostgreSQL on the data volume holds Databasus's own settings.

Databasus alternatives

All self-hosted alternatives to pgBackRest → All self-hosted alternatives to Pg_dump → All self-hosted alternatives to WAL-G →

Should you self-host Databasus?

Databasus scores 73/100 on selfhost.directory (how scoring works) and ranks #4 of 46 in Backup. It has 9 256 GitHub stars, +508 in the last 30 days.

It shipped 40 stable releases in the past year. The latest, v3.67.0, came out on 8 November 2026. New versions land roughly every 2 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Restic (82/100, 37 097 stars). It scores higher overall, so compare the two before you pick. See Databasus vs Restic side by side.

Features

  • Audit Logs
  • Backup encryption
  • Database health checks
  • Logical backups
  • Multiple storage destinations
  • Notifications
  • OpenTelemetry log export
  • Physical and incremental backupsPostgreSQL 17+ required.
  • Point-in-Time RecoveryPhysical/incremental/WAL require PostgreSQL 17 or newer.
  • Restore verification
  • Retention Policies
  • Role-based Access Control
  • Scheduled Backups
  • SSH tunnel connections

Databasus README

How to install Databasus

Install Databasus with Docker

docker run -d \
  --name databasus \
  -p 4005:4005 \
  -v ./databasus-data:/databasus-data \
  --restart unless-stopped \
  databasus/databasus:latest

How to configure Databasus

  • GOOGLE_CLIENT_IDClient ID of your Google OAuth client. Setting it shows the "Sign in with Google" button.
  • GOOGLE_CLIENT_SECRETClient secret of your Google OAuth client. Required together with the ID for sign-in to work.
  • GITHUB_CLIENT_IDClient ID of your GitHub OAuth app. Setting it shows the "Sign in with GitHub" button.
  • GITHUB_CLIENT_SECRETClient secret of your GitHub OAuth app. Required together with the ID for sign-in to work.
  • SMTP_HOSTMail server host name (e.g. smtp.gmail.com). Setting it turns instance mail on.

Databasus releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How is Databasus supported by Anthropic and OpenAI open-source programs?

In March 2026 Databasus was accepted into both Claude for Open Source (Anthropic) and Codex for Open Source (OpenAI), which the team presents as an independent reliability confirmation of the project.

How to backup Databasus itself?

Copy the databasus-data folder's secret.key (encryption key) and /pgdata (its internal PostgreSQL with all configuration); with only secret.key you can still recover your database backups manually without the UI.

How is AI used in Databasus development?

AI acts only as a helper for code-quality verification, documentation cleanup and extra security analysis; entire features are not AI-written and every change needs line-by-line human review plus tests.

Why did Databasus move away from agent-based backups?

The earlier host-side agent was complex to configure and test, could not run on managed services like RDS or Cloud SQL, and gave a long RTO; physical backups now run remotely from the Databasus host, and agent setups remain supported up to version 3.42.0.

How do physical and PITR (Point-in-Time Recovery) backups work?

Databasus runs physical backups remotely over the replication protocol (pg_basebackup, block-level incrementals, pg_receivewal for WAL), restoring with pg_combinebackup plus WAL replay to any chosen second; it needs PostgreSQL 17+ and can reach closed networks via SSH tunnel.

Where is Databasus installed if installed via .sh script?

The automated script installs it under /opt/databasus/.

Why does Databasus not use raw SQL dump format for logical PostgreSQL backups?

Logical backups use pg_dump's custom format with zstd level 5, benchmarked as the best balance of backup speed, restore speed and compression (up to 20x smaller than plain SQL); plain SQL is intentionally left out for simplicity and maintainability.

More in Backup

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…