• Probably best posting this on the NetBackup forums instead.

    There are more tables involved than originally thought and someone on the NetBackup site may have already got a script for what you want to do.