02-08-2016 11:53 PM
Hi Dears,
I want to create report from backups durations, and have problem with multistreams backups. OPS calculate backup duration by multiple all channels/streams duration, but I need real backup time (from start first channel to end of last channel).
Thanks
02-09-2016 01:40 AM
There are no standard reports in NetBackup to do that for you. And, I very much suspect that OpsCenter cannot do it either.
I very much think that you will have to script something to pick through the bptm logs on the media server(s) writing to tape.
02-09-2016 03:11 AM
Hi sdo, I think bptm logs only generate at start of backup and write some statistics and I can't any information about end of jobs here,
14:30:10.428 [28075] <2> drivename_open: Called with Create 0, file HP.ULTRIUM6-SCSI.039
14:30:10.428 [28075] <2> drivename_checklock: Called
14:30:10.428 [28075] <2> report_drives: DRIVE = HP.ULTRIUM6-SCSI.039 LOCK = FALSE CURTIME
14:30:10.428 [28075] <2> report_drives: MODE = 2
14:30:10.428 [28075] <2> report_drives: TIME = 1402907033
14:30:10.428 [28075] <2> report_drives: MASTER = mstrsrv
14:30:10.428 [28075] <2> report_drives: SR_KEY = 0 1
14:30:10.428 [28075] <2> report_drives: PATH = /dev/nst7
14:30:10.428 [28075] <2> report_drives: REQID = -1926756492
14:30:10.428 [28075] <2> report_drives: ALOCID = 553899
14:30:10.428 [28075] <2> report_drives: RBID = {74468068-CE1F-15E5-BC0B-0342F02B15E4}
14:30:10.428 [28075] <2> report_drives: PID = 6254
14:30:10.428 [28075] <2> report_drives: FILE = /usr/openv/netbackup/db/media/tpreq/drive_HP.ULTRIUM6-SCSI.039
02-09-2016 03:38 AM
Try a higher level of bptm logging.
You should see things like this:
https://www.veritas.com/support/en_US/article.000076271
.
Instead of bptm on the media servers - you might be able to pick the info you need from bperror on the master server:
http://eval.veritas.com/downloads/van/4019.pdf
...which is a bit old, but still very relevant.
02-09-2016 03:40 AM
Here's an old script:
http://veritas-bu.mailman.eng.auburn.narkive.com/Z3QGxtDC/win-nbu5-1-logging-backup-time-performance-of-streams