Stop running duplication jobs with CLI / script
I need to write a script that stops running duplication jobs in Netbackup 126.96.36.199. I have used bpdbjobs several times to cancel specific jobs, but the duplication jobs tends not to get cancelled (backup jobs do). All our duplication jobs are to tape library, and I don't know if that's the reason it's not working properly. Are there any specific CLI tools for this in Netbackup?
The script will be used to shut down stuff in Netbackup via our APC UPS software, in case of a power failure. If the duplication jobs doesn't end correctly our tape device usualy becomes "down" in Netbackup after a reboot.