COPY POLICYSET (Copy a policy set)
Use this command to copy a policy set (including the ACTIVE policy set) within the same policy domain.
The server copies the following information to the new
policy set:
- Policy set description
- Management classes in the policy set (including the default management class, if assigned)
- Copy groups in each management class
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 policy set belongs.
Parameters
- domain_name (Required)
- Specifies the policy domain to which the policy set belongs.
- current_set_name (Required)
- Specifies the policy set to copy.
- new_set_name (Required)
- Specifies the name of the new policy set. The maximum length of this name is 30 characters.
Example: Copy a policy set to a new policy set
Copy the policy set VACATION to the new policy set HOLIDAY in the EMPLOYEE_RECORDS policy domain.copy policyset employee_records vacation holiday
Related commands
Command | Description |
---|---|
ACTIVATE POLICYSET | Validates and activates a policy set. |
COPY MGMTCLASS | Creates a copy of a management class. |
DEFINE MGMTCLASS | Defines a management class. |
DELETE POLICYSET | Deletes a policy set, including its management classes and copy groups, from a policy domain. |
QUERY POLICYSET | Displays information about policy sets. |
UPDATE POLICYSET | Changes the description of a policy set. |
VALIDATE POLICYSET | Verifies and reports on conditions the administrator must consider before activating the policy set. |