Hello everyone,
I am almost ready to put my custom backup script into production.
The script will upload the backups for me to an 3S Compliant provider on the log-end hook.
I do this to allow the VM to come out of the backup state and go back to its normal running state. (Since it suspends the VM untill it is past the backup-end hook.)
I noticed however that when I exit the script with any exit code that is not 0, it still tells me in the GUI, the backup was successfull. (Instead of marking it red and thus letting me know something went wrong.)
This is an issue since this will also not notify me via email when the backup fails to upload as it is never marked as unsuccessfull.
Does anyone know if this is expected behavior and if it is how I can still get it marked as failled so that it can email me. (So that it does not need to email me everytime a backup runs and instead allows me to only email me when an backup job got an error.)
I am almost ready to put my custom backup script into production.
The script will upload the backups for me to an 3S Compliant provider on the log-end hook.
I do this to allow the VM to come out of the backup state and go back to its normal running state. (Since it suspends the VM untill it is past the backup-end hook.)
I noticed however that when I exit the script with any exit code that is not 0, it still tells me in the GUI, the backup was successfull. (Instead of marking it red and thus letting me know something went wrong.)
This is an issue since this will also not notify me via email when the backup fails to upload as it is never marked as unsuccessfull.
Does anyone know if this is expected behavior and if it is how I can still get it marked as failled so that it can email me. (So that it does not need to email me everytime a backup runs and instead allows me to only email me when an backup job got an error.)