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.
|
To perform a quick migration of vCloud VMs you must run an instant recovery of the necessary vCloud VMs beforehand. Run Start-VBRvCloudInstantRecovery to perform an instant recovery of the necessary vCloud VMs. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
InstantRecovery | Specifies the vCloud VM that you want to migrate. Accepts the InstantRecoveryObject type. | True | Named | True (ByValue, | False |
StorageProfile | Specifies the storage policy of the selected vCloud VM that is restored to the original location. NOTE: the cmdlet won`t restore the storage policy of vCloud VMs in case you restore them to the different location. Accepts the CVcdOrgVdcStorageProfile type. | False | Named | False | False |
vCloudDatastore | Specifies the vCloud datastore. Veeam Backup & Replication will move the vCloud VM data to the selected vCloud datastore. Accepts the CVcdDatastoreRestoreInfo type. | False | Named | False | False |
RunAsync | Indicates that the command returns immediately without waiting for the task to complete. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
.
Return Type
Example
This example shows how to start quick migration of the vCloud VM.
- Run Get-VBRRestorePoint to get the array of the restore points for the selected VM. Save the result to the $restorepoint variable.
- Run Start-VBRvCloudInstantRecovery with the $restorepoint variable. Save the result to the $VM variable.
- Run Start-VBRvCloudQuickMigration with the $VM variable.
$restorepoint = Get-VBRRestorePoint $VM = Start-VBRvCloudInstantRecovery -RestorePoint $restorepoint[1] Start-VBRvCloudQuickMigration -InstantRecovery $VM |
Related Commands