Add example variables for mail sender/recicipients for backup
This commit is contained in:
parent
a278fdd40a
commit
9efacf4f8c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue