Re: [Networker] Resetting tape expiration date
2007-01-04 14:13:01
1) Mminfo -q 'pool=??' -r 'volume,volretent' | sort -k2 > /tmp/exc1
2) cat /tmp/exc1 | while read vol date;do nsrmm -o manual -v -y
$vol;done
This will work. 1 will build file and 2 will change all of the tapes to
manual
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Paul Goslin
Sent: Thursday, January 04, 2007 12:05 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Resetting tape exiration date
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
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
|
|
|