ERROR backing up VM.

Jul 8, 2014 at 8:22 PM
Hi All,

I have new install of Hyper-V 2012R2 server and running on it one VM. After I set up HVBackup just getting error:

Error: Entry "\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy9\Hyper-V\Snapshots\F99DD747-EAD3-498D-988A-E53C1BF93695-BackupSnapshot.xml" not found in snapshot
at Cloudbase.Titan.HyperV.Backup.BackupManager.AddPathToZip(String snapshotPath, Int32 volumePathLength, ZipFile zf, String vmPath, IList1 streams)
at Cloudbase.Titan.HyperV.Backup.BackupManager.BackupFiles(String backupOutputPath, String backupOutputFormat, IList
1 components, IDictionary2 volumeMap, IDictionary2 snapshotVolumeMap, IDictionary2 vmNamesMap, Int32 compressionLevel)
at Cloudbase.Titan.HyperV.Backup.BackupManager.BackupSubset(IDictionary
2 vmNamesMapSubset, String backupOutputPath, String backupOutputFormat, Int32 compressionLevel)
at Cloudbase.Titan.HyperV.Backup.BackupManager.VSSBackup(IEnumerable`1 vmNames, VMNameType nameType, String backupOutputPath, String backupOutputFormat, Boolean singleSnapshot, Int32 compressionLevel)
at Cloudbase.Titan.HyperV.Backup.CLI.Program.Main(String[] args)


There is no any snapshots jet so don't understand why HVBackup looking in Snapshots dir witch is empty.

I have running three Hyper-V servers and have no problem with HVBackup.

Thanx for any ideas ...
Aug 15, 2014 at 8:51 AM
Same issue here. Hyper-V Server 2012 R2, fresh install, version 1.0.1.
Cloudbase HyperVBackup 1.0 beta1
Copyright (C) 2012 Cloudbase Solutions Srl
http://www.cloudbasesolutions.com

Backing up all VMs on this server
Initializing VSS

Starting snapshot set for:
Online\myvmname

Volumes:
D:\
Error: Entry "\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\vhds\myvmname_29ABAA2F-C689-4156-92B2-DDA71F20404D-AutoRecovery.avhd" not found in snapshot
   at Cloudbase.Titan.HyperV.Backup.BackupManager.AddPathToZip(String snapshotPath, Int32 volumePathLength, ZipFile zf, String vmPath, IList`1 streams)
   at Cloudbase.Titan.HyperV.Backup.BackupManager.BackupFiles(String backupOutputPath, String backupOutputFormat, IList`1 components, IDictionary`2 volumeMap, IDictionary`2 snapshotVolumeMap, IDictionary`2 vmNamesMap, Int32 compressionLevel
)
   at Cloudbase.Titan.HyperV.Backup.BackupManager.BackupSubset(IDictionary`2 vmNamesMapSubset, String backupOutputPath, String backupOutputFormat, Int32 compressionLevel)
   at Cloudbase.Titan.HyperV.Backup.BackupManager.VSSBackup(IEnumerable`1 vmNames, VMNameType nameType, String backupOutputPath, String backupOutputFormat, Boolean singleSnapshot, Int32 compressionLevel)
   at Cloudbase.Titan.HyperV.Backup.CLI.Program.Main(String[] args)
Aug 15, 2014 at 9:08 AM
I just logged this as an issue
https://hypervbackup.codeplex.com/workitem/9403

Then decided to build from source - guess what, it works.
Aug 20, 2014 at 6:47 PM
Hi,

I solve this issue simply. Stop affected VM delete its entry from console and recreate VM using existing vhd/vhdx files.
I had to set up NIC again. This worked for me ...
Jan 28, 2015 at 9:39 AM
Good solution for vhd recovery i will suggested, however it efficient in repairing corrupted and deleted vhd files . It supporst all windows platform and is capable of repairing both static and dynamic vhd files .

Read more:- http://www.filesrecoverytools.com/vhd-data-recovery.html
Mar 19, 2015 at 8:49 PM
I had the same XML issue on one of my VMs (the rest were fine). My VM was also misbehaving though too. The delete VM and use same VHD/VHDX trick did not work for me. In the end, I had to to recreate the VM and setup everything the old fashion way - brand new VM.
Apr 8, 2016 at 10:35 AM
trltom wrote:
I just logged this as an issue
https://hypervbackup.codeplex.com/workitem/9403

Then decided to build from source - guess what, it works.
Hi, what do you mean by build from source??
Mar 15 at 3:01 PM
I found out that it works if I do a backup on stopped VM. It really looks like an issue with shadow copy.