Adding barcode labels to tapes already used in NetBackup
We are currently in the process of putting a new media server and robot at an existing site. The current setup is an unmanaged tape drive which is using AVR in NetBackup to create the media labels, this drive has no bardode reader and the tapes have no barcode labels on them.
The existing media server is running NBU 7.0 and Windows 2003, the new media server will be NBU 18.104.22.168 and Windows 2008 R2 (the master server in this NBU domain is running 22.214.171.124)
We would like to put in a new media server and a robot which has barcode reading capabilities and add barcode labels to all the existing tapes (most of which have valid data on them) so they can continue to be used. The old media server and tape drive will be decomissioned.
I'm looking for a way we can do this, and keep the existing data on the tapes available for restores.
Firstly I believe we need to move the media from the old media server to the new one using the command below (can use bpmedialist -mlist -l -h <oldserver> to list the tapes which have valid images on them)
bpmedia -movedb -allvolumes -oldserver <decommisioned_media_server> -newserver <media_server_inheriting_media>
Once this is done I believe I can use the vmchange command to update the media information, but I'm not sure of the exact steps required, or the order in which to do them. I am under the impression that if we simply put barcode labels on the tapes and inventory them into the new robot we will run into trouble. Lets assume one of the existing Media ID is A00015 and the new barcode label is XYZ123L4 and this tape has valid data on it that we would like to be able to easily restore if needed.
If someone can help out with this query we would appreciate it!