Re: [Networker] Resetting tape exiration date
2007-01-04 13:46:08
Use the following one-liner:
mminfo -q volume=000001 -r ssid | awk '{print "nsrmm -S " $1 " -e
retention"}' | sh -x
If you need all tapes in the pool, you could change the mminfo to
query for pool, as in:
mminfo -q pool=mypool -r ssid
Paul Goslin wrote:
Is there an easy way to reset the expiration date of a Tape Volume (or
rather a list of tapes) ???
I have a number of tapes (all in a common pool) which I must reset the
expiration dates to 'forever'....
The only method I am finding is via an 'nsrmm -S ssid -e retention'
command... I would hate to have to do this one save-set at a time, the
number of tapes I have to process contain thousands of save-sets....
There must be a better way than to do it by individual save-sets. Is there a
single command to reset the volume retention for a tape ?
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
--
-- Yaron.
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|