Start-VBRvCloudQuickMigration
Short Description
Starts a quick migration of vCloud VMs.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Start-VBRvCloudQuickMigration -InstantRecovery <InstantRecoveryObject> [-StorageProfile <CVcdOrgVdcStorageProfile>] [-vCloudDatastore <CVcdDatastoreRestoreInfo>] [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet starts a quick migration of vCloud VMs.
Note: |
To perform a quick migration of vCloud VMs you must run an instant recovery of the necessary vCloud VMs beforehand. Run the Start-VBRvCloudInstantRecovery cmdlet to perform an instant recovery of the necessary vCloud VMs. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
InstantRecovery | Specifies the vCloud VM that you want to migrate. | Accepts the InstantRecoveryObject type. To get this object, run the Start-VBRvCloudInstantRecovery cmdlet. | True | Named | True (ByValue, |
StorageProfile | Specifies the storage policy of the selected vCloud VM that is restored to the original location. Note: the cmdlet will not restore the storage policy of vCloud VMs in case you restore them to the different location. | Accepts the CVcdOrgVdcStorageProfile object. To get this object, run the Find-VBRvCloudEntity cmdlet. | False | Named | False |
vCloudDatastore | Specifies the vCloud datastore. Veeam Backup & Replication will move the vCloud VM data to the selected vCloud datastore. | Accepts the CVcdDatastoreRestoreInfo object. To get this object, run the Find-VBRViDatastore cmdlet. | False | Named | False |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Starting Quick Migration of vCloud VM
This example shows how to start quick migration of the vCloud VM.
$restorepoint = Get-VBRRestorePoint $VM = Start-VBRvCloudInstantRecovery -RestorePoint $restorepoint[1] Start-VBRvCloudQuickMigration -InstantRecovery $VM |
Perform the following steps:
- Run the Get-VBRRestorePoint cmdlet. Save the result to the $restorepoint variable.
- Run the Start-VBRvCloudInstantRecovery cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Save the result to the $VM variable.
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).
- Run the Start-VBRvCloudQuickMigration cmdlet. Set the $VM variable as the InstantRecovery parameter value.
Related Commands