Find a file
Felix Bartels 06296f39e1 define an empty default if RESTIC_ARGS is not set
since backup is running with `set -uo pipefail` unset variables are not allowed.

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-09-14 16:48:39 +02:00
bin define an empty default if RESTIC_ARGS is not set 2018-09-14 16:48:39 +02:00
etc/backup added RESTIC_ARGS to example config 2018-07-26 22:34:33 +02:00
LICENSE Create LICENSE 2017-10-05 10:48:14 +02:00
README.md blurb 2017-09-04 16:49:48 +02:00

restic-tools

Wrapper around restic backup to simplify certain tasks. Repositories can be configured in /etc/backup/$REPO.repo. Local includes and excludes in /etc/backup/local.config or /etc/backup/local.exclude

  • backup $REPO local for local backup to repo configured by
  • backup $REPO monitor $HOST $WARN_HOURS $CRIT_HOURS for Nagios/Icinga checks of backups
  • backup $REPO $ARGUMENTS for invoking restic with $ARGUMENTS for the repository

In local.config:

  • BACKUP_HOSTNAME is the name your host will show up as in restic
  • BACKUP_DIR is the root of the directory you want to back up
  • HEALTHCHECK_URL is an optional URL to healthchecks.io (comment out if you don't need it)