Sent email on failed backup

myH2Oservers

Verified User
Joined
Mar 13, 2006
Messages
214
Location
Netherlands
Each day we received a ticket in the message system that the backup is now ready (means successfully completed) which was forwarded to our email address.

However if you have for example 50 or 100 servers with DirectAdmin you are going crazy checking 50/100 emails every day. That is why we turned the send a copy off. The bad side of turning it off is that you need a 3th application for checking if the backup is successful.

Is it possible to create an option which does not copy every ticket in the message system to an email address but DOES send an email if a backup is failed?

(could be a total new check, but writing a "if send_email_on_failed_backup == true && if backup_failed == true => send email" on the ticket system will also do the trick).
 
Good suggestion ...

in the meantime - perhaps you could setup another mailbox to receive these emails, some mail servers (Exchange for instance) you can setup rules, which will automatically read and file (or delete) messages.

This is what we do ...
 
On our servers the email we get has a different subject if the backup saves. We forward those to our support email address and we delete the ones that mean it completed successfully.

Jeff
 
On our servers the email we get has a different subject if the backup saves. We forward those to our support email address and we delete the ones that mean it completed successfully.

Jeff

But it requires a manual action, as a server administrator I don't like manual actions ;) Of course there are workarounds, but why not make it like it should be?
 
It requires a one-time filter setup. For us that works. We don't mind getting the emails that show completion; it shows the entire process works. If we didn't want to get them we could simply filter them to /dev/null.

If it doesn't work for you, then add to this thread so DirectAdmin staff can see that there's some interest.

Jeff
 
Back
Top