Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

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!

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

SOLUTION
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!