... | @@ -125,7 +125,7 @@ if [[ $BACKUP_SUCCESS -eq 0 ]]; then |
... | @@ -125,7 +125,7 @@ if [[ $BACKUP_SUCCESS -eq 0 ]]; then |
|
else
|
|
else
|
|
# Send email to admins
|
|
# Send email to admins
|
|
echo "BACKUP failed"
|
|
echo "BACKUP failed"
|
|
sendemail admin@backups.org < ./mail.txt
|
|
sendmail admin@backups.org < ./mail.txt
|
|
fi
|
|
fi
|
|
|
|
|
|
for container in ${STOPPED_CONTAINERS[@]}; do
|
|
for container in ${STOPPED_CONTAINERS[@]}; do
|
... | | ... | |