thanks for the input curaga, its still finding my excluded string though.
Here's my update
# Check the log file for errors
DateTime=$(date +"%d/%m/%Y %H:%M")
ErrorCheck=$(grep -vi "No errors" $LOGFILE | grep -ciE "error|fail|can't" $LOGFILE)
if [ $ErrorCheck -gt 0 ]
then
EmailSubject=$ErrorCheck" Errors Detected in DSS DB Backup $DateTime"
else
EmailSubject="DSS DB Backup $DateTime"
fi
Did I make a simple syntax error maybe ?