This is an archive version of the document. To get the most up-to-date information, see the current version.

Start-VBRViComputerInstantRecovery

Short Description

Starts instant recovery of machines to the VMware infrastructure.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Start-VBRViComputerInstantRecovery [-RestorePoint] <COib> -Server <CHost> [-RestoredVMName <string>] [-VMFolder <CViFolderItem>] [-ResourcePool <CViResourcePoolItem>] [-SourceNetwork <VBRComputerNetworkInfo[]>] [-TargetNetwork <IVBRServerNetworkInfo[]>] [-GenerateNewSystemUUID] [-CacheDatastore <VBRViDatastore>] [-StoragePolicy <VBRViStoragePolicy>] [-PowerOnAfterRestoring] [-ConnectVMToNetwork] [-Reason <string>] [-Credentials <CCredentials>] [-RunAsync] [-EnableAntivirusScan] [-EnableEntireVolumeScan] [-VirusDetectionAction <VBRVirusDetectionAction> {DisableNetwork | AbortRecovery}] [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet starts an instant recovery of machines to the VMware infrastructure. You can restore the following types of machines:

  • MIcrosoft Windows computers backed up by the Veeam Agent.
  • Linux computers backed up by the Veeam Agent.
  • Hyper-V workloads to restore them to VMware vSphere VMs.

To restore Hyper-V workloads to Hyper-V VMs, run the Start-VBRHvInstantRecovery cmdlet.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

RestorePoint

Specifies a restore point of a machine. The cmdlet will use the specified restore point to recover a machine.

Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet.

True

0

True (ByValue, ByPropertyName)

Server

For restore to another location.

Specifies the target ESXi host. The cmdlet will restore a machine to this ESXi host.

Note: You must not specify a vCenter Server in this parameter.

Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet.

True

Named

False

VMFolder

For restore to another location.

Specifies a folder on the ESXi host. The cmdlet will restore a machine to this folder.

Accepts the CViFolderItem object. To get this object, run the Find-VBRViFolder cmdlet.

False

Named

False

RestoredVMName

Specifies a name of the restored machine. The cmdlet will restore the machine with this name.

Note: The VM name must not contain space characters.

Default: The original machine name.

String

False

Named

False

ResourcePool

For restore to another location.

Specifies a resource pool on the ESXi host. The cmdlet will restore a machine to this resource pool.

Accepts the CViResourcePoolItem object. To get this object, run the Find-VBRViResourcePool cmdlet.

False

Named

False

SourceNetwork

For restore to another location.

Specifies the source site network. Veeam Backup & Replication will map it to the target network.

Accepts the VBRComputerNetworkInfo[] object. To get this object, run the Get-VBRComputerNetworkInfo cmdlet.

False

Named

False

TargetNetwork

For restore to another location.

Specifies the target site network. Veeam Backup & Replication will map it with the source network.

Accepts the IVBRServerNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet.

False

Named

False

GenerateNewSystemUUID

Defines that the cmdlet will generate a new system UUID for the restored machine.

If you do not provide this parameter, the cmdlet will keep the existing system UUID of the restored machine.

SwitchParameter

False

Named

False

CacheDatastore

Specifies a datastore to keep redo logs for the restored machine.

Note: If you do not specify this parameter, Veeam Backup & Replication will store redo logs on the vPower NFS server.

Accepts the VBRViDatastore object. To get this object, run the Find-VBRViDatastore cmdlet.

False

Named

False

StoragePolicy

Specifies the VMware storage policy profiles. The cmdlet will restore the specified VMware storage policy associated with the restored Veeam Agent computer.

Note: Veeam Backup & Replication restores the storage policy only if you restore the Veeam Agent computer to the original location.

Accepts the VBRViStoragePolicy object. To get this object, run the Find-VBRViStoragePolicy cmdlet.

False

Named

False

PowerOnAfterRestoring

Defines that the cmdlet will power on the restored machine.

If you do not provide this parameter, you will need to power up a restored machine manually.

SwitchParameter

False

Named

False

ConnectVMToNetwork

Defines that the cmdlet will restore a machine with initial network settings.

SwitchParameter

False

Named

False

Reason

Specifies a reason for performing instant recovery of a machine.

String

False

Named

False

Credentials

Used to access the backups of a machine that is stored on shared folders.

Specifies the credentials you want to use to authenticate with the shared folder.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet

False

Named

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

EnableAntivirusScan

Defines that the cmdlet will perform the secure restore. Veeam Backup & Replication will trigger the antivirus software to scan the selected machine before the restore.

SwitchParameter

False

Named

False

EnableEntireVolumeScan

For the secure restore option.

Defines that the antivirus will continue to scan a machine after the first virus threat is found. Use this option if you want to get the report on all virus threats.

SwitchParameter

False

Named

False

VirusDetectionAction

For secure restore.

Specifies the secure restore action when the infection is detected.

  • DisableNetwork: use this option if you want to restore a machine with disabled network adapters (NICs).
  • AbortRecovery: use this option if you want to cancel the restore session.

VBRVirusDetectionAction

False

Named

False

Force

Defines that the cmdlet will perform restore of a machine even if the geographical location of the repository where backups of a machine reside and the target host location does not match.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

This cmdlet returns the InstantRecovery object that contains settings of a session that runs to perform instant recovery of machines to the VMware infrastructure.

Examples

Start-VBRViComputerInstantRecoveryExample 1. Performing Instant Recovery of Veeam Agent Computer using Specific Restore Point

Start-VBRViComputerInstantRecoveryExample 2. Performing Instant Recovery of Specific Veeam Agent Computer using Latest Restore Point

Related Commands