restic-tools
restic-tools copied to clipboard
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 localfor local backup to repo configured bybackup $REPO monitor $HOST $WARN_HOURS $CRIT_HOURSfor Nagios/Icinga checks of backupsbackup $REPO $ARGUMENTSfor invoking restic with $ARGUMENTS for the repository
In local.config:
BACKUP_HOSTNAMEis the name your host will show up as in resticBACKUP_DIRis the root of the directory you want to back upHEALTHCHECK_URLis an optional URL to healthchecks.io (comment out if you don't need it)