Useful Networker Commands

For use with EMC (Legato) Networker…

Move everything off of a specific volume onto another pool (Careful, does not take into account possible clones – add /cloneid somehow to the end. I haven’t been able to automate that yet):
# for i in `/usr/sbin/mminfo -q “volume=OLDVOLUME” -r “ssid”`; do /usr/sbin/nsrstage -v -b NEWPOOL -s NETWORKERSERVERNAME -m -S $i; done

Remove everything off of a specific volume (again does not take into account clones):
# for i in `/usr/sbin/mminfo -q “volume=OLDVOLUME” -r “ssid”`; do /usr/sbin/nsrmm -e now -d -v -y -S $i; done

Clone all savesets from the last 24 hours to the “Tape” pool:
# /usr/sbin/nsrclone -S -e now -C 1 -b Tape -y month

Clone all savesets from the last 24 hours from a specific pool to the “Tape” pool and set retention to a month:
# /usr/sbin/nsrclone -S -e now -C 2 -B SOMEPOOL -b Tape -y month

Leave a Comment