Linux operating systemsWindows operating systems

Vmbackuptype

Use the vmbackuptype option with the backup VM or restore VM command to specify to specify the type of virtual machine backup or restore to complete. You can also use this option on query VM commands to filter the query results to include only virtual machines that were backed up by a specific backup type. For examples, see the query VM command description.

Linux operating systems

You can specify a VMware full VM backup.

Windows operating systems

You can specify a VMware file-level backup, a VMware full VM backup, or a Hyper-V full VM backup.

Supported Clients

Linux operating systemsThis option is valid on Linux clients that are installed on a vStorage backup server. The server can also define this option.

Windows operating systemsThis option is valid on Windows clients that are installed on either a vStorage backup server or on a Microsoft Hyper-V system. The server can also define this option.

Options File

Linux operating systemsPlace this option in the dsm.sys file within a server stanza.

Windows operating systemsPlace this option in the client options file (dsm.opt), or on the command line.

Linux operating systems

Syntax

Read syntax diagramSkip visual syntax diagram
                 .-FUllvm-.   
>>-VMBACKUPType--+--------+------------------------------------><

Linux operating systems

Parameters

FUllvm
Specify this value to run a traditional full VM backup of a VMware virtual machine. This is the default backup type for Linux clients.
Windows operating systems

Syntax

Read syntax diagramSkip visual syntax diagram
                 .-FUllvm-----.   
>>-VMBACKUPType--+-FIle-------+--------------------------------><
                 '-HYPERVFULL-'   

Windows operating systems

Parameters

FUllvm
Specify this value to run a traditional full VM backup of a VMware virtual machine. This is the default backup type for Windows clients that run on Windows server systems, where the Hyper-V server role is not enabled. Contrast with vmbackuptype=hypervfull.
FIle
Specify this value to perform a file-level backup of a VMware virtual machine. You must be licensed to use Tivoli® Storage Manager for Virtual Environments: Data Protection for VMware to use this option.
HYPERVFULL
Specifies that you are backing up one or more Hyper-V virtual machines. If you enable the Hyper-V server role, this value is the default backup type. If you specify vmbackuptype=hypervfull, all of the options that are associated with backing up VMware files from a vStorage backup server are ignored (for example: VMCHOST, VMCUSER, VMCPW, VMFULLNODELETE).

Examples

Options file:
VMBACKUPT full
Command line:
Windows operating systemsdsmc backup vm vm1 -VMBACKUPT=file -vmchost=virtctr -vmcuser=virctr_admin -vmcpw=xxxxx

Performs a file-level virtual-machine backup of vm1.example.com, using the VMware VirtualCenter machine virtctr.example.com, to the Tivoli Storage Manager server, using machine name vm1.

Windows operating systemsdsmc backup vm -VMBACKUPT=file -vmchost=vmsrv1 -vmcuser=root -vmcpw=xxxxx

Performs a file-level virtual-machine backup of vm1.example.com and vm2.example.com using the VMware ESX Server machine vmserv1.example.com, to the Tivoli Storage Manager server, using machine names vm1 and vm2.

Windows operating systemsdsmc backup vm -domain.vmfile=vm1[xxxxxxxx]

Performs a file-level virtual-machine backup of vm1 with the IP address of VM, using the VMware ESX Server machine vmserv1.example.com, to the Tivoli Storage Manager server with machine name vm1.

Linux operating systemsWindows operating systemsdsmc backup vm vm1 -VMBACKUPT=full -vmchost=virtctr -vmcuser=virctr_admin -vmcpw=xxxxx

Performs a full virtual-machine backup of vm1.example.com using the VMware VirtualCenter machine virtctr.example.com, to the Tivoli Storage Manager server, using machine name vm1.

Windows operating systemsdsmc backup vm -VMBACKUPT=hypervfull -vmlist="VM 1,VM 2"

Performs a full virtual-machine backup of Hyper-V virtual machines named "VM 1" and "VM 2", to the Tivoli Storage Manager server.