V-79-40960-38690: Hyper-V Virtual Machine RCT enabled backup job fails with an error "0xa0009722 - Backup Exec cannot export configuration for the virtual machine"

book

Article ID: 100047823

calendar_today

Updated On:

Description

Error Message

Job log reports the following error:

V-79-40960-38690 - Backup Exec cannot export configuration for the 'VMNAME ' virtual machine. Refer to the Windows Event Log on the Hyper-V host for more details.
Backup Exec cannot remove the 'C:\VirtualMachines\VMNAME\RCT_Backup_VMNAME ' directory. Delete the directory from the Hyper-V server manually.

Beremote debug log on the Hyper-V host server will report the following error:

CHyperV::ExportVM Failed to export VM configuration with error (0x80078016)
[fsys\vrtsrv]        - VirtualServer::PrepareForRCTBackup : Failed to export configuration for virtual machine VMNAME , error 0xa0009722
[fsys\vrtsrv]        - VirtualServer::RCTCleanup: Failed to delete export directory 'C:\VirtualMachines\VMNAME\RCT_Backup_VMNAME ', error 0x3


OR

[fsys\vrtsrv]        - VirtualServer::RCTCleanup: Failed to delete export directory 'C:\ProgramData\Microsoft\Windows\Hyper-V\RCT_Backup_VMNAME', error 0x12

Cause

This issue occurs if the Virtual Machine name has a SPACE character in the name of the virtual machine name. As seen in the above log snippet there is a trailing SPACE character at the end of RCT file path of this virtual machine. This space character is added to the path from the Virtual Machine name defined in Hyper-V. The same Beremote debug log will show this space when getting the Virtual Machine name.

[fsys\vrtsrv]        - VRTSRV::MakeAdditionalDLEs - VM: 'VMNAME

Resolution

Error 0x3 - Rename the Virtual Machine in Hyper-V Host and remove the SPACE character seen at the end of the string. Run the backup again after removing the space.

Error 0x12 - Make sure the path  mentioned on the Debug (C:\ProgramData\Microsoft\Windows\Hyper-V\RCT_Backup_VMNAME )  is accessible and not blocked by Anti -Virus software.

Error 0x12 - Delete the folder "RCT_Backup_VMNAME" from the above directory on the Hyper V server  and Re-run the backup

Issue/Introduction

Hyper-V Virtual Machine RCT enabled backup job fails with an error "0xa0009722 - Backup Exec cannot export configuration for the virtual machine"