mail_body="The host ${host} was not backed up since the last check. Please forward this mail to the owner of the affected system."
echo"$mail_body"| mail -s "${host} not backed up!""$mail_to"
fi
else
mail_body="No previously generated hash for the ${host} could be found - probably because it ran for the first time. Please forward this mail to the owner of the affected system."
echo"$mail_body"| mail -s "Error while checking ${host} for missed backups!""$mail_to"