backups

How do I list scratch tapes in NetBackup using the command line?

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 OS of the server you run this on, you may need to substitute awk with nawk.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top