Include.vmdisk
The INCLUDE.VMDISK option includes a virtual machine (VM) disk in backup operations. If you do not specify one or more disk labels, all disks in the VM are backed up.
This option is available only if you are using the IBM Spectrum Protect for Virtual Environments licensed product. For more information about this option, see the IBM Spectrum Protect for Virtual Environments product documentation on IBM® Knowledge Center at http://www.ibm.com/support/knowledgecenter/SSERB6/welcome.
The INCLUDE.VMDISK option specifies the label of a VM disk to be included in a backup vm operation. If you include a disk on the backup vm command, the command-line parameters override any INCLUDE.VMDISK statements in the options file.
INCLUDE.VMDISK for VMware virtual machines
Use the INCLUDE.VMDISK option to include a VMware virtual machine in backup operations.
Supported clients
This option can be used with supported x86_64 Linux clients.
This option can be used with supported Windows clients.
Options file
Set this option in the client options file. Command line parameters override statements in the options file.
Syntax for VMware virtual machines
Parameters
- vmname
- Specifies the name of the virtual machine that contains a disk that you want to include in a Backup VM operation. The name is the virtual machine display name. You can specify only one virtual machine name on each INCLUDE.VMDISK statement. Specify additional INCLUDE.VMDISK statements for each virtual machine disk to include.
- vmdk_label
- Specifies the disk label of the disk that you want to include. Wildcard characters are not allowed. Use the Backup VM command with the -preview option to determine the disk labels of disks in a given virtual machine. See "Backup VM" for the syntax.
Examples
- Options file
- Assume that a virtual machine named vm1 contains four disks, labeled Hard Disk 1, Hard Disk 2,
Hard Disk 3, and Hard Disk 4. To include only disk 2 in a Backup VM operations,
specify the following in the options
file:
INCLUDE.VMDISK "vm1" "Hard Disk 2"
- Command line
- Include a single disk when backing up
vm1:
dsmc backup vm "vm1:vmdk=Hard Disk 1"