02-10-2013 08:44 AM
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!
Solved! Go to Solution.
02-10-2013 08:58 AM
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
02-10-2013 08:58 AM
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
02-10-2013 08:35 PM
02-16-2013 07:59 PM
Thanks for the help!
I was able to do this with "bpimmedia -mediaid <media id>" from inside of a Perl script. Works fantastic!