Free, self-hosted PostgreSQL backup tool with Point-in-Time Recovery, automated restore verification, and a web UI.
eduardolat/pgbackweb
Self-hosted web app for scheduling, running, monitoring and restoring PostgreSQL backups to local disk or S3 buckets.
- Stars
- 2,645
- Forks
- 152
- Open issues
- 101
- Last commit
- 2 months ago
What is it?
PG Back Web is a self-hosted web application for managing PostgreSQL backups without writing scripts or cron jobs. You connect your databases, define backup schedules through a browser interface, and review execution logs to see the status of each run.
Backups can be stored on the local filesystem or in any number of S3 buckets. Finished backups can be downloaded or restored directly from the interface. Optional PGP encryption protects backup files, and webhooks notify external systems when a backup finishes, fails, or a health check fails. Multiple PostgreSQL versions from 13 through 18 are supported, with dumps produced by pg_dump.
The project ships as a Docker image configured with a few environment variables, and it stores its own data in a PostgreSQL database. It is licensed under AGPL-3.0.
Key features
- 01Web interface for creating and managing PostgreSQL backup jobs.
- 02Scheduled backups with execution logs for monitoring.
- 03Local disk and multiple S3 bucket destinations.
- 04Download and restore backups from the browser.
- 05PGP encryption for backup files.
- 06Webhooks for backup success, failure and health check events.
- 07Supports PostgreSQL 13 through 18.
Use cases
- Automating regular backups for a small team's PostgreSQL databases without custom scripts.
- Sending backups to several S3 buckets for redundancy.
- Giving non-DBA staff a simple interface to download or restore a backup.
- Running a self-hosted backup service in Docker alongside an existing PostgreSQL instance.
Quick start
- 1
Create a docker-compose.yaml with the PG Back Web and PostgreSQL services from the README
- 2
Set PBW_ENCRYPTION_KEY and PBW_POSTGRES_CONN_STRING in the compose file
- 3
Start the services with Docker Compose
docker compose up -d - 4
Open the web interface at http://localhost:8085
Things to know
- Requires running a PostgreSQL database alongside it, plus setting a strong encryption key you must keep safe.
- Licensed under AGPL v3, a copyleft license with obligations if you modify and host it for others.
In collections
Topics
FAQ
- What is pgbackweb?
- Self-hosted web app for scheduling, running, monitoring and restoring PostgreSQL backups to local disk or S3 buckets. PG Back Web is a self-hosted web application for managing PostgreSQL backups without writing scripts or cron jobs. You connect your databases, define backup schedules through a browser interface, and review execution logs to see the status of each run.
- Is pgbackweb free to use? What license does it have?
- pgbackweb is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is pgbackweb still maintained?
- Updated within 6 months. The last commit to pgbackweb was on Sep 2, 2026.
- What can I use pgbackweb for?
- Automating regular backups for a small team's PostgreSQL databases without custom scripts. Sending backups to several S3 buckets for redundancy. Giving non-DBA staff a simple interface to download or restore a backup. Running a self-hosted backup service in Docker alongside an existing PostgreSQL instance.
- How do I install pgbackweb?
- Create a docker-compose.yaml with the PG Back Web and PostgreSQL services from the README Set PBW_ENCRYPTION_KEY and PBW_POSTGRES_CONN_STRING in the compose file Start the services with Docker Compose: docker compose up -d Open the web interface at http://localhost:8085
- Where can I get pgbackweb?
- The source code and installation instructions are on GitHub: https://github.com/eduardolat/pgbackweb
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted tool for scheduled backup and restore of PostgreSQL, MySQL, MongoDB, Redis, SQLite, Docker volumes and more, managed from a web dashboard.
The official Nextcloud installer: a single Docker mastercontainer that deploys and maintains a full Nextcloud stack with optional Office, Talk, backup and antivirus add-ons.
Self-hosted web archiver that saves URLs, bookmarks and feeds as HTML, PDF, screenshots, WARC, media and more in plain, durable formats.
A web UI and background orchestrator for restic backups, for creating repos, scheduling snapshots, and browsing or restoring files.
Self-hosted web app that automates encrypted, scheduled backups of remote and local storage, built on top of Restic.