Delete multiple tapes from NetBackup Media Database and Relabel multiple tapes
Hello All, I know it's a not big issue but would like to know if you guys have any easy option for my two things.
1. We recently destroyed approx 1000 tapes and i am looking out for an option to delete them all at once from NetBackup Media Database.
2. We have also received approx 200 (images expired) tapes from other site. I want to relabel them all at once. Is there any option to do it all together?
You do not indicate your operating system, but on my solaris master I have an easy script that does this:
1. scan the scratch pool - create file scratch.inventory
(I manually add tapes to the library)
2. inventory the library - see new tapes!
3. create file scratch.inventory.new
4. for each tape in scratch.inventory.new - check to see if it is in the original scratch.inventory
if so - skip - already labelled
if not - label it! This will automatically re-label any new tapes added.
This may be a solution to your problem!