# Cronjob for Restic Backup to S3
# Created and last modified: 20/07/2021
# georg@lysergic.dev

MAILTO=system
SHELL=/bin/sh

#This will make a deduplicating backup every day at 23:00 and send an email to system@lysergic.dev as well as #universe
0 23 * * * restic /opt/restic/run.sh |& mail -s "S3 Backup - $(hostname -f) - $(date)" ircsystem