Fix: Veeam “Failed to Create Production Checkpoint” (Hyper-V)

Cloud backup icon

Short answer: Veeam’s “Failed to create production checkpoint” error comes from Hyper-V, not Veeam. Hyper-V asks the virtual machine to get its data ready for a consistent backup through the Volume Shadow Copy Service (VSS), and the VM did not answer. The most common reason is that the VM itself is hung or has a VSS writer stuck in a failed state. Check the VM is responding, restart it in a quiet period if it is not, test a production checkpoint, then run the backup again.

A professional services firm forwarded us the nightly Veeam report one morning. Two of its three servers had backed up, but the Remote Desktop server had failed on the first attempt and on all three retries, each time with a production checkpoint error. Monitoring had also been flagging that server as offline on and off for two weeks. When we checked, Windows inside the VM was running but hung, so it could not respond to the backup request. A controlled restart fixed the backup that night. Here is what we found and how to fix it.

Fixed by Dan Redman and Rohan Colley at GCIT. Written up by Elliot Munro, CISO.

Symptoms

A Veeam Backup & Replication job that backs up Hyper-V virtual machines finishes with an error for one VM. The job session shows:

Unable to allocate processing resources. Error: Failed to create production checkpoint.

and the task details for the VM read:

Failed to create VM recovery checkpoint (mode: Veeam application-aware processing) Details: Failed to create VM (ID: …) recovery checkpoint. Job failed (‘Checkpoint operation for ‘[VM name]’ failed. (Virtual machine ID …) Production checkpoints cannot be created for ‘[VM name]’. (Virtual machine ID …)’). Error code: ‘32770’.

Veeam Backup and Replication job log: Failed to create VM recovery checkpoint (mode: Veeam application-aware processing) and Unable to allocate processing resources. Error: Failed to create production checkpoint

Variations of the same error:

  • Error code 32768 with “‘[VM name]’ could not initiate a checkpoint operation: %%2147754996 (0x800423F4)”. 0x800423F4 means a VSS writer inside the VM hit an error it cannot retry.
  • The task log shows “Retrying snapshot creation attempt (Failed to create production checkpoint.)” and “Task has been rescheduled” before the final failure.
  • On the Hyper-V host, the Hyper-V-VMMS event log shows event 18016 for the VM, saying production checkpoints cannot be created.
  • The emailed report says “[Failed] Backup job name (3 objects) 1 failed”, and the VM falls out of its recovery point objective (RPO).

Affected Software

  • Application: Veeam Backup & Replication (Hyper-V jobs with application-aware processing)
  • Platform: Windows Server Hyper-V 2016 and later, Windows Server guest VMs
  • Related services: Hyper-V Volume Shadow Copy Requestor (integration service), Volume Shadow Copy Service (VSS) in the guest

Cause

To back up a running VM safely, Veeam asks Hyper-V for a production checkpoint. Hyper-V passes the request into the VM through the Hyper-V Volume Shadow Copy Requestor service, and Windows inside the VM uses VSS to flush databases and files to disk. If the VM does not complete that step, Hyper-V cannot create the checkpoint and Veeam has nothing consistent to back up. The usual reasons are:

  • The VM is hung or overloaded. This was the cause for our customer. The Remote Desktop server was still running but not responding, so the request went unanswered. The host also logged event 3452, “failed to stop: timeout period expired”, when we tried to shut the VM down normally. The hang was traced back to a patching problem on that server.
  • A VSS writer in the VM is in a failed state. For example the SQL Server, Exchange or Active Directory writer after an earlier error. This produces the 0x800423F4 variant.
  • The backup integration service is not talking to the host. Hyper-V shows the VSS integration service as “Lost Communication”.
  • The checkpoint location is invalid or out of space. The folder set for checkpoints in the VM’s settings is missing, or the volume is full.

Resolution

Step 1: Check the VM is healthy

  1. Open the VM’s console from Hyper-V Manager, or connect with Remote Desktop. If it is frozen, very slow or will not log you in, the VM is the problem.
  2. Check monitoring for recent offline, services down or high resource alerts for the VM. A run of these before the backup failure points to a hang.
  3. If the VM is hung, restart it in a quiet period. Warn users first if it is a Remote Desktop or file server. If a normal shutdown times out, you may need to turn the VM off from Hyper-V Manager.

Step 2: Check the integration services and VSS

  1. On the Hyper-V host, run Get-VMIntegrationService -VMName "VMNAME". The Backup (volume shadow copy) service should be enabled with a status of OK.
  2. If it shows Lost Communication, restart the Hyper-V Volume Shadow Copy Requestor service inside the VM, then check again.
  3. Inside the VM, run vssadmin list writers in an elevated Command Prompt. Every writer should show State: Stable and Last error: No error. A writer in a failed state is usually cleared by restarting the service that owns it, or by restarting the VM.
  4. Check the VM’s checkpoint file location in Hyper-V Manager points to a folder that exists and has free space.

Step 3: Test a production checkpoint, then rerun the backup

  1. On the host, test outside Veeam: run Checkpoint-VM -Name "VMNAME" -SnapshotName "VSS test" with the VM’s checkpoint type set to production. If it fails, the problem is still inside Hyper-V or the VM.
  2. Delete the test checkpoint straight away with Get-VM "VMNAME" | Get-VMSnapshot -Name "VSS test" | Remove-VMSnapshot. Checkpoints left behind keep growing and can fill the volume.
  3. In Veeam, right-click the job and choose Retry, or start it manually, to close the gap in restore points. Then check the next scheduled run succeeds.

Important Notes

  • Fix the cause, not just the backup. A VM that hangs badly enough to fail a backup will hang again. In our customer’s case the follow-up was the patch fix on the server, and checking whether its sister server needed the same.
  • Do not switch off application-aware processing to make the error go away. The job will then succeed with crash-consistent backups, which can leave databases needing repair after a restore.
  • Watch for leftover checkpoints. After repeated failures, check the VM for orphaned checkpoints or .avhdx files and merge them before the disk fills.
  • If Hyper-V still cannot create a production checkpoint on its own, Veeam’s advice is to work with Microsoft support, because the fault is in Hyper-V or the guest, not in the backup software.

If the Application log names one database with SQL Writer error 8202, check its access mode and active session before retrying the backup. See SQL Writer Error 8202: Backup Completion State Failed.

If you are not sure your backups would actually restore, book a free consultation with our team.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.