Highlighted
theariezman
1 Nickel

how to display expired savesets in a volume or a pool

Hi,

I am running a command to display the save sets on a pool. The output of the query currently gives all the save sets including expired and non expired.

mminfo -avot -q 'pool=Avamar Metadata Clone' -r "volume,client,sscreate,ssretent,ssflags,ssid,sumflags,level,name"

the  output of the query is mix of expired and browsable savesets

volume        client      created  retent  ssflags ssid      fl   lvl name

ZT1076         zkhqapp5    08/06/12 08/13/12 vrEF  1998594688 cE     1 /etc/dfs/sharetab

ZT1076         zkhqapp5    08/06/12 08/13/12 vrEF  1981817472 cE     1 /appl

ZT1076         zkhqapp5    08/06/12 08/13/12 vrEF  1210065576 cE     1 /devices

ZT1406         earth2      03/22/13 03/29/13 vrEF  2353773878 cE  full /medfs/CDR

ZT0624         nova2       03/22/13 03/29/13 vF    2051784104 cb  incr /u01

ZT1186         light2      03/22/13 03/29/13 vF    2454437132 cb  full /pm_gui

ZT1186         light2      03/22/13 03/29/13 vF    2437659920 cb  full /appl

ZT1406         zkwhqsdc01  03/22/13 03/29/13 vrEF  1967898051 cE     1 C:\

How can I filter out to display only the expired save sets. I tried to check the ssrecyle option but I am unable to use it.

Any help is much appreciated

Regards

Muhammad Asif Iqbal

0 Kudos
4 Replies
masonb
3 Argentium

Re: how to display expired savesets in a volume or a pool

Hi, Muhammad Asif Iqbal

Try: -

mminfo -avot -q “pool=Avamar Metadata Clone, recoverable=true” -r "volume,client,sscreate,ssretent,ssflags,ssid,sumflags,level,name"

Regards,

Bill Mason

theariezman
1 Nickel

Re: how to display expired savesets in a volume or a pool

Thank you bill

it helped a bit since it filtered out the browse able save sets but still showing the recoverable which I do not wanted to be displaced ...but to display only expired save sets since I want to add the same query in a script to delete the expired save sets only.

Regards

Asif


0 Kudos
Lucky85
2 Iron

Re: how to display expired savesets in a volume or a pool

You can use this query:

mminfo –q "ssrecycle"

regards

Lukas

0 Kudos
ble1
6 Indium

Re: how to display expired savesets in a volume or a pool

William Mason wrote:

[snip]

Bill Mason

Bill, stop helping people on forum and focus on 53645656

0 Kudos