Solstice Backup 5.1 Administration Guide

mminfo

The mminfo program reports information about Backup media and save sets. The default mminfo report displays information about the save sets that completed properly during the last twenty four hours. This report includes; the volume name, client name, creation date, amount of data saved to the volume, level of backup performed and the name of the save set.

See "Examples of mminfo Report Commands" for a list of examples of how to use the mminfo command.

The following example describes the format and options available for the mminfo command:


mminfo [-avV] [-o order] [-s server] [report] [query] [volname...]
<report>: [-m | -B | -S | -X | -r reportspecification]
<query>: [-c client] [-N name] [-t time] [-q query specification]

name, is the name of a database attribute, such as "name="hot"name="hot"" Save Set" comp, is a valid comparator for the attribute, from the set ">", ">=","=" value, is the value being compared.

The comparator and value must be specified for all attributes, except flags. If a string contains commas, quote the value using single or double quotes. The following is a valid string comparison:


name="Daily, ""hot"" Save Set"

Except for multiple character string values, all of the specified constraints must match a given save set and/or media volume. Numeric constraints can be specified by a, and all character string constraints can be specified by multiple possible values. For example:


%used>20,%used<80
client=mars,client=saturn 

Refer to the CUSTOM QUERIES AND REPORTS section in the mminfo(1m) man page for further information on the syntax to use for the query specification.

The first line of each multi-line group starts on the left margin and includes the save set identifier (ssid), save time, client and save set names. Subsequent lines for this save set are indented. The next line displays the level, the save set flags, the save set size, the number of files within the save set, and the save set expiration date. Extended attributes, clones and instances of the save set are displayed on the lines that follow.

Examples of mminfo Report Commands

The following examples provide a guideline for you to follow when you create your own customized queries. Shortened syntax, wherever acceptable, is shown.

To display all the information about all the volumes managed by the server:


mminfo -m

To display media information from volumes that are labeled mars.001 and mars.002:


mminfo -m mars.001 mars.002

To display all save sets found in the file indexes named /usr:


mminfo -N /usr

To display save sets named /usr, generated by a client named venus, backed up in the past week:


mminfo -N /usr -c venus

To display save sets named /usr, generated by a client named venus, on a volume that is labeled mars.001:


mminfo -N /usr -c venus mars.001

To display a media report of all volumes written on in the past week:


mminfo -m -t `last week'

To display a media report of all non-full volumes, showing the percent used, pool name, and location of each volume:


mminfo -a -r `volume,%used,pool,location' -q `!full'

To display a media report similar to the -m report that shows the barcode instead of the volume label:


mminfo -a -r \ `state,barcode,written,%used,read,space,volexp' \
-r`mounts(5),space(2),capacity'

To display a verbose list of the instances of all save sets with more than one copy, sorted by save time and client name:


mminfo -otc -v -q `copies>1' 

To display all archive save sets with an annotation of "my project" for the past four months:


mminfo -q'annotation=my project' \
-r"volume,client,savetime,sumsize,ssid,name,annotation" \ -t'four
months ago'