To bring up a tape drive in NetBackup, you can use the vmoprcmd command. /usr/openv/volmgr/bin/vmoprcmd -up For example, to bring up drive...
To update the inventory of your library in NetBackup from the command line, you can use the vmupdate command. The command below...
To manually reset the mount time for a tape drive in NetBackup, you can use the tpclean command. To view the status...
An easy way to search for failures in NetBackup is as follows: #!/bin/bash if [ $# -eq 1 ] then HOURS=$1 /usr/openv/netbackup/bin/admincmd/bperror...
A script that we at MyTechForum.com use to search for media errors is called tapechk.sh. # cat tapechk.sh #!/usr/local/bin/bash export TODAY=$(date +%m%d%y)...
To find FROZEN or SUSPENDED tapes in NetBackup, you can run the bpmedialist command. /usr/openv/netbackup/bin/admincmd/bpmedialist -summary | egrep ‘\(FROZEN\)|\(SUSPENDED\)’ Using egrep you...
The vmchange command can be used to change the media type of a tape. /usr/openv/volmgr/bin/vmchange -new_mt media_type -m media_id An example is...
Using the vmquery command you can determine which tapes are scratch. /usr/openv/volmgr/bin/vmquery -a -w | awk ‘$20==”00\/00\/0000″ {print $1}’ Depending on the...
To check the status of your robot in your tape library, you can use the vmchange command. /usr/openv/volmgr/bin/vmchange -res -robot_info -verbose -rn...
To list cleaning tapes in NetBackup you can use the vmquery command. /usr/openv/volmgr/bin/vmquery -mt /usr/openv/volmgr/bin/vmquery -mt hcart_clean Some valid media types include:...