talira

Backrest

Backrest is a web UI and orchestrator for restic backup.

open sourceGPL-3.0-onlyself-hostablefree

Backrest is a self-hosted web interface and scheduler for restic backups: you create or import restic repositories, set up backup plans with cron schedules and retention rules, browse snapshots and restore files from the browser. It's a single Go binary for Linux, macOS, Windows and FreeBSD (or a Docker image) that downloads restic for you, runs in the background and handles prune, check and forget on a schedule. It stores to every backend restic supports and to any rclone remote, sends notifications to Discord, Slack, Gotify, Shoutrrr and Healthchecks, and runs shell hooks before and after operations. Multihost Sync lets several Backrest instances share configuration and operation history so one installation can watch backups across machines. It's GPL-3.0.

Ways to install

Problems it solves

  • I set up restic but I want a web page to see my snapshots and restore files instead of typing commands
  • schedule restic backups and pruning on my NAS without writing cron jobs and shell scripts
  • a web UI for restic that runs in Docker on Unraid or TrueNAS
  • browse an old backup snapshot in the browser and download just the one file I deleted
  • get a Discord or Slack message when a nightly backup fails
  • ping Healthchecks.io after every backup so I notice when backups silently stop
  • back up my home server to Backblaze B2 or S3 with encryption and deduplication, managed from a web page
  • import the restic repositories I already have into a dashboard
  • keep 7 daily, 4 weekly and 12 monthly backups and delete the rest automatically
  • run a script to stop my database container before the backup and start it again afterwards
  • back up to Google Drive, OneDrive or any rclone remote from a self-hosted backup UI
  • see the backup status of all my machines from one place instead of logging into each
  • trigger a backup plan from another script or a home automation over HTTP
  • a lightweight backup scheduler for my Mac and Linux boxes that doesn't need a database
  • check my backup repository's integrity on a schedule and know if anything is corrupted

View all 17 problems

Features

  • web UI to create restic repositories or import existing ones, browse snapshots and restore files
  • backup plans with paths, excludes, cron or interval schedules and count- or time-based retention
  • scheduled maintenance: prune, check and forget
  • all restic storage backends (S3, B2, Azure, GCS, local, SFTP) and every rclone remote
  • notification hooks for Discord, Slack, Gotify, Shoutrrr and Healthchecks
  • command hooks that run shell scripts on snapshot, prune, check and forget events or any error
  • Multihost Sync: pair instances to share configuration, repositories and operation history
  • HTTP API (JSON gateway over gRPC) to run a backup plan and read operation history
  • single binary for Linux, macOS, Windows and FreeBSD; downloads and updates restic itself
  • Docker image with rclone included, and a minimal scratch image
View 3 more
  • username and password login, which can be turned off behind an authenticating reverse proxy
  • Windows installer with a tray app; Linux and macOS install script that sets up systemd, OpenRC or launchd
  • direct access to the restic CLI for advanced operations

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what Backrest does.

  1. Zerobyte Backup automation for self-hosters, built on top of restic
  2. resticprofile Configuration profiles manager for restic backup
  3. autorestic Config driven, easy backup cli for restic
  4. Duplicati Store securely encrypted backups on cloud storage services
  5. borgmatic Simple, configuration-driven backup software for servers and workstations
  6. Kopia Fast and Secure Open-Source Backup Software

Compare Backrest with the top 3