summaryrefslogtreecommitdiffstats
path: root/cron/cron.d/restic_theia
diff options
context:
space:
mode:
Diffstat (limited to 'cron/cron.d/restic_theia')
-rw-r--r--cron/cron.d/restic_theia9
1 files changed, 9 insertions, 0 deletions
diff --git a/cron/cron.d/restic_theia b/cron/cron.d/restic_theia
new file mode 100644
index 0000000..a7856f2
--- /dev/null
+++ b/cron/cron.d/restic_theia
@@ -0,0 +1,9 @@
+# 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