talira

Databasus

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

open sourceApache-2.0self-hostablefree

Databasus (formerly Postgresus) is a free, open source, self-hosted web app that schedules and manages database backups, mainly for PostgreSQL and also for MySQL, MariaDB and MongoDB. For PostgreSQL 17 and newer it takes physical full and incremental backups and streams WAL for point-in-time recovery, including across Patroni and CloudNativePG failovers; older versions and the other databases get compressed logical dumps. Backups go to local disk, Amazon S3, Cloudflare R2, Azure Blob Storage, NAS, FTP or SFTP, encrypted with AES-256-GCM, with time, count or grandfather-father-son retention, and it can verify a backup by restoring it into a fresh database container. Notifications go to email, Slack, Discord, Telegram, Teams, Mattermost or webhooks, and workspaces, roles and audit logs suit teams. It runs as one Docker image or a Helm chart under Apache-2.0.

Ways to install

Problems it solves

  • set up scheduled Postgres backups to S3 with a web UI instead of cron and pg_dump scripts
  • I have backups but no idea if they would actually restore
  • restore my Postgres database to the state it was in five minutes before someone ran a bad DELETE
  • back up MySQL, MariaDB and MongoDB databases from one dashboard
  • get a Slack or Telegram message when a nightly database backup fails
  • keep hourly, daily, weekly and monthly database backups without filling the disk
  • encrypt database backups before they go to a shared S3 bucket
  • a self-hosted alternative to pgBackRest with a web interface
  • back up the Postgres databases of all my side projects on one VPS
  • point-in-time recovery for a Patroni or CloudNativePG cluster that survives a failover
  • incremental Postgres backups so I'm not copying the whole database every hour
  • give the team read-only access to backup status for some databases but not others
  • back up a database over an SSH tunnel to a server with no public Postgres port
  • an audit log of who changed our backup settings
  • a homelab tool to back up the databases of my self-hosted apps to my NAS

View all 16 problems

Features

  • PostgreSQL physical full and incremental backups and WAL streaming for point-in-time recovery (PostgreSQL 17+)
  • follows timeline changes after failovers in Patroni and CloudNativePG clusters
  • logical backups for PostgreSQL 12-18, MySQL 5.7-26, MariaDB 5.5-13 and MongoDB 4.2-9
  • hourly, daily, weekly, monthly or cron schedules at chosen times
  • restore verification: restores into a fresh database container after each backup or on a schedule and reports row counts per table
  • retention by time, count or grandfather-father-son, with per-backup and total size caps
  • storage: local, S3, Cloudflare R2, Azure Blob Storage, NAS, FTP and SFTP
  • notifications by email, Telegram, Slack, Discord, Teams, Mattermost and webhooks
  • AES-256-GCM encryption of backup files and encrypted secrets
  • read-only database user by default
View 4 more
  • workspaces, viewer/member/admin/owner roles and audit logs, exportable with OpenTelemetry
  • email two-factor codes for password sign-in; Google and GitHub sign-in
  • built-in SSH tunnel to reach databases
  • install with a script, Docker, Docker Compose or a Helm chart from ghcr.io

Limitations

  • No physical, incremental or WAL backups before PostgreSQL 17: older versions get logical pg_dump backups67
  • Point-in-time recovery only for PostgreSQL: MySQL, MariaDB and MongoDB get logical backups only8

Capabilities

Sends webhooksplan not known

Alternatives

The same job

These do what Databasus does.

  1. Barman Backup and Recovery Manager for PostgreSQL
  2. WAL-G Archival and restoration for databases in the cloud
  3. pgBackRest Reliable PostgreSQL backup and restore
  4. Backrest Backrest is a web UI and orchestrator for restic backup.

Compare Databasus with the top 3