Linux operating systemsWindows operating systems

Include.vmdisk

The INCLUDE.VMDISK option includes a VMware virtual machine disk in backup operation. If you do not specify one or more disk labels, all disks in the virtual machine are backed up.

This option is available only if you are using the Tivoli® Storage Manager for Virtual Environments licensed product. For additional information about this option, see the Tivoli Storage Manager for Virtual Environments product documentation on IBM Knowledge Center at http://www.ibm.com/support/knowledgecenter/SS8TDQ/welcome.

The INCLUDE.VMDISK option specifies the label of a virtual machine's 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.

Supported clients

Linux operating systemsThis option can be used with supported x86_64 Linux clients.

Windows operating systemsThis 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

Read syntax diagramSkip visual syntax diagram
>>-INCLUDE.VMDISK--vmname-- -vmdk_label------------------------><

Parameters

vmname
Specifies the name of the virtual machine that contains a disk that you want to include in a Backup VM operation. 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.
The virtual machine name can contain an asterisk (*), to match any character string, and question mark (?) to match any one character. Surround the VM name with quotation marks (" ") if the VM name contains space characters.
Tip: If the virtual machine name contains special characters, such as bracket characters ([ or ]), the virtual machine name might not be correctly matched. If a virtual machine name uses special characters in the name, you might need to use the question mark character (?) to match the special characters in the VM name

For example, to include Hard Disk 1 in the backup of a virtual machine named "Windows VM3 [2008R2]", use this syntax in the options file: INCLUDE.VMDISK "Windows VM3 ?2008R2?" "Hard Disk 1"

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"
Include disks 2 and 3 in Backup VM operations:
INCLUDE.VMDISK "vm1" "Hard Disk 2"
INCLUDE.VMDISK "vm1" "Hard Disk 3"
Command line
Include a single disk when backing up vm1:
dsmc backup vm "vm1:vmdk=Hard Disk 1"
Include disk 2 and disk 3 on vm1:
dsmc backup vm "vm1:vmdk=Hard Disk 2:vmdk=Hard Disk 3"