summaryrefslogtreecommitdiffstats
path: root/cron/cron.d/restic_selene
blob: 2177e7f7a59322128f8c3f3e8c2bfee87a864573 (plain)
1
2
3
4
5
6
7
8
9
10
# 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 21:00 and send an email to system@lysergic.dev as well as #universe
0 21 * * * restic /opt/restic/run.sh |& mail -s "S3 Backup - $(hostname -f) - $(date)" ircsystem