Troubleshooting on Virtual Machine (VM) backup using Windows Backup (wbadmin)

[2022-06-29] As we consolidated all tech blogs into Dewapost website, we also post this blog into Dewapost.com and we reformat the content to suit within their guideline.

Challenges

We managed to make one of the Virtual Machines (VMs) backup as well as Hyper-V backup working. However, we still have 2 VMs that we could not back up. This is also related to the Snapshot not working either.

Error Details

Windows Logs/Application
Level: Error
Writer Microsoft Hyper-V VSS Writer experienced some errors during snapshot creation.  More info: .
Source: SPP
Event ID: 16387

Application and Services Logs/Windows/Hyper-V-VMMS/Admin
Level: Error
Checkpoint operation for 'ExAxSYDVAP03' failed. (Virtual machine ID 4BAF6B4B-D064-4178-B907-EC93ED5FCE01)
Source: Hyper-V-VMMS
Event ID: 18012

Level: Error
Could not create backup checkpoint for virtual machine 'ExAxSYDVAP03': General access denied error (0x80070005). (Virtual machine ID 4BAF6B4B-D064-4178-B907-EC93ED5FCE01)
Source: Hyper-V-VMMS
Event ID: 10150

Level: Error
Checkpoint operation for 'Wxn7_Ix9' failed. (Virtual machine ID ABD35D40-FC1C-4984-985B-F6993FF892AD)
Source: Hyper-V-VMMS
Event ID: 18012

Level: Error
Could not create backup checkpoint for virtual machine 'Wxn7_Ix9': General access denied error (0x80070005). (Virtual machine ID ABD35D40-FC1C-4984-985B-F6993FF892AD)
Source: Hyper-V-VMMS
Event ID: 10150

We found missing permissions and we have added "NT VIRTUAL MACHINES\Virtual Machines" as well as "NT VIRTUAL MACHINES\[VM-GUID]" on each Virtual Machines folder and still not working either. We strongly believe it is something to do with permission.

Solution

Moving the VM to a different folder and deleting the old folder and then moving back seems to reset the permission.

To do this:

Open Hyper-V Manager.

Right-click on the VM that has an issue and select the Move option.

Select the option accordingly:
Type of move: Move the virtual machine's storage
Move the storage: Move all of the virtual machine's data to a single location
New location: Point to a folder with a similar name and added with _VM (ie D:\Virtual Machines\[VM-Name]_VM\ )

Once it is completed, right-click on VM on select the Snapshot option. The snapshot should work.

Then delete a physical folder of the current location of the VM.  In our case, the location of our folder:

D:\Virtual Machines\[VM-Name]\
D:\Virtual Machines\[VM-Name]\Snapshots\
D:\Virtual Machines\[VM-Name]\Virtual Hard Disks\
D:\Virtual Machines\[VM-Name]\Virtual Machines\

Note: We found that if this current folder is not deleted and just reuse on moving the VMs. The snapshot issue still came up.

Under this path (ie. D:\Virtual Machines), create the old VM name folder.

Do the same process as above by selecting the Move option and pointing to the newly created folder.

Run a test of creating Snapshot and if it's working means that the VM backup will work.

Environment

* 2 nodes running on Windows Server 2012 R2. We are running cross-over VM replication between these 2 nodes. Each node has its own storage - no SAN.

* The Hyper-V and VM backups are pointing to a USB portable device.

* USB portable device is a part of Disk 2 Basic appearing in Disk Management (Disk 0: primary physical disk partition, Disk 1: Mini disk storage - 18GB)

Loading

Comments are closed.