Home VM Migration Instant VM Restore and Migration with Vinchin Backup & Recovery

Instant VM Restore and Migration with Vinchin Backup & Recovery

2021-08-26 | Nick Zhao

Vinchin Instant Restore and Migration

In this article, I'll tell you how to perform instant VM restore and migration on Vinchin backup & recovery, I'll take VMware virtualization as an example.

Let's first go to VM Backup -> Instant Restore screen.

From the restore point selection area, select the restore point of a VM that you want to restore.

bc4aa00bc1387fec2dea6b92dbbc88c.png

Then expand and select a target host to run the VM.

830016859ac83d4875aab4be9cb6637.png

When a Host is selected, Vinchin Backup & Recovery will try to verify the host configurations, it will take a few seconds.

image.png

When done, please give the VM a name, and you can choose to power on the VM after instant restore by turning the “Power on the VM after restoring” option on.

image.png

And also, you can choose to keep the mac address of the VM and can choose a network to connect to. Please make sure the original VM is powered off, otherwise, connect the instant restored VM to an isolated network to prevent IP and MAC address conflict.

image.png

From the “Job Name” field, you can rename the job if needed, and once done, click on OK to submit the creation of the job.

image.png

Once an instant restore job is created, you’ll be redirected to the job list screen.

The newly created instant restore job will remain “Pending” state before you manually start the job, let‘s click on “Options” and then “Start Job” to run the instant restore job.

Let’s click on the job name to check the job details.

ae4e70263fa5319808f7381a2b91068.png

As we can see it only took half a minute to bring the VM back online.

Now let's take a look from the ESXi server, here in the virtual machine list we can see a new virtual machine added by instant restore and it is up and running.

521ce6d7e9a447ec36e4131a3253ecd.png

And from the “Datastore” list, we can see an NFS storage mounted by Vinchin Backup & Recovery. That’s where the file system of the instant restored virtual machine resides now.

37971d5615ea67406e35c72fee23e0a.png

So next we need to use the live migration feature of Vinchin Backup & Recovery to migrate the virtual machine back to the production storage.

Let's go back to the job list.

5a889f489d152b424cadf18e8c0d328.png

Click on “Options” and then “Migration”.

7cdd38c0b1efe180bfb2ac854e6e1fb.png

Here we need to select a target host to which the virtual machine will be migrated.

Then configure the virtual machine name, storage, and network, and let’s power on the VMware after migrating.

b2cd2ed4e463694c3a0d23221aeefbd.png

Next, select a transfer network, or use Vinchin backup proxy if you had deployed one. And configure multithreaded transmission, I’ll use the default 3 threads.

227eb8df372a482e3aea3facc09cacb.png

Once done, click on ok to submit, and the migration will begin.

Here you can see the job type changed into migration.

5fb23ee846f68504f025c7cedc03909.png

Let's click on the job name again to see some job details.

Here's the instant restored Virtual machine and here's the migrated virtual machine name.

05b2db875107a0117f2f4bc51d56b5a.png

And here are the running logs of the migration process.

9cbb544e8340f9d33bd2df024f209f8.png

The migration will be performed in 3 steps, in order to keep the data consistency of the migrated virtual machine.

In step 1, it will migrate the original backup data to the production storage.

In step 2, it will migrate the cache data during the runtime of the instant restored virtual machine.

In step 3, it will power off the instant restored virtual machine and then migrate some final cache data generated during the powering off process.

When the 3 steps of migration are done, the migrated VM will be powered on. Let’s check from the ESXi server.

As we can see the instant restored virtual machine is powered off, and the migrated virtual machine is up and running.

db19e426d834032b9bdfe56232374cc.png

At this moment, we can go back and terminate the instant restore job.

03520e0281763eca90e2b74f8f38cb4.png

In the pop-up dialog, there are some important notices about the instant restore and migration features. Click on Ok to confirm.

2453701118a46484c3c6b0f62e0ab63.png

The instant restored virtual machine and the NFS storage will be removed from the ESXi server. Let’s take a look again at the ESXi server.

a0266502d7d6a86da8a99927b8ce03d.png

The instant restored VM had been removed, and also the NFS storage had been unmounted.

That's all for, thanks for instant VM restore and migration on Vinchin backup & recovery.

Share on:

Categories: VM Migration