Start a Conversation

Unsolved

This post is more than 5 years old

3193

April 2nd, 2013 01:00

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

445 Posts

April 2nd, 2013 02:00

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

April 2nd, 2013 03:00

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


173 Posts

April 2nd, 2013 05:00

You can use this query:

mminfo –q "ssrecycle"

regards

Lukas

14.3K Posts

April 2nd, 2013 06:00

William Mason wrote:

[snip]

Bill Mason

Bill, stop helping people on forum and focus on 53645656

No Events found!

Top