Scenario: Excluding four disks for backup processing

Use the exclude.vmdisk and domain.vmfull options to exclude 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

  1. Start a data mover command-line session:
    • Windows operating systemsOpen a command prompt and change to the data mover installation directory. For example:
      cd "C:\Program Files\IBM\StorageProtect\baclient"
    • Linux operating systemsOpen a terminal window and change to the data mover installation directory. For example:
      cd /opt/tivoli/tsm/client/ba/bin
  2. Use the exclude.vmdisk statement to back up disks Hard Disk 1 and Hard Disk 2.
    For example:
    EXCLUDE.VMDISK vm5_fin_com "Hard Disk 3"
    EXCLUDE.VMDISK vm5_fin_com "Hard Disk 4"
  3. Issue the backup command:
    dsmc backup vm vm5_fin_com
    Because an exclude disk statement is specified, this statement implies that only disks specifically excluded are not backed up. As a result, Hard Disk 3 and Hard Disk 4 are not backed up.
  4. Use the domain.vmfull statement to back up disks Hard Disk 3 and Hard Disk 4:
    For example:
    DOMAIN.VMFULL "vm5_fin_com:vmdk=Hard Disk 3:vmdk=Hard Disk 4"
  5. Issue the backup command:
    dsmc backup vm vm5_fin_com
    Hard Disk 3 and Hard Disk 4 are not backed up.