Video Screencast Help

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:




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?


Comments 3 CommentsJump to latest comment

RamNagalla's picture

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

Possible's picture

Use bpimmedia -mediaid <> -L |grep Sc

You will get results u want.

JustN's picture

Thanks for the help!

I was able to do this with "bpimmedia -mediaid <media id>" from inside of a Perl script. Works fantastic!