marconett / restic-cron

Simple cron script for Restic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple cron script for Restic

this isn't the most feature rich restic automation script, but it's dead simple to setup.

  • Made to run as a cronjob
  • All configuration in one file
  • Mysqldumps
  • Supports SSH and Backblaze

Setup

  • clone this repo
  • chmod +x restic-cron && cp restic-cron /usr/local/bin/
  • chmod 600 restic-cron.conf && cp restic-cron.conf /etc/
  • edit restic-cron.conf
  • Put /usr/local/bin/restic-cron.sh <mode> > /dev/null in your crontab (where is ssh or backblaze)

Make sure to define MAILTO= in your crontab to recieve emails on error.

Similar tools

About

Simple cron script for Restic


Languages

Language:Shell 100.0%