selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Backrest logo

Self-host Backrest

v1.14.1

Web UI and scheduler for restic backups

ReleaseOpen SourceGPL-3.0
curl -fsSL https://raw.githubusercontent.com/garethgeorge/backrest/main/install.sh | bash
Updated4 months ago
LanguageTypescript
Setup difficultyEasy
Stars
7 866
Port
9898 (Web UI and API (default bind 127.0.0.1:9898; 0.0.0.0:9898 in the Docker images))
Docker
ghcr.io/garethgeorge/backrest
Dashboard showing backup plans and their statusBrowsing files inside a snapshot for restoreAdding a backup planSettings view with instance configurationRepository setup formSnapshot tree view ordered by creation timeIndex Snapshots button in the repository view

What is Backrest?

Backrest is a self-hosted backup tool that puts a web interface on top of restic. The WebUI wraps the restic command so you can create or import repositories, browse snapshots, and restore files, while the service also runs in the background scheduling snapshot creation and repo upkeep such as prune, check, and forget. Backup plans support cron or interval schedules, path excludes, and count- or time-based retention; lifecycle hooks let shell commands fire before and after operations, including notification delivery to Discord, Slack, Shoutrrr, Gotify, or Healthchecks. Destinations cover every backend restic handles — object storage providers, local disks, SFTP, and rclone remotes. A multihost mode syncs configuration and operation history between instances so one server can monitor or manage backups across many machines, and a limited HTTP API (a gRPC service exposed through a JSON gateway) can trigger plans or read operation logs. Backrest ships as a single Go binary installed via a curl script, Docker images, Homebrew, the AUR, or a Windows installer; restic itself is its only dependency and is fetched automatically when needed. The UI listens on port 9898 and prompts for a username and password on first launch, though auth can be turned off for local setups behind an authenticating proxy.

Backrest alternatives

Should you self-host Backrest?

Backrest scores 70/100 on selfhost.directory (how scoring works) and ranks #5 of 46 in Backup. It has 7 865 GitHub stars, +397 in the last 30 days.

It shipped 8 stable releases in the past year. The latest, v1.14.1, came out on 12 July 2026. New versions land roughly every 2 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Restic (82/100, 37 093 stars). It scores higher overall, so compare the two before you pick. See Backrest vs Restic side by side.

Features

  • Backup notifications
  • Command hooks
  • Cron-scheduled backups
  • Direct restic CLI access
  • Disable authentication
  • HTTP API
  • Import existing repositories
  • Integrity checks
  • Multihost sync
  • Retention Policies
  • Snapshot browse and restore
  • Web UI for backup management

Backrest README


Overview

Backrest is a web-accessible backup solution built on top of restic. Backrest provides a WebUI which wraps the restic CLI and makes it easy to create repos, browse snapshots, and restore files. Additionally, Backrest can run in the background and take an opinionated approach to scheduling snapshots and orchestrating repo health operations.

How to install Backrest

Install Backrest with Docker Compose

Environment variables
BACKREST_DATA, BACKREST_CONFIG, XDG_CACHE_HOME, TMPDIR, TZ
version: "3.8"
services:
  backrest:
    image: ghcr.io/garethgeorge/backrest:latest
    container_name: backrest
    hostname: backrest
    volumes:
      - ./backrest/data:/data
      - ./backrest/config:/config
      - ./backrest/cache:/cache
      - ./backrest/tmp:/tmp
      - ./backrest/rclone:/root/.config/rclone # Mount for rclone config (needed when using rclone remotes)
      - /path/to/backup/data:/userdata  # Mount local paths to backup
      - /path/to/local/repos:/repos     # Mount local repos (optional for remote storage)
    environment:
      - BACKREST_DATA=/data
      - BACKREST_CONFIG=/config/config.json
      - XDG_CACHE_HOME=/cache
      - TMPDIR=/tmp
      - TZ=America/Los_Angeles
    ports:
      - "9898:9898"
    restart: unless-stopped

Image includes rclone and common Unix utilities; a minimal `ghcr.io/garethgeorge/backrest:scratch` tag also exists.

How to configure Backrest

  • BACKREST_PORT127.0.0.1:9898 (or 0.0.0.0:9898 for the docker images)Port to bind to
  • BACKREST_CONFIG$HOME/.config/backrest/config.json (or, if $XDG_CONFIG_HOME is set, $XDG_CONFIG_HOME/backrest/config.json)Path to config file
  • BACKREST_DATA$HOME/.local/share/backrest (or, if $XDG_DATA_HOME is set, $XDG_DATA_HOME/backrest)Path to the data directory
  • BACKREST_RESTIC_COMMANDDefaults to a Backrest managed version of restic at $XDG_DATA_HOME/backrest/restic-x.x.xPath to restic binary
  • XDG_CACHE_HOMEPath to the cache directory

Backrest releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Backup

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…