Start a Conversation

Unsolved

T

1 Rookie

 • 

63 Posts

604

January 11th, 2022 15:00

How can I get tape list from save set particular

Hello All;

After I ran 2 command lines :
# mminfo -r "name,nsavetime" -c vlsstage

/u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5 1309763350

# nsrinfo -t 1309763350 vlsstage

-bash-4.1# grep /u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5/65/ /tmp/tom_1309763350.txt
/u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5/65/=+K+Reddy/store.idx
/u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5/65/=+K+Reddy/35/
......

How can I get tape list from that output (1309763350 )? Thank you.

2.4K Posts

January 11th, 2022 21:00

mminfo -q "nsavetime=1309763350,'media family'=tape" -r "nsavetime,volume"

should do the job.

January 16th, 2022 16:00

Indeed look at the very extensive list of possible mminfo fields that you can query about?

Beware however that depending on the fields used, one and the same saveset might be reported more than once, for example when using tape while showing the fields that show the various pieces that it can have if it spread over more than one tape.

Depending on what you try to achieve and show with each mminfo query, carefully analyze if it only shows what you want and need, and not duplicate records, which you might wanna remove from results... might not wanna have billing use the same ssid more than once when calculating total amount of data in backup...

Been there, done that, screwing around with different fields, asking myself why not the same amount of rows were reported? And yes there have been bugs as well, recently for example the -k option reporting all backups, not only the vmware image level backups made through vproxy appliances. Only recently been fixed.

No Events found!

Top