Use the include.vmdisk and domain.vmfull options to
include four virtual machine disks for backup services.
About this task
In the following examples, virtual machine
vm5_fin_com contains four
disks:
Hard Disk 1
Hard Disk 2
Hard Disk 3
Hard Disk 4
Procedure
-
Start a data mover command-line session:
-
Use the include.vmdisk statement to back up disks Hard Disk 1 and Hard Disk
2.
For
example:
INCLUDE.VMDISK vm5_fin_com "Hard Disk 1"
INCLUDE.VMDISK vm5_fin_com "Hard Disk 2"
-
Issue the backup command:
dsmc backup vm vm5_fin_com
Because an include disk statement is specified, this statement implies that only disks
specifically included are backed up. As a result, Hard Disk 3 and Hard Disk 4 are not backed
up.
-
Use the domain.vmfull statement to back up disks Hard Disk 1 and Hard Disk
2:
For
example:
DOMAIN.VMFULL "vm5_fin_com:vmdk=Hard Disk 1:vmdk=Hard Disk 2"
-
Issue the backup command:
dsmc backup vm vm5_fin_com
Hard Disk 3 and Hard Disk 4 are not backed up.
You can include or exclude one or more
disks with a
domain.vmfull statement. You can specify include and exclude on the
same statement. For example, the following statement is
valid:
domain.vmfull "vm5_fin_com:vmdk=Hard Disk 1:-vmdk=Hard Disk 2:vmdk=Hard
Disk 3:vmdk=Hard Disk 4"
If
an include statement is present, it causes all other disks in the virtual machine to be excluded
from a backup operation, unless the other disks are also specified with an include statement. For
example, the following statement excludes all disks except for Hard Disk
1:
domain.vmfull "vm5_fin_com:vmdk=Hard Disk 1"