Start-VBRViComputerInstantRecovery
Short Description
Starts instant recovery of machines to the VMware infrastructure.
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] [-EnableYARAScan] [-YARAScanRule <String>] [-EnableEntireVolumeScan] [-VirusDetectionAction <VBRVirusDetectionAction>] [-Force] [-EnableClusterWideMount] [<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.
Run the
Start-VBRHvInstantRecoveryStarts Hyper-V Instant Recovery. cmdlet to restore Hyper-V workloads to Hyper-V VMs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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 |
|
False |
Named |
False |
|
ConnectVMToNetwork |
Defines that the cmdlet will restore a machine with initial network settings. |
|
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 |
|
False |
Named |
False |
|
EnableAntivirusScan |
Enables the option to perform the secure restore. Veeam Backup & Replication will trigger the antivirus software to scan the selected machine before the restore. |
|
False |
Named |
False |
|
EnableClusterWideMount |
Defines that the cmdlet will mount the vPowerNFS datastore to all ESXi hosts in the target cluster. |
|
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. |
|
False |
Named |
False |
|
EnableYARAScan |
Enables the YARA scan for the selected VMs.
Use the |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will perform restore of a machine even if the geographic location of the repository where backups of a machine reside and the target host location does not match. |
|
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. |
|
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. |
|
False |
Named |
False |
|
Reason |
Specifies a reason for performing instant recovery of a machine. |
|
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 |
|
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. |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point of a machine. The cmdlet will use the specified restore point to recover a machine.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
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 |
|
True |
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 |
|
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 |
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 |
|
False |
Named |
False |
|
VirusDetectionAction |
For secure restore. Specifies the secure restore action when the infection is detected.
|
|
False |
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 |
|
False |
Named |
False |
|
YARAScanRule |
Specifies the YARA rule. Veeam Backup & Replication will scan VMs with this rule.
Veeam Backup & Replication searches for YARA rules in the
To use a YARA rule, you must specify its name and extension. Veeam Backup & Replication accepts only |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see 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
Example 1. Performing Instant Recovery of Veeam Agent Computer using Specific Restore Point
|
This example shows how to perform instant recovery of a Veeam Agent computer. The Veeam Agent computer will be restored to the
Perform the following steps:
|
Example 2. Performing Instant Recovery of Specific Veeam Agent Computer using Latest Restore Point
|
This example shows how to perform instant recovery of the
Perform the following steps:
|
Related Commands
Get-VBRBackupReturns backups.Get-VBRRestorePointReturns restore points.Get-VBRServerReturns hosts connected to the backup infrastructure.Sort-ObjectSelect-Object