Administrator's Reference

QUERY COPYGROUP (Query One or More Copy Groups)

Use the QUERY COPYGROUP command to display information about one or more copy groups.

Privilege Class

Any administrator can issue this command.

Syntax

>>-Query COpygroup---------------------------------------------->
 
    .-*--*--*--STANDARD---------------------------------------.
>---+---------------------------------------------------------+->
    |             .-*--*--STANDARD-------------------------.  |
    '-domainname--+----------------------------------------+--'
                  |          .-*--STANDARD--------------.  |
                  '-setname--+--------------------------+--'
                             |            .-STANDARD-.  |
                             '-classname--+----------+--'
                                          '-STANDARD-'
 
     .-Type--=--Backup-------.  .-Format--=--Standard------.
>----+-----------------------+--+--------------------------+---><
     '-Type--=--+-Backup--+--'  '-Format--=--+-Standard-+--'
                '-Archive-'                  '-Detailed-'
 

Parameters

domainname

Specifies the name of the policy domain associated with the copy group to be queried. This parameter is optional. You can use a pattern-matching expression to specify this name. All matching policy domains are queried. If you do not specify a value for this parameter, all policy domains are queried. You must specify this parameter when querying an explicitly named copy group.

setname

Specifies the name of the policy set associated with the copy group to be queried. This parameter is optional. You can use a pattern-matching expression to specify this name. All matching policy sets are queried. If you do not specify a value for this parameter, all policy sets are queried. You must specify this parameter when querying an explicitly named copy group.

classname

Specifies the name of the management class associated with the copy group to be queried. This parameter is optional. You can use a pattern-matching expression to specify this name. All matching management classes are queried. If you do not specify a value for this parameter, all management classes are queried. You must specify this parameter when querying an explicitly named copy group.

STANDARD

Specifies the name of the copy group. This parameter is optional. The name of the copy group must be STANDARD. If you do not specify a value for this parameter, the system defaults to STANDARD.

Type=type

Specifies the type of copy group to be queried. This parameter is optional. The default value is BACKUP. Possible values are:

Backup

Specifies that you want to query backup copy groups.

Archive

Specifies that you want to query archive copy groups.

Format=formatvalue

Specifies how the information is displayed. This parameter is optional. The default value is STANDARD. Possible values are:

Standard

Specifies that partial information is displayed for the specified copy group.

Detailed

Specifies that complete information is displayed for the specified copy group.

Examples

Task 1

Display complete information on the backup copy group assigned to the ACTIVEFILES management class in the VACATION policy set of the EMPLOYEE_RECORDS policy domain.

Command:
query copygroup employee_records vacation activefiles format=detailed

Output:

+--------------------------------------------------------------------------------+
|            Policy Domain Name: EMPLOYEE_RECORDS                                |
|               Policy Set Name: VACATION                                        |
|               Mgmt Class Name: ACTIVEFILES                                     |
|               Copy Group Name: STANDARD                                        |
|               Copy Group Type: Backup                                          |
|          Versions Data Exists: 5                                               |
|         Versions Data Deleted: 1                                               |
|         Retain Extra Versions: 30                                              |
|           Retain Only Version: 60                                              |
|                     Copy Mode: Absolute                                        |
|            Copy Serialization: Shared Static                                   |
|                Copy Frequency: 3                                               |
|              Copy Destination: BACKUPPOOL                                      |
|Last Update by (administrator): ADMIN                                           |
|         Last Update Date/Time: 05/31/1996 13:15:47                             |
+--------------------------------------------------------------------------------+

See Task 2 for parameter definitions.

Task 2

Display complete information on the archive copy group STANDARD that is assigned to the ACTIVEFILES management class in the VACATION policy set of the EMPLOYEE_RECORDS policy domain.

Command:
query copygroup employee_records vacation activefiles type=archive format=detailed

Output:

+--------------------------------------------------------------------------------+
|            Policy Domain Name: EMPLOYEE_RECORDS                                |
|               Policy Set Name: VACATION                                        |
|               Mgmt Class Name: ACTIVEFILES                                     |
|               Copy Group Name: STANDARD                                        |
|               Copy Group Type: Archive                                         |
|                Retain Version: 730                                             |
|            Copy Serialization: Shared Static                                   |
|                Copy Frequency: Comand                                          |
|                     Copy Mode: Comand                                          |
|              Copy Destination: ARCHIVEPOOL                                     |
|Last Update by (administrator): ADMIN                                           |
|         Last Update Date/Time: 05/31/1996 13:15:47                             |
+--------------------------------------------------------------------------------+

where:

Policy Domain Name

Specifies the name of the policy domain.

Policy Set Name

Specifies the name of the policy set.

Mgmt Class Name

Specifies the name of the management class.

Copy Group Name

Specifies the name of the copy group. This name must be STANDARD.

Copy Group Type

Specifies the type of the copy group.

Retain Version

Specifies the number of days to keep an archive copy.

Copy Serialization

Specifies whether a file can be in use during an archive operation.

Copy Frequency

Specifies the copy frequency of the copy group. For archive copy groups, this value must be CMD.

Copy Mode

Specifies that files in the copy group are archived regardless of whether they have been modified. For archive copy groups, this value must be ABSOLUTE.

Copy Destination

Specifies the name of the storage pool where the archive copy group's files are to reside.

Last Update by (administrator)

Specifies the name of the administrator that defined or most recently updated the copy group.

Last Update Date/Time

Specifies the date and time that the administrator defined or most recently updated the copy group.

Related Commands

Table 125. Commands Related to QUERY COPYGROUP
Command Description
DEFINE COPYGROUP Defines a copy group for backup or archive processing within a specified management class.
DELETE COPYGROUP Deletes a backup or archive copy group from a policy domain and policy set.
UPDATE COPYGROUP Changes one or more attributes of a copy group.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]