So I'm working on this script to start an Instant VM Recovery for Disaster Recovery to another location which is followed by a Quick Migration. The Instant VM Recovery runs fine for a VM but I'd like to move the VM to another datastore and not have the VM run directly from the backup file, where the Quick Migration is used for. However the Quick Migration does not stop the Instant VM Recovery process nor delete the VM created by the Instant VM Recovery. What am I missing / misinterpreting?
At least, that's what the below code is supposed to achieve if I'm not mistaken. Correct me if I'm wrong. The required snippets of the code:
I think you can simply migrate VM to a new datastore, using Quick Migration cmdlet, check whether the operation has finished successfully and after that dispose Instant VM Recovery session. Thanks!
Thanks for the reply. So I can run the instant VM Recovery and then the VBR Quick Migration, but how would I monitor the VBR Quick Migration via Powershell to see what the status is?
Extra question: Is there a way to define a custom name for the two jobs?
Correction on my previous post: It doesn't work for Instant VM Recovery either but that feature supports Get-VBRInstantRecovery. There is no Get-VBRQuickMigration. Looking for a way to see the status of a Quick Migration.
actually i am struggeling with VBR 9.5.0.1922.
I have to migrate a certain amount of VMs via Quick Migration and wrote a small PowerShell script to start the job.
Now i want to get the Jobstatus out of this job.
But i cannot find any command to support this.
E.g. the Get-VBRJob cmdlet, you can get the following jobs:
Backup jobs
Replication jobs
Backup copy jobs
File copy jobs
VM Copy jobs
But not Quick Migration Jobs.
Is there any way to get at least a status if the job has finished?
I have now tried several hours and several commands without any luck.