|Subject:||Why do backing up VHD files take long|
|Creation date:||6/7/17 9:02 AM|
|Last modified on:||12/14/18 11:41 AM|
Why do VHD files take long to backup?
Users often complain backing up VHD (Virtual hard drives) files take a very long time in Syncrify. This page explains the reason and also an alternative method to use.
The Rsync algorithm used in Syncrify tries to determine the delta between two versions and then sends this delta over to the destination, which is then
merged with the older copy of the file on the server. This is called the block-matching process.
The amount of time spent in determining delta (block-matching) is directly proportional to the amount of data that is modified within a file.
For example, if a file is modified towards the end, matching occurs very quickly. A good example of such a file is a PST file for MS Exchange.
On the other side of the spectrum, a file that is modified from all over will not only take a long time for block matching
to occur but the resulting delta will also be almost as big as the actual file. VHD files are notorious when it comes
to changes. Typically, a hard-disk gets modified from blocks that physically reside in different locations and
therefore, it is very likely to have a VHD file that is modified about 90%.
In summary, there are two problems when using Rsync with VHD files:
- It takes a long time to match blocks
- The resulting delta is often as big as the actual file, diminishing the network bandwidth benefit you achieve when backing up other files.
Run the file through Block-Diff Wizard
to see if you will gain from using rsync on a VHD file.
An alternative method
If Syncrify client and server are taking to each other on a fast network, it may be faster to just use
, which will copy the entire file without matching any blocks.
Posted by Scott Wells on 2/22/19 4:12 PM
Has there been any effort testing if fixed sized VHDX virtual disks to determine if they're any more "differentially friendly" than dynamically expanding VHDX's?
Add a comment to this document
Do you have a helpful tip related to this document that you'd like to share
with other users? Please add it below. Your name and tip will appear at the
end of the document text.