Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove a particular save set from AFTD?

Status
Not open for further replies.

mitya

ISP
Aug 26, 2003
8
RU
Hello!

We are using Legato Networker 7.3 with adv_file type device.
I wish to recycle a few save sets from this device (a few oldest save sets) and to keep others.

How can I do this?

Thanks in advance!
 
Hi mitya!
Use mminfo to find the ssid and cloneid of the savesets you want to recycle/delete. Replace xxx below with the name of the disk device, and replace mm/dd/yy with a date. Since we use < i.e 'smaller than', all savesets that are older than this date will match. You can ofcourse add more querys such as client name and so on. Try out the mminfo querys before you 'go live", so that you don't mess things up.

After this, you need to set the status of these savesets, or just delete them if thats what you want. You need to use nsrmm in a loop to do this.

Windows:
1) mminfo -av -xc/ -r ssid,cloneid -q "volume=xxx,savetime<mm/dd/yy" |find /V "ssid/clone-id" > temp.txt

2) for /f %i in (temp.txt) do nsrmm -o recyclable -S %i


Unix (use in a script):
1) mminfo -av -xc/ -r ssid,cloneid -q "volume=xxx,savetime<mm/dd/yy" | sed 1d > $LISTFILE

2) while read SSID
do
nsrmm -o recyclable -S $SSID
done < $LISTFILE


Cheers!
Maverick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top