From 9efacf4f8c2313435306eeb5d4d5cdd7b7c43e6b Mon Sep 17 00:00:00 2001 From: Teo-CD Date: Mon, 18 Apr 2022 10:27:49 +0100 Subject: [PATCH] Add example variables for mail sender/recicipients for backup --- VPS/restic-backup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VPS/restic-backup.sh b/VPS/restic-backup.sh index 19b8b1f..dfeb0ac 100755 --- a/VPS/restic-backup.sh +++ b/VPS/restic-backup.sh @@ -7,6 +7,9 @@ backup_origin="/backups/restic" backup_container="central-backup" +mail_sender='"Name"""' +mail_recipients="first@example.com,second@example.com" + if [[ -z "$1" || "$1" != "daily" && "$1" != "weekly" && "$1" != "monthly" ]]; then echo "Usage : backup [daily|weekly|monthly]" exit 1