Workflow of incremental backup based on changed block tracking
book
Article ID: 344418
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
This article provides steps for CBT incremental backup.
Environment
Virtual Disk Development Kit 6.5 Virtual Disk Development Kit 5.5 Virtual Disk Development Kit 6.7 Virtual Disk Development Kit 6.0 Virtual Disk Development Kit 5.1 Virtual Disk Development Kit 5.0
Take a snapshot (SN-1) and call QueryChangedDiskAreas(*) or VixDiskLib_QueryAllocatedBlocks for full backup.
Record the changeId (CID-1) of SN-1.
Remove SN-1.
Run the VM for some time (backup interval).
Take a snapshot (SN-2) and call QueryChangedDiskAreas with previous changeId (CID-1) to get changes after taking that snapshot (SN-1).
Record the changeId (CID-2) of SN-2.
Remove SN-2.
Repeat step 5-8 (replace changeId accordingly).
Note: VixDiskLib_QueryAllocatedBlocks always returns all allocated disk areas regardless of CBT. It is a VDDK API which is applicable for on-prime environment but not VMC.