# PG Back Web

PG Back Web is a self-hosted web application that manages PostgreSQL database backups.

Canonical page: https://ourlocalhost.com/app/8093/pg-back-web

## Description

PG Back Web is a self-hosted web application that manages PostgreSQL database backups. It runs scheduled backups, tracks their status with execution logs, and lets you download or restore backups straight from the browser, replacing hand-written pg_dump scripts. It suits individual developers and teams who want reliable, monitored PostgreSQL backups from one simple interface. Note: the project is being renamed to UFO Backup as it expands beyond PostgreSQL.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

46/100 (Fair), based on 4 of 5 factors.
- Maintained: 67 (last commit 87 days ago)
- Popular: 68 (2,653 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 0 (5 serious findings, 5 minor, CI, tests)

## Security check

5 serious findings: Uses github.com/labstack/echo/v4 v4.12.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.25.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.25.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.25.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.25.0, which has a known critical vulnerability.
Automated checks on commit 083b70e, 23 Nov 2026. Not an audit.

## Links

- GitHub: https://github.com/eduardolat/pgbackweb

## Common questions

### How do I deploy PG Back Web?

It ships as a Docker image. Run it with docker-compose, expose port 8085 for the web interface, and set the PBW_ENCRYPTION_KEY and PBW_POSTGRES_CONN_STRING environment variables, plus a companion Postgres container.

### Do I need to mount a local backups volume if I only use S3 storage?

No. The local /backups volume is only needed for local storage; if you use only S3 destinations you can skip mounting it.

### What environment variables are required to run it?

Only two are essential: PBW_ENCRYPTION_KEY (a strong secret key) and PBW_POSTGRES_CONN_STRING pointing to the internal PostgreSQL database. Optional environment variables are ignored if not set.

### What should I set PBW_ENCRYPTION_KEY to?

Set it to a strong, secret key. It's used for PGP encryption to protect your sensitive backup data.

### Which PostgreSQL versions are supported for backing up?

It supports PostgreSQL 13, 14, 15, 16, 17, and 18 via pg_dump under the hood.

### Where are backups stored?

Backups can be stored on a local volume or in as many S3 buckets as you want; both local and S3 destinations are supported.

## Alternatives

- Barman: Allows your company to implement disaster recovery solutions for PostgreSQL databases with high requirements of business continuity.
- Postgresus: PostgreSQL monitoring and backup tool.
- WAL-G
- databasement: Databasement is a self-hosted web application for scheduling, storing, and restoring database backups.
- db-backup
- dbackup: DBackup is a self-hosted backup automation tool that backs up databases and the files that belong to them.
- pgBackRest: A reliable, easy-to-use backup and restore solution that can seamlessly scale up to the largest databases and workloads by utilizing algori…

---
Source: Our Local Host (https://ourlocalhost.com/app/8093/pg-back-web), the self-hosted and open-source app directory.
