ClaireW
9 years agoLevel 2
Find all children for a parent job using command line
Using the command line only, I need to be able to find all the children of a particular parent job.
This is for a perl script that raises tickets for failures automatically, and needs to raise them at the right level.
So far my only solution is to use bpdbjobs and list everything, then find those records with my parent in the "parent" field. This works, but I have 4000 jobs per night and I need to to this every time a job ends - be it parent or child - so even with the "time from <active-time>" option it's still a lot of processing.
Anyone have any ideas on how to achieve this more efficiently? I am new to Netbackup so may have missed an obvious trick, or perhaps there is a better command?