Start-VBRInstantRecovery
Short Description
Starts VMware Instant Recovery.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBRInstantRecovery [-RestorePoint] <COib> [-VMName <String>] [-Server] <CHost> [[-ResourcePool] <CViResourcePoolItem>] [-Datastore <CViDatastoreItem>] [-StoragePolicy <VBRViStoragePolicy>] [-Folder <CViFolderItem>] [-PowerUp] [-NICsEnabled] [-Reason <String>] [-Credentials <CCredentials>] [-RunAsync] [-Force] [-SourceNetwork <VBRViNetworkInfo[]>] [-TargetNetwork <VBRViNetworkInfo[]>] [-EnableTagRestore] [-EnableAntivirusScan] [-EnableYARAScan] [-YARAScanRule <String>] [-EnableEntireVolumeScan] [-VirusDetectionAction <VBRVirusDetectionAction>] [-GenerateNewSystemUUID] [-ForceArchivedSnapshotsRestore] [-EnableClusterWideMount] [<CommonParameters>] |
Detailed Description
This cmdlet starts VM instant recovery. With this cmdlet, you can perform the following recover scenarios:
- Restore to original location
- Restore to original location with different settings
- Restore to another location
- Secure restore
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the VM.
Accepts the |
|
False |
Named |
False |
|
Datastore |
For restore to another location. Specifies the datastore to which you want to store the changes made to the VM during the Instant Recovery. Veeam Backup & Replication will redirect the redo logs to the selected datastore.
Accepts the |
|
False |
Named |
False |
|
EnableAntivirusScan |
Enables the secure restore option. Veeam Backup & Replication will trigger the antivirus software to scan selected VMs 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 secure restore. Defines that the antivirus will continue VMs scan after the first virus threat is found. Use this option if you want to get the report on all virus threats. |
|
False |
Named |
False |
|
EnableTagRestore |
Enables the option to restore VMware tags. |
|
False |
Named |
False |
|
EnableYARAScan |
Enables the YARA scan for the selected VMs.
Use the |
|
False |
Named |
False |
|
Folder |
For restore to another location. Specifies the folder where you want to locate the restored VM.
Accepts the |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will perform VM restore even if the geographic location of the repository where VM backups reside and the target host location does not match. |
|
False |
Named |
False |
|
ForceArchivedSnapshotsRestore |
Defines that the cmdlet will use archive snapshots for restore without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
GenerateNewSystemUUID |
Defines that the cmdlet will generate a new system UUID for the restored machine.
Note: Currently this parameter supports only the |
|
False |
Named |
False |
|
NICsEnabled |
If set to |
|
False |
Named |
False |
|
PowerUp |
If set to |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing restore of the selected VM. The information you provide will be saved in the session history so that you can reference it later. |
|
False |
Named |
False |
|
ResourcePool |
For restore to another location. Specifies the resource pool where you want to locate the restored VM.
Accepts the |
|
False |
2 |
False |
|
RestorePoint |
Specifies the restore point to which you want to recover the VM.
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 where you want to locate the restored VM. Note: You must not specify a vCenter Server in this parameter. |
|
True |
1 |
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 profile that must be applied to the restored virtual disks.
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 |
|
VMName |
Specifies a name you want to apply to the restored VM. By default, the original VM name is applied. |
|
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.
Examples
Example 1. Restoring VM to Original Location and Latest Restore Point
|
This example shows how to restore a VM to its original location and to the latest restore point.
Perform the following steps:
|
Example 2. Restoring VM to Another Location with Different Settings
|
This example shows how to restore the VM to another location with different settings. The job will run with the following settings:
Perform the following steps:
|
Example 3. Performing Secure VM Restore
|
The example shows how to perform secure restore of the selected VM. The restore session will run with the following settings:
Perform the following steps:
|
Related Commands
Get-VBRRestorePointReturns restore points.Get-VBRServerReturns hosts connected to the backup infrastructure.Find-VBRViResourcePoolReturns VMware resource pools.Find-VBRViDatastoreLooks for VMware datastores.Find-VBRViFolderLooks for folders on a specified ESXi host.Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication.