📜 ⬆️ ⬇️

Quick Rollback in Veeam Backup & Replication: a new mode for fast recovery of virtual machine disks

Are you familiar with the situation when you had to quickly restore a virtual disk after a virtual machine failed? In this case, you can start the standard full recovery of the virtual machine and wait until it is fully restored - in the new version of Veeam Backup & Replication v8, this can be done much faster by applying the new incremental recovery mode - Quick Rollback .

image


So, what can you do when you need to fully restore a virtual machine disk (VM): first of all, you can use Instant VM Recovery , and then copy the VM data to production. It should be noted that in this scenario, backup-storage is activated, which is usually inferior in terms of technical characteristics to storage systems located in the production network. Suppose that the main priority is the speed of recovery, for which you are ready to restore the machine directly to its original state, bypassing the intermediate testing. In such a scenario, Veeam Backup & Replication v8.0 functionality can come in handy - this is the Quick Rollback option for the Full VM Restore script, which can be used when restoring a VM to its original location . This option indicates that only incremental changes to the VM disk need to be rolled back (and not the entire disk, as in the usual case).
')

What does this check mark do?


Instead of restoring the entire disk, Veeam Backup & Replication will restore only the blocks that are needed in order to return the VM to the state at the selected recovery point. Recovery time is significantly reduced, since only data blocks that have changed since the creation of a given recovery point are copied. Veeam Backup uses the same Change Block Tracking (CBT) tracking technology to identify modified blocks as it does when creating incremental backups:

Receiving a list of modified virtual disk blocks from the moment of creating a restore point to the current state of the VM, Veeam Backup determines exactly which blocks were changed at what point, and which of them should be restored to disk in order to roll back to the desired state.

It seems to be a simple functionality, but very useful in different life situations. For example, one of the users said that when his virtual machine became a victim of a trojan, he decided not to waste time trying to fix the malware, but tried to recover from the Quick Rollback - and it took only a few seconds to restore.

So, in the console, we run the Full VM Restore Wizard Restore Wizard, we reach the Restore Mode selection step.
By default, recovery takes place to the original location (the Restore to the original location option is selected). In this case, the Quick Rollback option is available for selection - turn it on and proceed to the next step.

image

What Veeam Backup does: turns off the source VM, if it still works, and begins to restore only the changed blocks.

Let's see how performance changes relative to normal full VM recovery:

image
Of the 20 GB VMDK disk, 2.2 GB is effectively used. In the normal scenario with full VM recovery (example on the left), we had to restore all 2.2 GB (it took 1 minute 8 seconds). When the same machine was restored using the Quick Rollback (example on the right), it took only 29 MB to restore (it took 12 seconds).
We can assume that the effect of using this option for machines with disks the size of terabytes will be even more obvious.

I note that Quick Rollback can also be used when restoring a VM in 1 click from the Veeam Backup Enterprise Manager web console (since this is just the built-in script for full VM recovery to its original location):

image

Are there any "pitfalls"?


Let's talk about it. As mentioned above, the Quick Rollback uses Modified Block Information (CBT). However, this information in a number of emergency situations cannot be considered 100% reliable. That is why this option is disabled by default, and users are strongly recommended to use it only in cases when a problem at the guest OS level has led to the need for recovery.
If there are problems at the hardware level (for example, with a host or storage) or a sudden voltage drop, then using Quick Rollback is not safe - in such situations, there is a possibility of distortion of the SVT data, and there is a risk of ruining the VM drive by starting the recovery of the wrong blocks.

We should not forget about a number of restrictions on the use of Quick Rollback in acceptable cases:
  1. Check that the backup from which you are going to restore the machine was created with the inclusion of the CBT tracker. This can be done by clicking the Advanced button in the Storage step of the backup task wizard and going to the tab of the corresponding platform (for more information for VMware and for Hyper-V ).
  2. You cannot perform two incremental restorations one after the other - because after the first such recovery has passed, the CBT tracker on the source VM will be “reset”, and at least one incremental backup pass will be needed so that you can make incremental recovery again.
  3. Incremental recovery for VMware uses only two data transfer modes - Network or Virtual Appliance. Direct SAN Access mode cannot be enabled for this scenario.

Hopefully, the simple recommendations outlined here will allow you to successfully apply Quick Rollback for efficient recovery of virtual machines.

What else to read:


Source: https://habr.com/ru/post/246481/


All Articles