Hyper-V VSS snapshot import delay

KB ID:
1844
Product:
Veeam Backup & Replication
Version:
7.x
Published:
Last Modified:
2013-12-18

Challenge

If you backup your VMs using Dell Equallogic hardware VSS provider in some cases data(vhd/vhdx) that we read from VSS snapshot could be inconsistent

Cause

During Hyper-V backup, we execute VSS API call DoSnapshotSet, as soon as it completes, we execute ImportSnapshot VSS API call, without any delay between two API calls.
Apparently Dell VSS hardware provider continues to write some data to VSS snapshot after execution of DoSnapshotSet method(after returning S_OK code), and if we try to immediately import VSS snapshot, we could backup inconsistent data from that VSS snapshot.

Solution

In order to workaround this problem we introduce a timeout/delay between execution of ImportSnapshot VSS API call
Open registry editor on Veeam Backup console
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication
Create DWORD parameter:
HvDelayBeforeSnapshotImportCompleteSec
Set it to 90 seconds(or more if your hardware VSS provider requires more time).

Rate the quality of this KB article: 
3.4 out of 5 based on 8 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text:

Submit