Forum Discussion

JeffTan's avatar
JeffTan
Level 2
10 years ago

monitor scratch tape in netbackup master server

I am using Netbackup Enterprise 7.5 running in Windows Server 2008 R2. I know there a script can check the balance of scratch tape in library -> "vmquery -bx -a | findstr -i scratch | findstr -v N...
  • mph999's avatar
    10 years ago

    Try running available_media script in netbackup/bin/goodies

  • Marianne's avatar
    10 years ago

    On Windows master the script is in ....\netbackup\bin\goodies.

    To list scratch tapes in TLD(0):

    vmquery -rn 0 -bx | findstr -i scratch 

    Do the same for robot 1.

    To count the number, look for the Windows equivalent of 'wc -l'.

  • Michael_G_Ander's avatar
    10 years ago

    I have used

    vmquery -pn <scratch pool name> -b | find /c "TLD"

    to find the number of scratch tapes on a windows master with a TLD robot