Networker

[Networker] Recycle cloned volumes

2002-09-03 09:08:08
Subject: [Networker] Recycle cloned volumes
From: Van Den Abeele Kristof <Kristof.VanDenAbeele AT NBB DOT BE>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 3 Sep 2002 15:11:23 +0200
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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