databasus /databasus
PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
★ 9,283⑂ 613👁 37⑃ 359● 558▤ 267
+6
Daily
9,283
stars
613
forks
37
watchers
359
prs
558
issues
267
releases
README
PostgreSQL backup tool
Databasus is a free, open source and self-hosted tool to backup PostgreSQL. Make backups with different storages (S3, Azure Blob Storage, 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
🌐 Databasus website
---
✨ Features
📦 Backup types
- Physical: file-level copy of the entire database cluster over PostgreSQL native incremental backups mechanism (read more)
- Full: a complete, self-contained copy of the cluster
- Incremental: stores only what changed since the previous full backup, so backups stay small and fast
- WAL streaming: continuously captures the database write stream, enabling Point-in-time recovery (PITR). Designed for disaster recovery and near-zero data loss
- High availability (HA): supports timeline changes after primary switches in Patroni and CloudNativePG (CNPG) clusters
- Logical: native dump of the database in its engine-specific binary format (compressed, suitable for parallel restore)
🔄 Scheduled backups
- Flexible scheduling: hourly, daily, weekly, monthly or cron
- Precise timing: run backups at specific times (e.g., 4 AM during low traffic)
- Smart compression: 4-8x space savings with balanced compression (~20% overhead)
🧪 Restore verification (docs)
Databasus performs a real restore to confirm backups are usable, not just intact on disk or checksum check.
- Triggers: after each backup or on a flexible schedule (hourly, daily, weekly, monthly or cron)
- Real restore: spins up a database container, runs the restore and checks the restored size against the backup
- Report: lists every table with its row count
- Optional notifications: send the report or failure-only alerts through any configured notifier
🗑️ Retention policies
- Time period: Keep backups for a fixed duration (e.g., 7 days, 3 months, 1 year)
- Count: Keep a fixed number of the most recent backups (e.g., last 30)
- GFS (Grandfather-Father-Son): Layered retention — keep hourly, daily, weekly, monthly and yearly backups independently for fine-grained long-term history (enterprises requirement)
- Size limits: Set per-backup and total storage size caps to control storage usage
🗄️ Multiple storage destinations (view supported)
- Local storage: Keep backups on your VPS/server
- Cloud storage: S3, Cloudflare R2, Azure Blob Storage, NAS, FTP, SFTP and more
- Secure: All data stays under your control
📱 Notifications (view supported)
- Multiple channels: Email, Telegram, Slack, Discord, Teams, Mattermost, webhooks
- Real-time updates: Success and failure notifications
- Team integration: Perfect for DevOps workflows
🔒 Enterprise-grade security (docs)
- AES-256-GCM encryption: Enterprise-grade protectioTop issues
#912S3: large backups are stored with `aws-chunked` framing inside the object body, so they can never be downloaded or restored2 comments · 2026-11-13#916Feature Request : Clone Database Configuration0 comments · 2026-11-13#915Feature Request : Notification Groups and Bulk Assignment0 comments · 2026-11-13#914Feature Request : Global Notifications Across Workspaces0 comments · 2026-11-13#902Feature Request: Add Prometheus Metrics for Backup Monitoring and Observability0 comments · 2026-11-10#901Feature Request: TOTP-based Two-Factor Authentication (2FA)0 comments · 2026-11-10#890verification-agent log spam0 comments · 2026-11-10
Latest release
Release v3.70.1 v3.70.1 2026-11-14Changelog [3.70.1] - 2026-11-14 🐛 Bug Fixes - tests: Spread CNPG fixture cleanup k3s across shards (fc07bd3) - tests: Accept both kubectl timeout reports for the stalled k3s API (ef6c253) - docs: Clarify Patroni and CNPG timeline support (e07ae64) - hooks: Enforce documentation scope and clarity (e28d3ec) 🔨 Refactoring - tests: Cover PostgreSQL backup and restore through PgBouncer (fc8caef) 🐳 Docker - Image: databasus/databasus:v3.70.1 - Mirror: ghcr.io/databasus/databasus:v3.70.1 - Platforms: linux/amd64, linux/arm64