You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Currently we can run a command when the backup finishes with the POSTBACKUP option. I'm wondering whether there's a way to run a command specifically when the backup fails, or if there's some way to detect if it failed from within the POSTBACKUP option?
My use case is: I have no idea how to set up mail on my server, and would like to use a simple nodejs script like this:
require('nodemailer').createTransport('smtps://blablablabh.com%40gmail.com:[email protected]').sendMail({to:'[email protected]', from:'automongobackup', subject:'automongobackup ERROR - check your logs!'});
I'm a bash noob, so if this is not something that's achievable, that's cool - I'll try wrangle together some workaround. Thanks!
The text was updated successfully, but these errors were encountered:
Hello! Currently we can run a command when the backup finishes with the
POSTBACKUP
option. I'm wondering whether there's a way to run a command specifically when the backup fails, or if there's some way to detect if it failed from within thePOSTBACKUP
option?My use case is: I have no idea how to set up
mail
on my server, and would like to use a simple nodejs script like this:I'm a bash noob, so if this is not something that's achievable, that's cool - I'll try wrangle together some workaround. Thanks!
The text was updated successfully, but these errors were encountered: