Tivoli Header

Administrator's Reference


COPY SCHEDULE (Copy a Client or an Administrative Command Schedule)

Use this command to create a copy of a schedule.

The COPY SCHEDULE command takes two forms, depending on whether the schedule applies to client operations or administrative commands. The syntax and parameters for each form are defined separately.

COPY SCHEDULE -- Client

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

>>-COPy SCHedule--current_domain_name--current_sched_name------->
 
                    .-current_sched_name-.
>--new_domain_name--+--------------------+---------------------->
                    '-new_sched_name-----'
 
   .-REPlace--=--No------.
>--+---------------------+-------------------------------------><
   '-REPlace--=--+-No--+-'
                 '-Yes-'
 
 

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.

Examples

Task

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.

Command:
copy schedule employee_records weekly_backup 
prog1 weekly_back2

COPY SCHEDULE -- Administrative Command

Use the COPY SCHEDULE command to create a copy of an administrative command schedule.

Privilege Class

To copy an administrative command schedule, you must have system privilege.

Syntax

>>-COPy SCHedule--current_sched_name--new_sched_name------------>
 
                            .-REPlace--=--No------.
>--Type--=--Administrative--+---------------------+------------><
                            '-REPlace--=--+-No--+-'
                                          '-Yes-'
 
 

Parameters

current_schedule_name (Required)
Specifies the name of the schedule you want to copy.

new_schedule_name (Required)
Specifies the name of the new schedule. You can specify up to 30 characters for the name.

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

Type=Administrative
Specifies that an administrative command schedule is to be copied.

REPlace
Specifies whether to replace an administrative command schedule. The default is NO. The values are:

No
Specifies that an administrative command schedule is not replaced.

Yes
Specifies that an administrative command schedule is replaced.

Examples

Task

Copy the administrative command schedule, DATA_BACKUP and name the schedule DATA_ENG. If there is already a schedule with this name, replace it.

Command:
copy schedule data_backup data_eng 
type=administrative replace=yes

Related Commands


Table 38. Commands Related to COPY SCHEDULE

Command Description
DEFINE ASSOCIATION Associates clients with a schedule.
DEFINE SCHEDULE Defines a schedule for a client operation or an administrative command.
DELETE SCHEDULE Deletes a schedule from the database.
QUERY SCHEDULE Displays information about schedules.
UPDATE SCHEDULE Changes the attributes of a schedule.


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