Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Relevance of Change Block Tracking with Backup Software

Relevance of Change Block Tracking with Backup Software

I would like to know how CBT works when we backup a VM , either using Full Backup or Incremental Backup.
for instance, in some environment the backup can be at file level ; I mean they install backup agent on the VM Machine and from the Backup software there will be just API requests sent to Vmware to get the VM prepared for Backup. ( I am not sure if the API will request a Snapshot or not, but probably it does.)

there is another type of backup: block level. there is no Backup agent installed on the remote VM. The backup software will just send an API Request to VMware and backs up the whole VM ( I am not sure if it will back up the provisioned size of the VM or just the used side of the VM)

Well, let 'say the Full backup has been done today. Does that mean the Backup has made CBT attribute turned on ? if so then let 's say I make a second  full Backup what will happen to CBT attribute, will it be turned off or it stays turned on.



Any Help will be appreciated.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

OK , CBT keeps track of changed block.
If I backup today a VM ,let 's say 100GB.
tomorrow a user makes change and adds some data to it  50 MB.
After Tomorrow I run Backup , I will backup just 50 MB, if I use the Incremental Backup, or I will Backup 100GB+50 MB if it is full Backup.
Well you would backup what blocks have changed in the host datastore.

and that might not be 100GB+50MB.

because it's changed blocks, and the delta of changes between before and after.

You are talking in terms of files and folder changes, in Size of 100GB and 50MB.

50MB of block changes will be backed up in a incremental.

If you really want to experiment making changes in a VM, and observing what block change size has been made, you can use these scripts in this article

EE Article here

https://www.experts-exchange.com/articles/27059/A-PowerShell-script-to-measure-VM-data-change-rates-using-Changed-Block-Tracking-CBT.html
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A few examples...its a function of Snapshot API...and difference between parent and delta (snapshot)

in a Windows 2012 R2 Server...with an 80GB disk, after installing Chrome 1GB of blocks changed!

After copying a 50MB.zip file to the server, this caused 1.2GB of blocks to change in the VM. (remember that the OS is also changing blocks on the disk!)

After copying 512MB.zip file to the server, this caused 1.1GB of blocks to change in the VM.
Avatar of jskfan

ASKER

Thank you Guys!