> ## Content Index
> Fetch the complete content index at: https://blog.uptime.bet/llms.txt
> Use this file to discover other available public pages before exploring further.

# Zerobyte: A Clean Web UI for Restic Backups You Can Self-Host with Docker Compose
- URL: https://blog.uptime.bet/zerobyte-self-hosted-restic-backup-web-ui-docker/
- Published: 2026-11-28T08:00:00.000Z
- Updated: 2026-11-28T08:00:00.000Z
- Description: Zerobyte puts a modern web interface on top of Restic: schedules, retention, encrypted repositories on S3, SFTP or rclone, file-level restores and alerts. Here is how to run Zerobyte v0.44 with Docker Compose.
- Author: Alexandre Nebeling
- Tags: Trending, Self-Hosted, Open Source, Docker, Homelab, Backup, Zerobyte

Everybody has a backup strategy. Fewer people have a backup strategy they actually check. The classic homelab setup is a Restic command in a shell script, a cron entry, and the quiet hope that it still works when the NAS dies. It usually does, right up until the day a password changed, a share stopped mounting, or the repository got stuck on a stale lock three months ago.

**Zerobyte** wants to fix exactly that part. It does not invent a new backup format; it wraps the battle-tested [Restic](https://restic.net/?ref=blog.uptime.bet) in a web interface where you can see every job, every snapshot and every failure. The project has been climbing the GitHub `self-hosted` topic rankings (roughly 7,400 stars at the time of writing) and shipped **v0.44.2 on 9 November 2026**. Time for a proper look.

## What is Zerobyte?

[Zerobyte](https://github.com/nicotsx/zerobyte?ref=blog.uptime.bet) describes itself as backup automation for your storage: you define *what* to back up, *where* to store it and *when* to run it, and Zerobyte drives Restic for you. Encryption, compression, deduplication and retention all come from Restic, so your snapshots stay in a standard Restic repository format.

The basics, checked against the repo today:

- **License:** GNU AGPL-3.0 for Zerobyte itself; the bundled Restic binary keeps its BSD 2-Clause license.
- **Image:** `ghcr.io/nicotsx/zerobyte` (the docs pin the minor tag `v0.44`; `v0.44.2` and `latest` exist too).
- **Default port:** `4096` for the web UI and API.
- **Data directory:** `/var/lib/zerobyte` inside the container (database, Restic password file, cache and local repositories).
- **Status:** still **0.x**. The README warns that things may change significantly between versions.

A quick note on naming: since v0.44.0 the UI calls the things you back up **Sources**. Older docs and screenshots still say **Volumes**, and the screenshots in the repository even show the project's earlier name, Ironmount. Same concept, new label.

## Key features

**Scheduling and retention.** Backup jobs use cron-style schedules with retention policies (keep X daily, Y weekly and so on), include and exclude rules, and a "Backup now" button for that extra snapshot right before a risky upgrade.

**Many sources.** Besides local directories that you bind-mount into the container, Zerobyte can mount **NFS, SMB/CIFS, WebDAV and SFTP** shares itself. That is handy if the data lives on a NAS and you do not want to manage fstab entries on the Docker host.

**Many destinations.** Repositories can live on local disk, S3-compatible storage (AWS S3, MinIO, Wasabi, Cloudflare R2 and others), Google Cloud Storage, Azure Blob Storage, REST servers, SFTP targets, or any of the 40+ providers that [rclone](https://rclone.org/?ref=blog.uptime.bet) supports.

**Mirrors for 3-2-1.** One backup job can copy its snapshots to additional repositories. The official [3-2-1 guide](https://zerobyte.app/docs/guides/3-2-1-backup-strategy?ref=blog.uptime.bet) suggests a fast local repository for daily restores plus an encrypted offsite mirror.

**Browsable restores.** Pick a snapshot, tick files or folders in a tree view and restore them, without touching the Restic CLI.

![Zerobyte backup schedule with two snapshot cards and a file browser where folders are selected next to a button to restore one selected item](https://blog.uptime.bet/content/images/2026/11/zerobyte-zerobyte-restore.webp)

Restoring from a snapshot: choose a point in time, then tick the files and folders you need. [Source: nicotsx/zerobyte on GitHub](https://github.com/nicotsx/zerobyte/tree/main/screenshots?ref=blog.uptime.bet) (AGPL-3.0)

**Repository maintenance.** A **Doctor** action runs `restic unlock`, then `restic check`, and only runs `repair-index` if the check suggests it. There are also an Unlock button for stale locks and a stats refresh.

**Notifications.** You can send events for backup *start*, *success*, *warning* and *failure* to Email (SMTP), Slack, Discord, Gotify, ntfy, Pushover, Telegram, a generic webhook, or any custom Shoutrrr URL. Destinations are reusable and routed per backup schedule.

**Multi-user and SSO.** Zerobyte is organization-scoped with roles and invitations, supports **OIDC single sign-on** (v0.44.0 added editing existing SSO providers), and encrypts stored credentials with your `APP_SECRET`.

**Pre/post webhooks and provisioning.** Jobs can call webhooks before and after a run, for example to stop a database container. Operators can also predefine repositories and sources in a JSON file (`PROVISIONING_PATH`) instead of clicking them together.

## Why use it?

If you already run Restic by hand, Zerobyte keeps your proven backup engine and adds the missing visibility: last run, next run, snapshot history, health status and alerts in one place. If you have never touched Restic, it lowers the entry barrier a lot, because you get encrypted, deduplicated, incremental backups without learning the CLI first.

It also fits nicely into an existing homelab. Point notifications at your own [ntfy](https://blog.uptime.bet/ntfy-self-hosted-push-notifications-docker/) or [Gotify](https://blog.uptime.bet/gotify-self-hosted-push-notifications-docker/) server, hook it up to your [Pocket ID](https://blog.uptime.bet/pocket-id-self-hosted-passkey-sso-oidc-docker/) instance via OIDC, and finally give your [Immich](https://blog.uptime.bet/immich-self-hosted-google-photos-alternative-docker/) photos and [Paperless-ngx](https://blog.uptime.bet/paperless-ngx-3-self-hosted-document-management-docker/) documents a real offsite copy.

## Installing Zerobyte with Docker Compose

You need a Linux host with Docker and the Compose plugin. There are two documented variants: the **standard** setup, which can mount remote shares and therefore needs extra privileges, and a **simplified** setup for local folders only.

### 1\. Create a directory and a secret

```bash
mkdir -p ~/zerobyte && cd ~/zerobyte
openssl rand -hex 32

```

Copy the output. It becomes your `APP_SECRET`, which Zerobyte uses to encrypt sensitive data such as repository credentials in its database. Store it in your password manager, for example [Vaultwarden](https://blog.uptime.bet/vaultwarden-self-hosted-password-manager-docker/).

### 2\. Write `compose.yaml`

This is the standard variant with remote mount support, following the official example:

```yaml
services:
  zerobyte:
    image: ghcr.io/nicotsx/zerobyte:v0.44
    container_name: zerobyte
    restart: unless-stopped
    cap_add:
      - SYS_ADMIN
    devices:
      - /dev/fuse:/dev/fuse
    ports:
      - "127.0.0.1:4096:4096"
    environment:
      - TZ=Europe/Berlin
      - BASE_URL=https://backup.example.com
      - APP_SECRET=replace-with-your-openssl-output
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/lib/zerobyte:/var/lib/zerobyte
      # local folders you want to back up:
      - /srv/appdata:/sources/appdata:ro

```

A few notes on this file:

- **`SYS_ADMIN` and `/dev/fuse`** are only needed if Zerobyte should mount NFS, SMB, WebDAV or SFTP shares. If you back up local folders only, drop both lines. The README lists that reduced-privilege variant as the more secure option, and it still supports all repository types (local, S3, GCS, Azure, rclone).
- **`TZ`** matters: the docs call it crucial for accurate scheduling.
- `**BASE_URL**` must match how you open the UI. With an `https://` URL, Zerobyte sets secure cookies, so plain HTTP logins will not work afterwards. For a quick LAN test, use something like `http://192.168.1.50:4096` and publish the port without the `127.0.0.1` prefix.
- **Do not put `/var/lib/zerobyte` on a network share.** The README warns about permission problems and poor performance. On TrueNAS, use a dedicated dataset because `/var/lib` is reset on upgrades.
- **Read-only mounts (`:ro`)** for your sources are a good habit, but keep in mind that restores to the original location then need a writable path.

Alternatively, you can use `APP_SECRET_FILE` to read the secret from a Docker secret instead of an environment variable.

### 3\. Start it

```bash
docker compose up -d
docker compose logs -f zerobyte

```

Open the UI (through your reverse proxy, or `http://<server-ip>:4096` for the LAN variant) and create the first admin account.

### 4\. Download the recovery key (seriously)

On first login, Zerobyte sends the new admin to a page where they download the **recovery key**, a file called `restic.pass`. It contains the Restic password your organization uses for every repository Zerobyte creates. Your login password and the `APP_SECRET` are *not* the same thing.

Put `restic.pass` somewhere outside the backup server, ideally in a password manager. As the [docs](https://zerobyte.app/docs/guides/recovery-key-and-repository-passwords?ref=blog.uptime.bet) put it: if you lose both server access and the correct Restic password, your backups cannot be recovered.

### 5\. Add a source, a repository and a job

1. **Sources:** create a source. For a bind-mounted folder, choose the *Directory* backend and pick the path you mounted (in the example above, `/sources/appdata`).
2. **Repositories:** create a repository, for example an S3 bucket, an SFTP target on another machine or a local disk. Pick a compression mode: `auto` is the usual balance, `off` saves CPU, `max` saves more space.
3. **Backups:** create a schedule that connects the source to the repository, set the cron expression and retention, then hit *Backup now* to test it.

![Zerobyte dialog for adding a source with a name field, the backend set to Directory and a folder tree with the mydata folder highlighted](https://blog.uptime.bet/content/images/2026/11/zerobyte-zerobyte-add-volume.webp)

Adding a local directory as a backup source (shown with the older "volume" wording). [Source: nicotsx/zerobyte on GitHub](https://github.com/nicotsx/zerobyte/tree/main/screenshots?ref=blog.uptime.bet) (AGPL-3.0)

## Configuration tips

**Reverse proxy.** Set `BASE_URL` to your HTTPS domain and make sure the proxy forwards `X-Forwarded-Proto`. Since **v0.44.1** Zerobyte has CSRF protection, so the proxy must also preserve the browser's `Origin` and `Sec-Fetch-Site` headers. If you open the UI through more than one address, list the additional origins in `TRUSTED_ORIGINS`. Only set `TRUST_PROXY=true` if a proxy really sits in front of it.

**Webhook and self-hosted notification allowlist.** Pre/post webhooks, generic HTTP notifications, Gotify, self-hosted ntfy and custom Shoutrrr URLs only work for origins listed in `WEBHOOK_ALLOWED_ORIGINS` (exact scheme, host and port). Example: `WEBHOOK_ALLOWED_ORIGINS=https://ntfy.example.com,https://gotify.example.com`. Public services such as ntfy.sh, Slack, Discord, Pushover and Telegram do not need an entry.

**Taming CPU usage.** Set `GOMAXPROCS=2` (or similar) to limit the Restic processes. You can also set upload/download limits per repository, or pass extra Restic flags such as `--exclude-larger-than 10G` per backup schedule.

**Cloud storage via rclone.** Configure the remote on the host with `rclone config`, then mount `~/.config/rclone` read-only into the container at `/root/.config/rclone`. The remote then appears when you create an rclone repository.

**Watch the watcher.** Zerobyte alerts you when a job fails, but not when Zerobyte itself is down. A dead man's switch such as [Healthchecks](https://blog.uptime.bet/healthchecks-self-hosted-cron-job-monitoring-docker/), pinged from a post-backup webhook, closes that gap (remember to allowlist its origin). For your Proxmox-level backups, [Pulse](https://blog.uptime.bet/pulse-self-hosted-proxmox-docker-monitoring/) gives you a similar overview.

**Test restores.** The Doctor action is useful, but the docs openly say it does not run a full `check --read-data` scrub. A real restore of a few files every now and then is still the best test.

## Honest limitations

- **It is 0.x software.** The developer explicitly warns about major changes between versions. Pin a minor tag like `v0.44`, read the release notes before you upgrade, and keep that `restic.pass` file safe.
- **Remote mounts need privileges.** NFS, SMB, WebDAV and SFTP sources require `CAP_SYS_ADMIN` and `/dev/fuse`. The docs also point out that mounted shares may expose translated ownership, permissions and ACL metadata instead of the original view, which matters for metadata-sensitive backups.
- **Not built for the open internet.** The README strongly discourages exposing Zerobyte publicly. Bind it to localhost and use a VPN, an SSH tunnel or an authenticated tunnel such as [Pangolin](https://blog.uptime.bet/pangolin-self-hosted-cloudflare-tunnel-alternative-docker/).
- **No fine-grained RBAC.** Members of an organization can operate all repositories, sources, schedules and restores in it. Roles mainly restrict organization and user management.
- **Remote agents are not released yet.** The docs describe an upcoming agent (with a `ghcr.io/nicotsx/zerobyte-agent` image) that backs up other Linux machines without mounting their folders, but they clearly label it as unreleased. Desktop apps also exist, but they are marked alpha and not officially supported.
- **Contributions require a CLA.** Good to know if you plan to send pull requests.

## Zerobyte vs. Backrest

The obvious comparison is [Backrest](https://github.com/garethgeorge/backrest?ref=blog.uptime.bet), another web UI for Restic. Backrest is licensed under GPL-3.0, ships as a single Go binary for Linux, macOS and Windows (plus a Docker image), and supports all Restic backends including rclone remotes. It is the more established, lighter option for one person managing their own machines.

Zerobyte takes a more "control plane" approach: built-in mounting of NFS/SMB/WebDAV/SFTP shares, organizations with roles and invitations, OIDC SSO, mirror repositories, and a broad set of notification targets. If you want a team-friendly dashboard or need to pull data from NAS shares without host mounts, Zerobyte is worth a try. If you want something small and mature for a single box, Backrest remains a solid choice.

## Conclusion

Zerobyte does not try to reinvent backups. It takes Restic, which many of us already trust, and adds what the CLI never had: a clear overview, sensible defaults and alerts when something breaks. The setup takes five minutes. Just respect the 0.x warning, pin your version, and store the recovery key somewhere safe. If your backups currently live in a cron job you have not looked at for a while, this is a good weekend project.

## Sources

- [nicotsx/zerobyte on GitHub](https://github.com/nicotsx/zerobyte?ref=blog.uptime.bet) (README, LICENSE, NOTICES.md, examples, screenshots)
- [Zerobyte releases](https://github.com/nicotsx/zerobyte/releases?ref=blog.uptime.bet) (v0.44.0, v0.44.1, v0.44.2)
- [Zerobyte documentation: Installation](https://zerobyte.app/docs/installation?ref=blog.uptime.bet)
- [Recovery key and repository passwords](https://zerobyte.app/docs/guides/recovery-key-and-repository-passwords?ref=blog.uptime.bet)
- [Notifications guide](https://zerobyte.app/docs/guides/notifications?ref=blog.uptime.bet)
- [Repository maintenance guide](https://zerobyte.app/docs/guides/repository-maintenance?ref=blog.uptime.bet)
- [3-2-1 backup strategy guide](https://zerobyte.app/docs/guides/3-2-1-backup-strategy?ref=blog.uptime.bet)
- [Remote agents guide (unreleased feature)](https://zerobyte.app/docs/guides/remote-agents?ref=blog.uptime.bet)
- [Restic](https://restic.net/?ref=blog.uptime.bet) and [rclone](https://rclone.org/?ref=blog.uptime.bet)
- [garethgeorge/backrest on GitHub](https://github.com/garethgeorge/backrest?ref=blog.uptime.bet)