We have tried to choose reasonable defaults in the configuration file (C:\Program Files\Tivoli\TSM\baclient\tsm4ve.opt). However, there are some configuration options that you may want to adjust to suit your setup. In particular, these are:
DOMAIN.VMFULL
This sets the list of VMs that you want to back up. By default all Hyper-V virtual machines are backed up that are known to the Hyper-V host. To exclude virtual machines vm1, vm2 and vm3 from the backups, give them as the value for -VM, separated by commas:
DOMAIN.VMFULL all-vm;-VM=vm1,vm2,vm3
Note that if the VM name contains spaces, it should not be surrounded by quotation marks. There should also be no spaces between VM names and the commas. This applies to all DOMAIN.VMFULL options.
To specify explicitly the VMs to back up, use the VM option. For example to back up only vm1, vm2 and vm3, use:
DOMAIN.VMFULL vm=vm1,vm2,vm3
EXCLUDE.VMDISK
EXCLUDE.VMDISK excludes the specified virtual disk from backup. For example, to exclude a specific IDE virtual disk of virtual machine "vmname":
EXCLUDE.VMDISK vmname "IDE 0 1"
The second argument is the virtual disk's location, which must begin with "SCSI" or "IDE" followed by the controller number and device location number. Use the 'backup vm' command with the '-preview' option to determine the location of disks in a given VM:
Protect> backup vm Win2012_restored -preview
ANS2564I Gathering virtual machine information...
Backup VM command started. Total number of virtual machines to process: 1
1. VM Name: Win2012_restored
Domain Keyword: Win2012_restored
Mode: Incremental Forever - Incremental
Target Node Name: SN-HYPERV1.IT
Data Mover Node Name: SN-HYPERV1.IT
Cluster Resource: No
Disk[1]
Name: \\hfsvm-tsm-proxy\d$\Win2012_restored\Win2012_restored\Virtual Hard Disks\WinServ12_gen1.vhdx
Capacity: 64.00 GB
Size: 18.07 GB
Status: included
Disk Type: VHDX
Number of Subdisk: 0
Controller Location: IDE 0 0
Disk[2]
Name: \\hfsvm-tsm-proxy\d$\win2012_restored\win2012_restored\virtual hard disks\disk2.vhdx
Capacity: 16.00 GB
Size: 164.00 MB
Status: included
Disk Type: VHDX
Number of Subdisk: 0
Controller Location: IDE 0 1
INCLUDE.VMDISK
INCLUDE.VMDISK includes specific virtual disks in the backup of a virtual machine and creates an implicit exclude for all other virtual disks on that virtual machine. If you do not specify one or more disk labels, all disks in the VM are backed up. For example, if you have a virtual machine named "vmname" with four virtual disks ("IDE 0 0" to "IDE 0 3 "), the following would back up "IDE 0 0" and "IDE 0 1" of "vmname" but not "IDE 0 2" and "IDE 0 3":
INCLUDE.VMDISK vmname "IDE 0 0"
INCLUDE.VMDISK vmname "IDE 0 1"
The second argument is the virtual disk's location, which must begin with "SCSI" or "IDE" followed by the controller number and device location number. Use the 'backup vm' command with the '-preview' option to determine the location of disks in a given VM (see example output of this command in the section above).