Networker

Re: [Networker] Recycle cloned volumes

2002-09-03 09:51:10
Subject: Re: [Networker] Recycle cloned volumes
From: "VERHAEGHE Koen (BMB)" <Koen.VERHAEGHE AT PROXIMUS DOT NET>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 3 Sep 2002 15:54:22 +0200
Kristof,

Unfortunatly, there seems to be a bug in mminfo, so the volretent
parameter cannot be used for your purpose. Should it have worked (that
is - I haven't seen it working yet) an easier query would be
# mminfo -a -q'pool=clonepool,volretent<11 months' -r volume

As I'm saying, nice query, but doesn't work. Has anyone the same
experience or better still, a Legato case number for this?

Cheers
Koen

-----Original Message-----
From: Van Den Abeele Kristof [mailto:Kristof.VanDenAbeele AT NBB DOT BE] 
Sent: Tuesday, September 03, 2002 3:11 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Recycle cloned volumes


Hello list , 

Currently we perform a full backup of some clients each month. 
The retention policy is one year. We also clone those savesets. Of
course these clones have the same retention period.

Now company policy has changed a bit.
Only the clones of the last full backup have to be preserved. 

I think I'm able to pull this off , using following method : 

-# mminfo -a -q 'savetime<one month' -q 'pool=clonepool' -r volume -#
mminfo -a -q 'savetime>one month' -q 'pool=clonepool' -r volume

-Compare those two outputs so I just have the volumes where ALL savesets
are older then one month.

-check with mminfo which ssid's are located on previous found volumes.

-Search on wich volumes the originals are located ( same ssid's , other
pool ) 

-Set those volumes to manual mode using 'nsrmm -o manual -y VOLNAME'

-set volumes of the clones to recyclable ' nsrmm -o recyclable -y
VOLNAME'

-set originals back to auto with 'nsrmm -o notmanual -y VOLNAME'



First of all : is this method correct ? Am I missing something here ?

Second : can I automate this ? , I'm talking about +200 tapes and maybe
+500 savesets , I don't want to do this manual :( Maybe somebody has a
script , I don't want to re-invent the weel.

Any other suggestions , how-to's , ... are more then welcome



Thx a lot for any help ... it's highly appreciated.

Kristof VdA
Belgium
Visit our website! http://www.nbb.be

"DISCLAIMER: The content of this e-mail message should not be
constructed as binding for the National Bank of Belgium (NBB) unless
otherwise and previously stated. Besides, the opinions expressed in this
message are solely those of the author and do not necessarily represent
those of the NBB, which is particularly the case if the content of the
present message, or part of it, is of a private nature or does not come
whithin the professional scope of the author."

--
Note: To sign off this list, send a "signoff" command via email to
listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can also
view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=


**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is 
confidential and/or protected by intellectual property rights and are intended 
for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, 
total or partial reproduction, communication or distribution in any form) by 
other persons than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our 
website at http://www.proximus.be or refer to any Proximus agent.

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>