If you want to try to preserve what you can off the tape, try this..
Code:
#!/bin/ksh
DESTPOOL=`mminfo -r pool -q volume=${1}`
mminfo -r ssid,cloneid -q volume=${1} | while read SSID CLONEID
do
nsrstage -mvb "${DESTPOOL}" -S ${SSID}/${CLONEID}
done
This goes through every saveset on the volume one-by-one, and tries to move it to a different volume in the same pool. The reason it's done one at a time is that if you try to do them all at once (which is possible), if any single one fails, the entire task fails, and some may be copied and some may not.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.