Migration
2 Bronze

Use mminfo and get client type information

I have a mminfo command that gives me all the savesets that have been backed up but it does not tell me what type of back up each one is. I'm am trying to find out if each backup is SQL, Oracle, File system, Virtual Machine, Etc.what would I need to add? Or if there is any command I can use to get the client type information?

 

mminfo -a -s marge -xc "\t" -r volume,volid(55),barcode,family,type,volflags,state,pool,location,capacity(15),written(15),%used,read(15),next,nrec,volaccess(23),volretent(23),olabel(23),labeled(23),mounts,recycled,avail,metric,savesets,volattrs,name,savetime,nsavetime,sscreate(23),ssid(55),level,client,attrs,pssid(55),ssflags,sumflags,totalsize,nfiles,ssbrowse(23),ssretent(23),ssinsert(23),sscomp(23),clientid(55),copies,cloneid(55),clonetime(23),clflags,annotation,group,sumsize(15),fragflags,first,last,fragsize(15),mediafile,mediarec,ssaccess(23),mediamark > mminfo-all.txt  
0 Kudos
2 Replies
bdos1
2 Bronze

Re: Use mminfo and get client type information

After checking the command reference guide for mminfo usage, there does not appear to be an option you can pass to -r to extract information regarding the "type" of saveset which is unfortunate.

The only alternative I can think of is to use mminfo with the -N option.
For example:
If you know the type of saveset you're looking for always has the same name (Lotus notes for example has "NOTES:").
Then one could do something like this: mminfo -avot -N NOTES:
This will return all the Lotus Notes savesets from the mediadb.

Similarly, Isilon NDMP backups usually contain a leading /ifs/.. in it's name.
So one could use mminfo -avot -N /ifs to return all Isilon NDMP backups and so on...

nsrinfo has a nice option -n to query the namespace, this looks more along the lines of what you need...

–n namespace - Indicates the file index name space to query. By default the backup name space is used. The other recognized values are: migrated, archive, nsr (for internal use), bbb (for Block based backup data), db2 (for DB/2 data), informix (for INFORMIX data), iq (for SAP IQ data), msexch (for Exchange data), mssql (for SQL Server data), mysql (for MySQL data), notes (for Lotus Notes data), oracle (for Oracle data), saphana (for SAP HANA data), sybase (for Sybase data), and all. The name space field is case sensitive

This mminfo limitation looks suitable for an RFE.

Migration
2 Bronze

Re: Use mminfo and get client type information

Thanks I will try this out. I appreciate the help.

0 Kudos