Skip to content

Restic client wrappers / helpers

Autorestic

Installation

Installation

brew install autorestic

or download the binary from the latest release, i.e.:

wget -O /tmp/autorestic.bz2 https://github.com/cupcakearmy/autorestic/releases/download/v1.7.1/autorestic_1.7.1_linux_amd64.bz2
bzip2 -d autorestic.bz2
chmod +x autorestic
sudo mv autorestic /usr/local/bin

Config file: ~/.autorestic.yml

Autorestic with ansible

Issues

Other wrappers

as of 2021-11:

Unmaintained

Metrics

Clients as docker container

Resticker

https://github.com/djmaze/resticker

Resticker usage

systemctl status docker-compose@resticker.service

Logs

docker logs resticker_backup

List snapshots:

docker exec resticker_backup restic snapshots

Unlock:

docker exec resticker_prune restic unlock
Restore

List snapshots:

  docker exec resticker_backup restic snapshots

Stale docker wrappers

restic-backup-docker

https://github.com/lobaro/restic-backup-docker

  • Active, but last release 2020-05 (as of 2021-01)
  • Official docker image
  • Cron shedule
  • Doesn't have an option to start right after a docker up

restic-robot

https://github.com/Southclaws/restic-robot

Bivac

https://camptocamp.github.io/bivac/

Velero

  • Supports exporting Prometheus metrics
  • Only for kubernetes

restic rest-server

https://github.com/restic/rest-server

  • prometheus metrics

rest-server helm chart

Manual jobs:

https://hub.docker.com/r/restic/rest-server

Enter restic container and:

create_user resticuser XXXX

Issues

  • Using nginx-ingress with restic-rest-server didn't work, it crashed while backing up. That's why I'm now using the plain rest server and NodePort + TLS managed by the rest server.