Start-VBRvCloudRestoreVApp
Short Description
Starts a vApp restore.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
DifferentLocationStart-VBRvCloudRestoreVApp [-RestoreParams] <CVcdVAppRestoreSettings> [-PowerUp] [-Reason <String>] [-RunAsync] [<CommonParameters>]
-
OriginalLocationStart-VBRvCloudRestoreVApp [-RestorePoint] <COib> [-PowerUp] [-Reason <String>] [-RunAsync] [<CommonParameters>]
Detailed Description
This cmdlet starts a restore session for a selected vApp.
With this cmdlet, you can restore the vApp to the original location or to another location, or with different settings.
To restore the vApp to the original location you only need to indicate the desired restore point. Be careful to specify the restore point of the vApp, not an individual VM which is not a valid value for this cmdlet. Veeam Backup & Replication gets all the information needed for restore from the restore point data.
To run restore to another location or with different settings you need to first create a CVcdVAppRestoreSettings object which unifies all the settings options required for restore. The CVcdVAppRestoreSettings object is created with the help of the New-VBRvCloudVAppRestoreSettingsCreates a set of vApp restore parameters. cmdlet. See the New-VBRvCloudVAppRestoreSettingsCreates a set of vApp restore parameters. topic for detailed instructions for advanced setup options.
This cmdlet provides two scenarios for each case.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
PowerUp |
If set, the vApp will be powered up right after it is restored. Otherwise you will need to power up the vApp manually. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing restore of the selected vApp. The information you provide will be saved in the session history so that you can reference it later. |
|
False |
Named |
False |
|
RestoreParams |
Specifies the
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
RestorePoint |
Specifies the restore point of the vApp. Used to restore vApp with all the same settings unchanged.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Starting vApp Restore to Original Location
|
This example shows how to start a vApp restore. The vApp named
Perform the following steps:
|
Example 2. Starting vApp Restore to Another Location
|
This example shows how to restore a vApp to another location. The vApp named
Perform the following steps:
|
Related Commands
New-VBRvCloudVAppRestoreSettingsCreates a set of vApp restore parameters.Get-VBRRestorePointReturns restore points.