Command to list Drive name and current running backup
Is any command in netbackup which give me drive name (If multiple Tap library is configured) with current runing backup and all queued client for backup ?
The problem is that to get the detail you want you need to dump the bpdbjobs file and then either grep it or use vbs to analyse it and then pipe out the results.
That could take a considerable amount of time which would actually make your results when they finally get to the dashboard rather behind time. How quickly are you looking for this to update?
Nagalla suggested the nbrbutil command and i would like to expand on that to make it much easier...
nbrbutil -listActiveDriveJobs HP.ULTRIUM4-SCSI.00
(is that really your drive name? I expected HP.ULTRIUM4-SCSI.000)
will pipe out a quick nice report on what your tape drive is doing including the job id, whether backup or restore and the tape pool in use.
It should be quick to grab your other details (client etc) from the job id
And just repeat the command against each drive you have.
There should be very little processing time involved with this to keep your dashboard up to date.
Hope this helps