Skip to content

DrDth/restic-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%