restic-tools/README.md

14 lines
740 B
Markdown
Raw Normal View History

2017-09-04 10:41:18 +02:00
# restic-tools
Wrapper around restic backup to simplify certain tasks.
2017-09-04 10:41:52 +02:00
Repositories can be configured in `/etc/backup/$REPO.repo`.
2017-09-04 10:41:18 +02:00
Local includes and excludes in `/etc/backup/local.config` or `/etc/backup/local.exclude`
* `backup $REPO local` for local backup to repo configured by
2017-09-04 10:45:06 +02:00
* `backup $REPO monitor $HOST $WARN_HOURS $CRIT_HOURS` for Nagios/Icinga checks of backups
2017-09-04 10:41:18 +02:00
* `backup $REPO $ARGUMENTS` for invoking restic with $ARGUMENTS for the repository
2017-09-04 16:49:48 +02:00
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](https://healthchecks.io/checks/) (comment out if you don't need it)