COPY SCHEDULE (Create a copy of a schedule for client operations)

Use the COPY SCHEDULE command to create a copy of a schedule for client operations. You can copy a schedule within a policy domain or from one policy domain to another policy domain. Use the DEFINE ASSOCIATION command to associate the new schedule with the client nodes.

Privilege class

To copy a client schedule, you must have system privilege, unrestricted policy privilege, or restricted policy privilege for the policy domain to which you are copying the schedule.

Syntax

Read syntax diagramSkip visual syntax diagramCOPy SCHedule current_domain_namecurrent_sched_name new_domain_namecurrent_sched_namenew_sched_nameREPlace=NoREPlace=NoYes

Parameters

current_domain_name (Required)
Specifies the name of the policy domain that contains the schedule you want to copy.
current_sched_name (Required)
Specifies the name of the schedule you want to copy.
new_domain_name (Required)
Specifies the name of a policy domain to which you want to copy the new schedule.
new_sched_name
Specifies the name of the new schedule. You can specify up to 30 characters for the name.

If you do not specify this name, the name of the original schedule is used.

If the schedule name is already defined in the policy domain, you must specify REPLACE=YES, or the command fails.

REPlace
Specifies whether to replace a client schedule. The default is NO. The values are:
No
Specifies that a client schedule is not replaced.
Yes
Specifies that a client schedule is replaced.

Example: Copy a schedule from one policy domain to another

Copy the WEEKLY_BACKUP schedule that belongs to policy domain EMPLOYEE_RECORDS to the PROG1 policy domain and name the new schedule WEEKLY_BACK2. If there is already a schedule with this name defined in the PROG1 policy domain, do not replace it.
copy schedule employee_records weekly_backup 
prog1 weekly_back2