on 10-30-2009 01:58 PM
Here is a small script to Find and Unfreeze Media
echo "\n Finding and Unfreezing Media..."
echo "---------------------------------"
/usr/openv/netbackup/bin/goodies/available_media > /tmp/look
cat /tmp/look|grep FROZEN|awk '{print $1}' > /tmp/frozen.a
while read line
do
/usr/openv/netbackup/bin/admincmd/bpmedia -unfreeze -ev $line -h itsbkp04
echo "The Following tape(s) will be unfrozen $line"
done < /tmp/frozen.a
rm /tmp/frozen.a