summaryrefslogtreecommitdiffstats
path: root/cron/cron.d/restic_selene
diff options
context:
space:
mode:
authorGeorg2021-07-21 13:33:34 +0200
committerGeorg2021-07-21 13:33:34 +0200
commit2678e73ff1eb2f4e0a5d02a750ec4c047333da6b (patch)
tree002d73a98ff7a841b80b3c7af3128cdec9321adc /cron/cron.d/restic_selene
parent475dd43e32720a3eb2cfac1c28dc54c20f3c0dd5 (diff)
downloadsystem-2678e73ff1eb2f4e0a5d02a750ec4c047333da6b.tar.gz
system-2678e73ff1eb2f4e0a5d02a750ec4c047333da6b.tar.bz2
system-2678e73ff1eb2f4e0a5d02a750ec4c047333da6b.zip
Initial Cron Run
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'cron/cron.d/restic_selene')
-rw-r--r--cron/cron.d/restic_selene10
1 files changed, 10 insertions, 0 deletions
diff --git a/cron/cron.d/restic_selene b/cron/cron.d/restic_selene
new file mode 100644
index 0000000..2177e7f
--- /dev/null
+++ b/cron/cron.d/restic_selene
@@ -0,0 +1,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
+