Free, self-hosted PostgreSQL backup tool with Point-in-Time Recovery, automated restore verification, and a web UI.
marcpope/borgbackupserver
Self-hosted web GUI for centrally managing BorgBackup across multiple Linux, Mac and Windows endpoints via a polling agent.
Open-source alternative to:Acronis Cloud Backup
- Stars
- 396
- Forks
- 38
- Open issues
- 12
- Last commit
- 3 days ago
What is it?
Borg Backup Server is a self-hosted web application for managing BorgBackup across many machines from one place. A lightweight Python agent on each endpoint polls the server over HTTPS for tasks, then sends backup data over SSH to the server. The server never needs inbound connections to endpoints, so machines behind firewalls or NAT can be managed.
The server handles backup plans with hourly to monthly schedules, per-plan retention settings, and file-level restore with browser-based search and archive download as .tar.gz. Agents run in append-only mode, so they can back up and restore but cannot delete or prune archives; pruning runs server-side. MySQL and PostgreSQL dump plugins can restore databases as a copy or replacement.
Offsite copies can be synced to S3-compatible storage, and repositories can be placed on BorgBase, Hetzner or rsync.net. The interface also includes multi-user roles, two-factor authentication, Apprise notifications, nightly email reports, Prometheus metrics, and one-click upgrades for the server and agents. It can be installed with a setup wizard on Ubuntu or with Docker.
Key features
- 01Agent polls the server over HTTPS, so endpoints need no inbound connections.
- 02Append-only SSH access prevents agents from deleting or pruning archives.
- 03File-level restore with search and tar.gz download from the browser.
- 04MySQL and PostgreSQL pre-dump plugins with restore as copy or replacement.
- 05S3-compatible offsite sync and integration with BorgBase, Hetzner and rsync.net.
- 06Per-plan scheduling and retention policies, plus Prometheus metrics and alert rules.
Use cases
- Managing Borg backups for a small hosting company or fleet of Linux servers from one dashboard.
- Backing up laptops and workstations that sit behind NAT or firewalls.
- Keeping database dumps and offsite copies on S3-compatible storage with restore workflows.
- Monitoring backup health through Prometheus and Alertmanager.
Quick start
- 1
Open the Bare Metal / VM installation guide on the Wiki and run the installer command it gives for a fresh Ubuntu server
- 2
Or use the Docker installation guide and pull the pre-built image from Docker Hub
- 3
Finish the browser-based setup wizard to configure the database, admin account and storage
Things to know
- The README gives no single run command; setup relies on the Wiki guides and an installer script.
- Self-hosting requires a PHP 8.1+ web stack, MySQL 8.0 and ClickHouse, which is a heavy set of dependencies.
- The repository metadata shows an unrecognized license while the README says MIT, so check the LICENSE file before relying on it.
In collections
Topics
FAQ
- What is borgbackupserver?
- Self-hosted web GUI for centrally managing BorgBackup across multiple Linux, Mac and Windows endpoints via a polling agent. Borg Backup Server is a self-hosted web application for managing BorgBackup across many machines from one place. A lightweight Python agent on each endpoint polls the server over HTTPS for tasks, then sends backup data over SSH to the server. The server never needs inbound connections to endpoints, so machines behind firewalls or NAT can be managed.
- Is borgbackupserver free to use? What license does it have?
- borgbackupserver is open source under the Other license. Check the license terms before using it in commercial products.
- Is borgbackupserver still maintained?
- Actively maintained. The last commit to borgbackupserver was on Nov 3, 2026.
- What can I use borgbackupserver for?
- Managing Borg backups for a small hosting company or fleet of Linux servers from one dashboard. Backing up laptops and workstations that sit behind NAT or firewalls. Keeping database dumps and offsite copies on S3-compatible storage with restore workflows. Monitoring backup health through Prometheus and Alertmanager.
- How do I install borgbackupserver?
- Open the Bare Metal / VM installation guide on the Wiki and run the installer command it gives for a fresh Ubuntu server Or use the Docker installation guide and pull the pre-built image from Docker Hub Finish the browser-based setup wizard to configure the database, admin account and storage
- Where can I get borgbackupserver?
- The source code and installation instructions are on GitHub: https://github.com/marcpope/borgbackupserver
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A self-hosted web interface for BorgBackup that handles repository setup, scheduled backups, archive browsing, and restores without the command line.
Self-hosted web app for scheduling, running, monitoring and restoring PostgreSQL backups to local disk or S3 buckets.
Self-hosted web app that automates encrypted, scheduled backups of remote and local storage, built on top of Restic.
Self-hosted cloud storage server where files and notes are encrypted in the browser before they reach the server.
Deduplicating backup program with optional compression and authenticated encryption, storing only changed chunks of data.