Managing backup schedules for a host or cluster machine
You can select a schedule to specify how often and when to automatically back up virtual machines (VMs) in a Hyper-V host or cluster.
About this task
Schedules are set up by the IBM Storage Protect server administrator to automatically back up VMs.
To enable schedules to be used for Data Protection for Microsoft Hyper-V, the IBM Storage Protect server administrator must set up a list of schedules that are specifically for backing up Hyper-V VMs. The schedule definition must include the following parameters and options:
- The -domain.vmfull="all-vm" option must be specified in the option string. No other parameters are required for the -domain.vmfull option.
- The schedule must contain the ACTION=BACKUP and SUBACTION=VM parameters.
define schedule hyperv_domain_name schedule_name
description=schedule_description action=backup subaction=VM
starttime=NOW+00:10 schedstyle=Classic period=1 perunits=Weeks
durunits=minutes duration=10 options='-vmbackuptype=hypervfull
-mode=IFIncremental -domain.vmfull="all-vm"'-asnodename=Hyper-V_host_HV_TGT-asnodename=clustername_hv_tgtDepending on the system configuration, the node name can also contain a prefix and suffix. For more information, see Customizing node names.
TestVm1, specify the following parameters in the option
string:-domain.vmfull="all-vm;-vm=TestVM1"T include a single VM in scheduled backup operations, specify the following parameters in the option string. In the following example, the VM is named TestVM1:
-domain.vmfull="all-vm;-vm=*;vm=TestVM1"You set the backup policy for a host or cluster by associating a backup schedule with the host or cluster. You can also remove the schedule association from a host or cluster.
In a cluster environment, the selected schedule applies to all hosts in the cluster. You cannot assign a different schedule to a host that is part of a cluster.