If a backup job is aborted or fails while a VSS snapshot is being used, the plug-in might not clean up the VSS snapshot. If this issue occurs, you can use a tool such as Microsoft CLI diskshadow.exe to remove the snapshot.
1 |
After DiskShadow is run from a command line with elevated permissions, run the following command at the DISKSHADOW> prompt to find and remove the orphaned shadow copy. |
2 |
Look through the list of shadow copies noting the Exposed Locally as field. |
4 |
Using the Shadow copy ID field from that entry, run the following command: |
5 |
Navigate to <installationDirectory>\tmp\Hyper-V, and delete the directory with the VM name used during the aborted or failed job. |
8 |
If a VSS Writer is listed in a State other than Stable, use Hyper-V Manager to select the host node, and stop and start the Virtual Machine Manager service. |
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center