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