1
0
Fork 0

Add example variables for mail sender/recicipients for backup

This commit is contained in:
Teo-CD 2022-04-18 10:27:49 +01:00
parent a278fdd40a
commit 9efacf4f8c

View file

@ -7,6 +7,9 @@
backup_origin="/backups/restic" backup_origin="/backups/restic"
backup_container="central-backup" backup_container="central-backup"
mail_sender='"Name""<sender@example.com>"'
mail_recipients="first@example.com,second@example.com"
if [[ -z "$1" || "$1" != "daily" && "$1" != "weekly" && "$1" != "monthly" ]]; then if [[ -z "$1" || "$1" != "daily" && "$1" != "weekly" && "$1" != "monthly" ]]; then
echo "Usage : backup [daily|weekly|monthly]" echo "Usage : backup [daily|weekly|monthly]"
exit 1 exit 1