kees-z
January 10, 2020, 11:53am
2
Can’t you do this using the backup script itself?
Within the script, check the creation timestamp of the just created backup file and exit with an error level > 0.
from the runscript helptext of --run-script-before-required:
If the script returns a non-zero error code or times out, the operation will be aborted.
The ParsedResult will always be Failed if the script returns an errorlevel other than 0. There is no way to just skip the backup when a specific condition has met.
This can be improved by allowing multiple error levels:
Errorlevel 0: Everything is OK, start backup task
Errorlevel 1: Everything is OK, but don't run the backup
Errorlevel 2: The…