phella32
14 years agoLevel 2
frozen tapes
Whats the filter that can be used in netbackup 5.1 to list all frozen media?
- Anonymous14 years ago
This might be close to doing what you requested. (I'm no script guru.)
However best to investigate why tapes are freezing.
for m in `bpimagelist -media -hoursago 24 -idonly`doSTATUS=`bpmedialist -m $m -l | awk '{print $15}'`if [[ $STATUS == "1" ]]thenecho $m is FROZEN. Unfreezing $m.bpmedia -unfreeze -m $mfidoneColumn 15 from the Commands Guide relates to the status of media.Value 1 relates to FROZEN media