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

Challenges

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

Error Details

Windows Logs/Application
Level: Error
Writer Microsoft Hyper-V VSS Writer experienced some error 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 strong believe it is something to do with permission.

Solution

By moving the VM to a different folder and deleting 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 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 similar name and added with _VM (ie D:\Virtual Machines\[VM-Name]_VM\ )

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

Then delete 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 select the Move option and point to the new 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 is pointing to USB portable device.

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

 

Comments are closed.