QUERY RECOVERYMEDIA (Query recovery media)

Use this command to display information about the media (for example, boot media) needed to recover a machine. Media are displayed in alphabetical order by name.

Remember: IBM Spectrum Protect™ does not use the information. It is available only to help you plan for the disaster recovery of client machines.

Privilege class

Any administrator can issue this command.

Syntax

Read syntax diagramSkip visual syntax diagram
                        .-*----------.   
>>-Query RECOVERYMedia--+------------+-------------------------->
                        '-media_name-'   

>--+--------------------+--+-----------------------+------------>
   '-Type--=--+-BOot--+-'  '-LOcation--=--location-'   
              '-OTher-'                                

   .-Format--=--Standard-----.   
>--+-------------------------+---------------------------------><
   '-Format--=--+-Standard-+-'   
                '-Detailed-'     

Parameters

media_name
Specifies the name of the recovery media. You can use wildcard characters to specify the name. This parameter is optional. The default is all recovery media.
Type
Specifies the type of media to be queried. This parameter is optional. If this parameter is not specified, all recovery media are queried. Possible values are:
BOot
Only boot media are queried.
OTher
All media other than boot media are queried.
LOcation
Specifies the location of the recovery media to be queried. This parameter is optional. You can specify up to 255 characters. Enclose the description in quotation marks if it contains any blank characters.
Format
Specifies how the information is displayed. This parameter is optional. Possible values are:
Standard
Displays partial information. This is the default.
Detailed
Displays all information.

Example: Display summary information for a specific recovery media

Display information for the recovery media named RECMED1. See Field descriptions for field descriptions.
query recoverymedia RECMED1
Recovery Media Name   Volume Names      Location          Machine Name
--------------------  ----------------  ----------------  ------------
RECMED1               vol1 vol2 vol3    IRONMOUNTAIN      MACH1
                       vol4

Example: Display detailed information for a specific recovery media

Display detailed information for the recovery media named RECMED1. See Field descriptions for field descriptions.
query recoverymedia RECMED1 format=detailed
Recovery Media Name: RECMED1
               Type: Boot
       Volume Names: vol1 vol2 vol3 vol4
           Location: IRONMOUNTAIN
        Description:
            Product:
Product Information:
       Machine Name: MACH1

Field descriptions

Recovery Media Name
The name of the recovery media.
Type
Whether the recovery media are boot media or another type of media. Possible values are:
Boot
The recovery media are boot media.
Other
The recovery media are not boot media.
Volume Names
The set of volumes that contain the data needed to recover machines associated with this media.
Location
Where the recovery media is stored.
Description
A description of the recovery media.
Product
The product used to create the boot media.
Product Information
Information about the product that created the boot media. This information may be needed for restoring the machine.
Machine Name
The machines that are associated with this recovery media.

Related commands

Table 1. Commands related to QUERY RECOVERYMEDIA
Command Description
DEFINE RECMEDMACHASSOCIATION Associates recovery media with a machine.
DEFINE RECOVERYMEDIA Defines the media required to recover a machine.
DELETE RECOVERYMEDIA Deletes recovery media.
UPDATE RECOVERYMEDIA Changes the attributes of recovery media.