This is not natively supported, but as a workaround you can use the --run-script-before-required option to do one or more checks before the backup operation is started. To get started, see the script in this thread:
Scripts like this will be more usable when Duplicati accepts more than 2 error levels (0=OK, 1=Fail backup), which seems to be planned for the near future: