Virtual machine configuration
Use the parameters described in this section with the recover vm
command when creating a new virtual machine on an ESX(i) or Hyper-V host.
vmram
--vmram=<memory size>{mb|gb}
Memory size of the new virtual machine. If the parameter is not specified, the value is as follows:
- If a virtual machine was backed up, the memory size of the backed-up machine.
- If a physical machine was backed up, the default setting of the virtualization server.
Examples:
--vmram=512mb
--vmram=1gb
vmcpu
--vmcpu=<number of CPUs>
Number of virtual processors of the new virtual machine. If the parameter is not specified, the value is 1.
Virtual disk parameters
If you specify one of the --vmdisk_size
, --vmdisk_type
, and --vmdisk_provisioning
parameters, you must specify all of them.
vmdisk_size
--vmdisk_size=<disk sizes>
Sizes of the virtual disks to be created. The software assigns each value specified in the --vmdisk_size
parameter to the corresponding disk specified in the --disk
parameter. If the number of values of the --disk
and --vmdisk_size
parameters differ, the command will fail.
You can specify values in megabytes and gigabytes.
Example:
--vmdisk_size=100gb,512mb,120gb
If the parameter is not specified, the software will reproduce the sizes of the original machine's disks.
vmdisk_type
--vmdisk_type=<disk types>
Interface types of the virtual disks to be created. The available values are ide
and scsi
. The software assigns each value specified in the --vmdisk_type
parameter to the corresponding disk specified in the --disk
parameter. If the number of values of the --disk
and --vmdisk_type
parameters differ, the command will fail.
Example:
--vmdisk_type=ide,scsi,scsi
If the parameter is not specified, the software assigns the following values.
-
On an ESX(i) host:
- If the backed-up machine has no IDE disks, the system disk is assigned the
scsi
value. - If the backed-up machine has at least one IDE disk, the system disk is assigned the
ide
value.
- If the backed-up machine has no IDE disks, the system disk is assigned the
- On a Hyper-V host, the system disk is assigned the
ide
value. - A non-system disk is assigned the type of the corresponding disk of the original machine.
vmdisk_provisioning
--vmdisk_provisioning=<disk provisioning types>
Provisioning types of the virtual disks to be created. The available values are thick
and thin
. The software assigns each value specified in the --vmdisk_provisioning
parameter to the corresponding disk specified in the --disk
parameter. If the number of values of the --disk
and --vmdisk_provisioning
parameters differ, the command will fail.
Example:
--vmdisk_provisioning=thin,thin,thick
If the parameter is not specified, the software assigns the following values.
- If a physical machine was backed up, all disks have the
thick
provisioning type. - If a virtual machine was backed up, the software reproduces the provisioning types of the original machine's disks.