Start-VBRvCloudInstantRecovery
Short Description
Starts an instant recovery of Cloud Director VMs
Applies to
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> {DisableNetwork | AbortRecovery}] [<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 |
---|---|---|---|---|---|
RestorePoint | Specifies the restore point of the VM. | Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet. | True | 1 | True (ByValue, |
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 CVcdVappItem object. To get this object, run the Find-VBRvCloudEntity cmdlet. | 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. | String | False | Named | False |
Datastore | Specifies the datastore you want to connect the restored VM to. If ommited, 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 CVcdDatastoreRestoreInfo object. To get this object, run the Find-VBRViDatastore cmdlet. | 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. | SwitchParameter | 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. | String | 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 secure restore. Veeam Backup & Replication will trigger the antivirus software to scan selected VMs before the restore. | SwitchParameter | False | Named | False |
EnableYARAScan | Enables the YARA scan for the selected VMs. Use the YARAScanRule parameter to specify the YARA rule to be used. | SwitchParameter | 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 YaraRules folder. The default path is: C:\Program Files\Veeam\Backup and Replication\Backup\YaraRules. To use a YARA rule, you must specify its name and extension. Veeam Backup & Replication accepts only .yar and .yara extensions. | String | 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:
| SwitchParameter | False | Named | False |
VirusDetectionAction | For secure restore. Specifies secure restore action when the virus threat is detected.
| VBRVirusDetectionAction | False | Named | False |
EnableTagRestore | Defines that Veeam Backup & Replication will restore VMware tags. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
- VBRvCloudInstantRecoveryObject
- InstantRecovery
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:
The Get-VBRRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the second restore point in the array). |
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:
The Get-VBRRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the second restore point in the array).
|
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