"run-script-after" only if backup finished - how?

The DUPLICATI__PARSED_RESULT status variable was introduced in v2.0.2.3-2.0.2.3_canary.
If you’re in the Experimental or Beta update channel, you probably use a version number that’s below 2.0.2.3.
As a workaround, you can use a script similar to this one to pull the parsed result from the result file: