No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
binarybucks Merge pull request #18 from fbartels/master
define an empty default if RESTIC_ARGS is not set
Latest commit 55c40c9 Sep 16, 2018
Failed to load latest commit information.
bin define an empty default if RESTIC_ARGS is not set Sep 14, 2018
etc/backup added RESTIC_ARGS to example config Jul 26, 2018
LICENSE Create LICENSE Oct 5, 2017 blurb Sep 4, 2017


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 (comment out if you don't need it)