QUERY RPFCONTENT (Query recovery plan file contents stored on a target server)

Use this command to display the contents of a recovery plan file stored on a target server (that is, when the DEVCLASS parameter was specified on the PREPARE command). You can issue this command from either the server that created the file (the source server) or the server that stores the recovery plan file (the target server). You cannot issue this command from the server console.

The output may be delayed if the file is on tape.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-Query RPFContent--plan_file_name----------------------------->

>--+-DEVclass--=--device_class_name-+--------------------------><
   '-NODEName--=--node_name---------'   

Parameters

plan_file_name (Required)
Specifies the name of the recovery plan file to be queried. The format of the file name is servername.yyyymmdd.hhmmss. To see the names of existing files, issue the QUERY RPFILE command.
DEVclass
Specifies the name of the device class used to create the recovery plan file. Wildcard characters are not allowed.
Specify this parameter when:
  • You want to display the contents of the recovery plan file that was created for this server.
  • You are issuing this command to the same server on which the PREPARE command was issued (the source server).
  • The specified device class name was used on the PREPARE command that created the recovery plan file.
NODEName
Specifies the node name, registered on the target server, of the source server that created the recovery plan file. Wildcard characters are not allowed.
Specify this parameter when:
  • You want to display the contents of the recovery plan file that was stored on this server.
  • You are issuing this command to the server that was the target of the PREPARE command that created the recovery plan file.
  • The specified node name is registered to this server with a node type of SERVER.
  • The Tivoli® Storage Manager server that created the recovery plan file is not available.

Example: Display the source server recovery plan

On the source server, display the contents of a recovery plan file that was created for this server on March 19, 1998, at 6:10 A.M. The PREPARE command specifies the device class REMOTE. The output of this command is the entire contents of the recovery plan file.
query rpfcontent branch1.19980319.061000 devclass=remote

Example: Display the target server recovery plan

On the target server, display the contents of a recovery plan file that was stored in this server on March 19, 1998, at 6:10 A.M. The server that created the file is registered on the target server as a node named POLARIS with a node type of SERVER. The output of this command is the entire contents of the recovery plan file.
query rpfcontent branch1.19980319.061000 nodename=polaris

Related commands

Table 1. Commands related to QUERY RPFCONTENT
Command Description
PREPARE Creates a recovery plan file.
QUERY RPFILE Displays information about recovery plan files.
QUERY VOLHISTORY Displays sequential volume history information that has been collected by the server.