COPY MGMTCLASS (Copy a management class)
Use this command to create a copy of a management class within the same policy set.
The server copies the following information to the new management
class:
- Management class description
- Copy groups defined to the management class
- Any attributes for managing files for Tivoli® Storage Manager for Space Management clients
Privilege class
To issue this command, you must have system privilege, unrestricted policy privilege, or restricted policy privilege for the policy domain to which the new management class belongs.
Syntax
>>-COPy MGmtclass--domain_name--policy_set_name-----------------> >--current_class_name--new_class_name--------------------------><
Parameters
- domain_name (Required)
- Specifies the policy domain to which the management class belongs.
- policy_set_name (Required)
- Specifies the policy set to which the management class belongs.
- current_class_name (Required)
- Specifies the management class to copy.
- new_class_name (Required)
- Specifies the name of the new management class. The maximum length of this name is 30 characters.
Example: Copy a management class to a new management class
Copy the management class ACTIVEFILES to a new management class, FILEHISTORY. The management class is in policy set VACATION in the EMPLOYEE_RECORDS policy domain.copy mgmtclass employee_records vacation
activefiles filehistory
Related commands
Command | Description |
---|---|
DEFINE COPYGROUP | Defines a copy group for backup or archive processing within a specified management class. |
DELETE MGMTCLASS | Deletes a management class and its copy groups from a policy domain and policy set. |
QUERY COPYGROUP | Displays the attributes of a copy group. |
QUERY MGMTCLASS | Displays information about management classes. |
QUERY POLICYSET | Displays information about policy sets. |
UPDATE COPYGROUP | Changes one or more attributes of a copy group. |
UPDATE MGMTCLASS | Changes the attributes of a management class. |