Schedgroup

The schedgroup option assigns a schedule to a group.

An example of the use of this option is to group multiple daily local backup schedules with a single server backup schedule.

Supported Clients

This option is valid for all clients as a command-line option for the server DEFINE SCHEDULE command. This option cannot be added to a client option set that is on the IBM Spectrum Protect™ server.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-SCHEDGROUP-- --schedule_group_name--------------------------><

Parameters

schedule_group_name
Specifies the name of the schedule group. You can specify up to 30 characters for the name.
For a list of valid characters that you can use in the schedule group name, see Naming IBM Spectrum Protect objects

Examples

The following example commands group schedules SCHED_A_1, SCHED_A_2, SCHED_A_3, and SCHED_A_4 in to schedule group GROUP_A.
Command line:

This example shows a local backup at 6 AM:

define schedule standard SCHED_A_1 Type=Client ACTion=Backup SUBACTion=VM OPTions='-vmfulltype=vstor -vmbackuptype=fullvm -vmbackuplocation=local -domain.vmfull="SCHEDULE-TAG" -asnodename=DC_SARTRE_WB -SCHEDGROUP=GROUP_A' STARTDate=02/06/2017 STARTTime=06:00:00 SCHEDStyle=Enhanced DAYofweek=ANY

This example shows a local backup at 12 PM:

define schedule standard SCHED_A_2 Type=Client ACTion=Backup SUBACTion=VM OPTions='-vmfulltype=vstor -vmbackuptype=fullvm -vmbackuplocation=local -domain.vmfull="SCHEDULE-TAG" -asnodename=DC_SARTRE_WB -SCHEDGROUP=GROUP_A' STARTDate=02/06/2017 STARTTime=12:00:00 SCHEDStyle=Enhanced DAYofweek=ANY

This example shows a local backup at 6 PM:

define schedule standard SCHED_A_3 Type=Client ACTion=Backup SUBACTion=VM OPTions='-vmfulltype=vstor -vmbackuptype=fullvm -vmbackuplocation=local -domain.vmfull="SCHEDULE-TAG" -asnodename=DC_SARTRE_WB -SCHEDGROUP=GROUP_A' STARTDate=02/06/2017 STARTTime=18:00:00 SCHEDStyle=Enhanced DAYofweek=ANY

This example shows a local and server backup at midnight:

define schedule standard SCHED_A_4 Type=Client ACTion=Backup SUBACTion=VM OPTions='-vmfulltype=vstor -vmbackuptype=fullvm -vmbackuplocation=both -domain.vmfull="SCHEDULE-TAG" -asnodename=DC_SARTRE_WB -SCHEDGROUP=GROUP_A' STARTDate=02/06/2017 STARTTime=00:00:00 SCHEDStyle=Enhanced DAYofweek=ANY

Tip: Ensure that each schedule in the group can complete before the next schedule is set to start.
This option is valid only on the initial command line. It is not valid in interactive mode.