Migrating Recovered VMs Using Flash Boot
Using Flash boot, you can migrate the recovered VMs to another location. To do this, follow the instructions below:
Migrating Recovered VMware VMs Using Flash boot
To migrate a booted VM from one datastore to another, do the following while the virtual machine is running:
-
Open vSphere Client.
-
In the vSphere Client inventory, select the virtual machine recovered with Flash boot that you want to migrate.
-
Right-click on the VM and select Migrate.
-
Select Change datastore and click Next.
-
Select the specific format of your virtual disk.
Note
When selecting virtual disk format, do not leave the Same format as source option selected as the VM will be discarded when clicking the Discard VMsbutton in the Flash boot job. -
Select the datastore where you want to store the VM.
-
Review the page and click Finish.
Note
After migrating the booted VMs, you can click the Discard VMs button in the Flash boot job. The job detects that the VMs were migrated and does not discard them.
Replicate booted VMs as described below:
-
Refresh the Inventory in Settings (so that the VMs created by Flash boot are added to the product).
-
Create a new replication job for the VMs that you want to permanently recover.
-
Run the replication job.
-
After replication is finished, run the job once again. This is required because the recovered VMs were running (and obtaining some changes) while the initial replication was in progress.
-
To ensure zero data loss, power off the VMs created by Flash boot in the VMware vSphere client and run the VM replication job one last time.
-
Discard the VMs created by Flash boot.
-
Power on the VMs created by the replication job.
Migrating Recovered Hyper-V VMs Using Flash boot to Production
Follow the steps below to migrate a Hyper-V VM recovered using Flash Boot to production:
-
Open the Hyper-V Manager and shut down the recovered VM.
-
Go to the VM settings and open the Hard Drive properties.
-
Make a note of the name of the physical disk from which the VM was booted. This is typically Disk N where N is the index number of your physical disk.
-
In the Media section of the Hard Drive properties, click Virtual hard disk and then click New.
-
The New Virtual Hard Disk wizard opens. Proceed as follows:
-
On the Choose Disk Format step of the wizard, choose VHDX as the format of your virtual hard disk. This format supports virtual disks up to 64 TB. Click Next.
Important
On Hyper-V 2019, adding a new virtual hard disk may fail with an error message “Failed to convert the virtual disk”. -
On the Choose Disk Type step of the wizard, choose Dynamically expanding. This initially creates a virtual hard disk of a small size that changes as data is added. Click Next.
-
On the Specify Name and Location step of the wizard, specify a name and a location for the virtual hard disk file and click Next.
-
On the Configure Disk step of the wizard, click Copy the contents of the specified physical disk and choose the disk you previously noted from the list of physical hard disks. Click Next.
-
On the Summary step of the wizard, review the information and click Finish.
-
Wait till the wizard creates the new virtual hard disk and closes. Click Finish.
-
Now the VM is ready for use in production.
Note
If you apply the Discard VMs command to the VM recovered via flash boot, the corresponding job will be stopped and the VM will NOT be deleted.
Alternatively, you can move your VM to another computer. Please follow the steps below:
-
In the Hyper-V Manager, right-click on your VM and choose Move in the context menu.
-
The Move VM Wizard opens. Proceed as follows:
-
On the Choose Move Type step, choose Move virtual machine and click Next.
-
On the Specify Destinations page, choose the name of the computer to which to move the VM and click Next.
-
On the Choose Move Option step, choose Move the virtual machine’s data to a single location and click Next.
-
On the Virtual Machine step, specify the location of the VM on the destination computer. Then click Next.
-
On the Summary step, check the configuration of your moving operation and click Finish.
-
When the VM has moved to the destination computer successfully, you can discard the VM with NAKIVO Backup & Replication.