1
0
Fork 0

Add example variables for mail sender/recicipients for backup

This commit is contained in:
trotFunky 2022-04-18 10:27:49 +01:00
parent 61ade804ff
commit f881d50c90

View file

@ -7,6 +7,9 @@
backup_origin="/backups/restic"
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
echo "Usage : backup [daily|weekly|monthly]"
exit 1