Retrieve Schedule from Tape
Created: 10 Feb 2013 | Updated: 16 Feb 2013 | 3 comments
This issue has been solved. See solution.
Good Morning-
Has anyone found a way to obtain the name of the schedule that has been written to a specific tape from CLI?
For example, bp????? -m LTO003:
....
SCHEDULE: FULL-Weekly
....
Right now I am using the retention period ID to fill this void, but was hoping to steer closer to the actual schedule name.
Any thoughts?
Thanks!
Discussion Filed Under:
Comments 3 Comments • Jump to latest comment
here you go..
bpimmedia -mediaid <mediaid> | grep -i image | awk '{print$7}'
can remove awk if you need more details about the scheule
bpimmedia -mediaid <mediaid> | grep -i image
Use bpimmedia -mediaid <> -L |grep Sc
You will get results u want.
Netbackup Admin (Unix)
Thanks for the help!
I was able to do this with "bpimmedia -mediaid <media id>" from inside of a Perl script. Works fantastic!
Would you like to reply?
Login or Register to post your comment.