Thread Rating:
  • 40 Vote(s) - 3.15 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Orphaned/Lingering Hyper-V Checkpoints
#1
We have been using Symantec Backup Exec 15 (2014) at various sites over the last year to backup Hyper-V VMs.

We love the ability to make Checkpoints (what used to be called "Snapshots" before Microsoft decided that their terminology could also be "updated") before any major change and in the event we need to quickly revert in case it turns to custard (which often does when Microsoft is involved).

Backup Exec seems to manipulate Hyper-V's check-pointing during a Hyper-V backup which leaves a seemingly "orphaned/lingering" checkpoint which can't be removed/merged as shown here:
   

So far, after testing in our lab, we found that Backup Exec was pretty happy in restoring the VM to it's original state together with the checkpoint.

However, the ability to remove/merge a checkpoint doesn't sit comfortably with us from a GUI perspective.
We like to remove checkpoints when no longer needed for performance and recovery reasons (what's the point when you can restore a VM but not the last checkpoint?).

While this can't be done via the GUI it CAN at least be safely performed via PowerShell though one simple command.

Bang out this PowerShell command to merge and save the day:
Get-VMSnapshot -ComputerName "HYPERVHOSTNAME" -VMName "VMNAME" | Remove-VMSnapshot

Remember, if you continue using products like Symantec Backup Exec that manipulate the checkpoints then this issue will re-emerge.
You need to work on a recovery plan if your Host Hyper-V Server craps itself (yet to be lab tested).
Reply
#2
NOTE: If you still see the "lingering snapshot/checkpoints" after merging with PowerShell then this is "cosmetic" - they will disappear over time.
Alternatively, either re-start the Hyper-V Service or reboot the Physical Host to clear the view.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)