Start-VBRvCloudInstantRecovery
Short Description
Starts an instant recovery of Cloud Director VMs
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBRvCloudInstantRecovery [-RestorePoint] <COib> [-vApp <CVcdVappItem>] [-VmName <String>] [-Datastore <CVcdDatastoreRestoreInfo>] [-PowerOn] [-Reason <String>] [-RunAsync] [-EnableTagRestore] [-EnableAntivirusScan] [-EnableYARAScan] [-YARAScanRule <String>] [-EnableEntireVolumeScan] [-VirusDetectionAction <VBRVirusDetectionAction>] [<CommonParameters>] |
Detailed Description
This cmdlet performs instant recovery of the selected Cloud Director VM. With this cmdlet, you can perform the following recover scenarios:
- Restore to the original location
- Restore to another vApp
- Secure restore of the selected restore point
To restore the VM to another vApp specify the required vApp object for the vApp parameter. To perform restore to the original location, omit this parameter.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Datastore |
Specifies the datastore you want to connect the restored VM to. If omitted, the VM will be connected to the original datastore. Note: If you restore the VM to another vApp, make sure that the datastore is available in the Organization Cloud Director hosting the vApp to which the VM is restored.
Accepts the |
|
False |
Named |
False |
|
EnableAntivirusScan |
Defines that the cmdlet will perform secure restore. Veeam Backup & Replication will trigger the antivirus software to scan selected VMs before the restore. |
|
False |
Named |
False |
|
EnableEntireVolumeScan |
For secure restore. Enables the antivirus scan for all volumes of the infected restore point. Use this option if you want to perform secure restore with the following options:
|
|
False |
Named |
False |
|
EnableTagRestore |
Defines that Veeam Backup & Replication will restore VMware tags. |
|
False |
Named |
False |
|
EnableYARAScan |
Enables the YARA scan for the selected VMs.
Use the |
|
False |
Named |
False |
|
PowerOn |
Defines that the VM will be powered up right after it is restored. Otherwise you will need to power up the VM manually. |
|
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 |
|
RestorePoint |
Specifies the restore point of 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 |
|
vApp |
Specifies the vApp that you want to restore the VM to. Note: This parameter is required if you restore the VM to a new location, or with different settings. If you do not specify this parameter, Veeam Backup & Replication restores the VM with its initial settings and to its original location.
Accepts the |
|
False |
Named |
False |
|
VirusDetectionAction |
For secure restore. Specifies secure restore action when the virus threat is detected.
|
|
False |
Named |
False |
|
VmName |
Specifies the name under which the VM should be restored and registered. By default, the original name of the VM is used. If you are restoring the VM to the same vApp where the original VM is registered and the original VM still resides there, you must change the VM name. Note: This parameter applies only if you restore the VM to a new location or with different settings. |
|
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
VBRvCloudInstantRecoveryObjectInstantRecovery
Examples
Example 1. Starting Instant Recovery of Cloud VM
|
The example shows how to start instant recovery of the Cloud Director VM.
Perform the following steps:
|
Example 2. Starting Instant Recovery of Cloud VM to Specific Datastore
|
The example shows how to start instant recovery of the Cloud Director VM. The job will run with the following settings:
Perform the following steps:
|
Example 3. Starting Secure Restore of Selected Cloud VM
|
The example shows how to run the secure restore of the selected Cloud Director VM. The job will run with the following settings:
Perform the following steps:
|
Related Commands
Get-VBRRestorePointReturns restore points.Find-VBRvCloudEntityLooks for Cloud Director entities.Find-VBRViDatastoreLooks for VMware datastores.