Re: [Networker] Report tapes that will expire this week
2006-10-03 09:56:12
Brian Narkinsky wrote:
Something like this should work.
/usr/sbin/nsr/mminfo -q "volretent>='today',volretent<='1 week'" -r "volume,volretent"
I doubt very much that this will work. It depends on the save set expiry
not the volume.
There is probably no way to accomplish exactly what David has asked
without writinng some pretty complex scripts to determine save set
dependencies, and even then the result will be affected by potential
failures of backups that have not yet run.
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Coronel, David
Sent: Monday, October 02, 2006 1:20 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Report tapes that will expire this week
Hi Networkers,
We currently order expired tapes everyday for that day. We would like to change
this so that we order every Monday the tapes that will expire that week. Right
now I run this command every day and request the tapes based on that report:
mminfo -r 'volume,pool,location,volaccess,volretent' -v -q
"volrecycle,pool=pool1,pool=pool2,pool=pool3,location="
I get this output:
volume pool location vl access expires
ABC123 pool1 08/28/05 expired
ABC456 pool2 08/28/05 expired
ABC789 pool3 09/25/05 expired
I get tapes that are expired as of the moment I run that command. Is there a
way I can get the tapes that will expire during this week? (as I ran it on
Friday of this week) ?
Thanks,
David
-----------------------------------------
AVIS DE CONFIDENTIALITE
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement au(x) destinataire(s) susmentionné(s), est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution ou autre utilisation de toute partie de ce courriel est strictement interdit de même que toute action ou manquement à l'égard de celui-ci.
Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement
l'expéditeur par retour de courriel ou par un autre moyen et supprimez immédiatement et entièrement
cette communication de tout système électronique.
NOTICE OF CONFIDENTIALITY
This communication, including any information transmitted with it, is intended
only for the use of the addressee(s) and is confidential. If you are not an
intended recipient or responsible for delivering the message to an intended
recipient, any review, disclosure, conversion to hard copy, dissemination,
reproduction or other use of any part of this communication is strictly
prohibited, as is the taking or omitting of any action in reliance upon this
communication. If you received this communication in error or without
authorization please notify us immediately by return e-mail or otherwise and
permanently delete the entire communication from any computer, disk drive, or
other storage medium.
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 wit 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
wit 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 email has been verified as Virus free
Virus Protection and more available at http://www.plus.net
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
wit 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
|
|
|