Backup log file that looks like compare --full-results

Blat - Windows Command Line SMTP Mailer would be an example, but there are others around.

run-script-example.bat (also on your system) is an example of the sort of things scripting can do.
Putting arbitrary data in logs is not particularly supported AFAIK, but ugly workaround may exist:

Where does script output go to (difference between BEFORE and AFTER?)

stderr is captured in either --run-script-before or --run-script-after but all that it does is include the output in Duplicati’s own logging mechanism.

Output from run scripts gets into how to redirect output on Windows (a topic I’m not expert on…).

If you manage to shove output lines into the logging system, there may still be length limit issues.

1 Like