we use Veeam B&R v8 together with a QNAP NAS. A RDX drive is connected to the QNAP by USB3. In Veeam I have configured the QNAP as linux host and two backup repositories on this host. One repository is the main backup location on the QNAP harddrives (/share/CACHEDEV1_DATA/Backup/). The second one is the destination for backup copies on the RDX drive (/share/external/DEV3301_1/). This one is configured for drive rotation.
The backup job runs from monday to saturday keeping 12 restore points. The backup copy job copies the data to RDX afterwards (copy method: direct). A post-run script of the copy job ejects the RDX cartridge. Everything works great until the RDX drive is not mounted (e.g. bank holiday). If the RDX drive is not mounted, Veeam creates the folder on its own (/share/external/DEV3301_1/) and starts copying data. This fails because the directory is created on the QNAPs ramdisk with 60MB left space. The ramdisk fills up and I have to restart the QNAP (or delete the data through ssh).
Now my question: How can I prevent the execution of the copy job if the drive is not mounted (the target folder does not exist)? It would be OK if the job fails an retries the execution at the next copy job interval. I tried already the pre-run script with exit code 1. Nevertheless Veeam executes the copy job with a warning and does not fail.
I hope someone can help me
