And since this has now bitten me twice, make sure that there are no variables with carriage returns at the end. In my case, both times I forgot to chomp($report_date) and could not figure out why the attachments were displaying inline instead of as proper attachments when I received the email.

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