https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IzMTM0IiwiaGFzaCI6ImFkMzc5NDZmLWM2MWEtNDQ2OC1hZjQ2LWU0NDhiZjgyZTRiNCJ9
1-800-691-1991 | 9am - 8pm ET
EN

Hyper-V Backup Job fails after 72 hours "Failed to call RPC function 'HvSetVmBackupStatus'"

Challenge

A backup of a Hyper-V VM fails after 72 hours with the following error:
 
Failed to call RPC function 'HvSetVmBackupStatus': Snapshot with id '{snapshot-uuid}' was not found.

In the Task log for the specific VM ( %programdata%\Veeam\Backup\<jobname>\Task.<vmname>.<vm-uuid>.log ) the following error is found:
 
Error    The device is not ready. (Veeam.Backup.Common.CCppComponentException)
Error    Failed to read data from the file [\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy3\<foldername>\<vmname>\Virtual Hard Disks\<vmname>.vhdx]. (Veeam.Backup.Common.CCppComponentException)

In the Svc.VeeamHvIntegration.log log file found on the Veeam Backup & Replication server ( %programdata%\Veeam\Backup ) the following is found:
 
WARN|[GC] Removing expired  snapshot. Creation time: '<date-stamp>'. JobInfo: 'Locked Job [<jobname>], Backup console [<veeamservername>]'. Is successful snapshot: 'true'. Is completed: 'true'. Life time: '72' hour.


 

Cause

This failure occurs due to the Veeam Backup & Replication built-in 'snapshot life time' limit of 72 hours.
This limit is intended to prevent issues with performance due to a VM running on a shadow copy for extended periods of time.

Solution

Initial troubleshooting for this issue should be to investigate performance to determine if improvements can be made which will allow the backup of the VM to complete within the 72 hour limit.
 


If it is not possible to improve performance, the 'snapshot life time' limit is adjustable with a registry entry on the Veeam Backup & Replication server:

(The Veeam Backup Service on the Veeam Backup & Replication server must be restarted after the key is modified to take immediate effect)

Location: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\
Type: DWORD
Name: hvSnapshotLifeTimeHour
Value (Default): 72

The value may be doubled or set to a value which is sufficient to allow the VM to complete being backed up.

It is inadvisable to set the value any higher than 240 unless absolutely necessary, and should never exceed 596. In most cases a value of 144 (double default) works well.

KB ID:
3134
Product:
Veeam Backup & Replication
Version:
9.x, 10.x
Published:
2020-03-25
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

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

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.