recover vm
Recovers a disk or volume backup onto a new or existing virtual machine.
The recover vm
command can be executed by the following agents:
- Agent for VMware recovers a disk (volume) backup to a new or existing ESX(i) virtual machine.
- Agent for Hyper-V recovers a disk (volume) backup to a new or existing Hyper-V virtual machine.
A virtual machine must be powered off during the recovery to this machine. The target machine located on an ESX(i) or Hyper-V host will be powered off without a prompt. Please be sure to specify the correct machine.
Parameters
What to recover
--loc=
<path>
--credentials=
<user name>,
<password>,encrypted
--arc=
<archive name>
--password=
<password>,encrypted
--backup=
<backup ID>
--disk=
<disk numbers>
--volume=
<volume number>
Where to recover
- If you want to recover to an existing virtual machine:
{--vmid=
<virtual machine ID>|--vmname=
<virtual machine name>|--vmconfig=
<path>}
- If you want to create a new virtual machine on an ESX(i) or Hyper-V host:
--vmname=
<virtual machine name>--vmstorage=
<path>{--vmserver_name=
<server name>|--vmserver_id=
<server GUID>}
--vmram=
<memory size>--vmcpu=
<number of CPUs>--vmdisk_size=
<disk sizes>--vmdisk_type=
<disk types>--vmdisk_provisioning=
<disk provisioning types>
--target_disk=
<disk number>
--target_volume=
<volume number>
--start=
<offset>{s|kb|mb|gb}
--size=
<volume size>{s|kb|mb|gb}
How to recover
--ext2_3
--fat16_32
--preserve_mbr
--recovery_mode={auto|incremental_with_snapshot|incremental|full}
--recreate_archive_meta={true|false}
--type={active|primary|logical}
--use_all_space
Recovery options
--force_yes
--power_on
--retry_count=
<number of attempts>
--retry_delay=
<delay>
--silent_mode={on|off}
--use_registry_defaults
General parameters
--log=
<full path>
--log_format={structured|unstructured}
--progress
{-f|--file_params}=
<full local path>
Access to a remote machine
--host=
<IP address or hostname>
--credentials=
<user name>,
<password>,encrypted
Access to a specific service within a machine