Self-host Databasus
v3.67.0PostgreSQL backup tool with PITR and restore verification
docker run -d --name databasus -p 4005:4005 -v ./databasus-data:/databasus-data --restart unless-stopped databasus/databasus:latest- Stars
- 9 256
- CPU
- 1 CPU core
- RAM
- 500 MB
- Storage
- 5 GB
- Port
- 4005 (Web UI and HTTP API)
- Requires
- Docker Engine
databasus/databasusWhat 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
plutonOpen-source, self-hosted backup using Restic and Rclone for encrypted incremental backups across 70+ cloud providers with web UI, 3-2-1 replication, and 2FA.Comparepluton with Databasus
drivebaseDrivebase is a self-hosted, open-source file manager unifying Google Drive, S3, Dropbox, and local files into a desktop-like web UI with real-time transfers.Comparedrivebase with Databasus
InstaCloud OSSInstaCloud OSS is a self-hosted PaaS giving you a serverless cloud on one machine with Postgres, S3, Redis, MySQL, MongoDB, git push-to-deploy, and instant branching.CompareInstaCloud OSS with Databasus
velldVelld is a self-hosted, open-source database backup tool for PostgreSQL, MySQL, MongoDB, and Redis with automated scheduling, S3 storage, and notifications.Comparevelld with Databasus
AppwriteThe open-source cloud for agents & devs. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime, WAF and moreCompareAppwrite with Databasus
arkeepArkeep is an open-source, self-hosted backup management platform with a web dashboard for Restic/Rclone backups across multiple servers.Comparearkeep with Databasus
autobaseOpen-source MIT DBaaS for PostgreSQL: Patroni-based HA clusters, backups, failover and upgrades driven from a web console, Ansible collection or GitOps.Compareautobase with Databasus
BorgitoryA self-hosted web dashboard for BorgBackup that adds scheduling, monitoring, archive browsing, and Rclone-based cloud sync.CompareBorgitory with Databasus
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
Databasus is a free, open source and self-hosted tool to backup PostgreSQL. Make backups with different storages (S3, Google Drive, FTP, etc.) and notifications about progress (Slack, Discord, Telegram, etc.). With a focus on Point-in-Time Recovery at low RPO/RTO
English • Русский • Español • Português • 中文 • Français • Bahasa Indonesia
Features • Installation • Usage • License
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
DBackupSelf-hosted open-source backup for 10 databases and files. Supports S3, Google Drive, SFTP with AES-256-GCM encryption, incremental backups, GFS retention, OIDC SSO, 2FA.
docker-borg-mysql-backupSelf-hosted Docker container backing up MySQL/PostgreSQL and files to Borg repos with cron scheduling, encryption, pruning, and error notifications.
docker-duplicatiSelf-hosted, open-source Docker image of the Duplicati backup client: encrypted changed-only backups to disks, S3, OneDrive, Google Drive, with a web UI on port 8200.
docker-immichA single-container Docker image bundling Immich server, machine learning, and dependencies for self-hosted photo and video backup with hardware acceleration support.
Docker Volume BackupSelf-hosted, open-source Docker companion container that archives volumes locally or to S3, WebDAV, SSH or Azure storage on a cron, with rotation and GPG encryption.
DuplicacySelf-hosted command-line backup tool with lock-free deduplication and client-side encryption, pushing snapshots to local disks, SFTP servers, or a dozen cloud storages.
DuplicatiOpen-source, self-hosted backup client that encrypts with AES-256 and stores incremental, compressed backup copies on cloud storage services or remote file servers.
ElkarBackupElkarBackup is a self-hosted, open-source backup solution centralizing Linux and Windows backups via web UI, built on rsync/rsnapshot with instant recovery.
garageOpen-source, self-hosted S3-compatible object store in Rust for small geo-distributed clusters, shipped as a single dependency-free binary needing no external service.- Git Annexgit-annex allows managing large files with git, without storing the file contents in git. It supports syncing, backing up, and archiving data across multiple devices, with checksums and encryption for security.
gitbackerA self-hosted tool that automatically backs up git repositories from any host with encryption and lets you restore snapshots after reviewing changes.
Gitea MirrorMirrors GitHub repositories to self-hosted Gitea/Forgejo, preserving issues, PRs, releases, wiki, and LFS files.
0 comments