Link to home
Start Free TrialLog in
Avatar of NAZ1000
NAZ1000Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Restoring a HyperV VM from backup or replica

Have a primary HyperV Server and replica server. One of the Primary VMs keeps failing backup but is running fine. Have traced to an issue with the checkpoints but am unable to delete them which is probably due to the problem - even if i create a new checkpoint when I try to delete I get catastrophic failure.
I can export the replica VM fine.
Should I run some powershell to delete all the checkpoints and recreate (if so which ?).
Or turn of the Primary VM and import the exported replica into a new VM and delete old once the new VM starts successfully ?
Or turn off the Primary, do a planned failover, and then somehow replicate back to primary (seems longer winded)

Thank you !


Avatar of arnold
arnold
Flag of United States of America image

Which checkpoint/s are you deleting and in what sequence?
What is your backup solution that you are using?
Which checkpoints are you deleting, from oldest to newest or from newest to oldest?
The process is involved and time consuming to consolidate all the checkpoints deletion.

Consider using wbadmin to backup from within the VM filesystem level
Create a clone for just in-case.
Then trigger the deletion of checkpoint and all subsequent ones.
And let it take as long as it needs to.



https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints#:~:text=To%20cleanly%20delete%20a%20checkpoint%3A%201%20In%20Hyper-V,is%20the%20correct%20checkpoint%2C%20and%20then%20click%20Delete.
Avatar of NAZ1000

ASKER

Thank you.

The backup from within the Erroneous VM works fine - again pointing me to the checkpoints being the fault.

Any checkpoints i try to delete gives error (older / recent / or even immediately just created ).

So Ill backup from within the VM - import this into a new VM to see if it works (with the old turned off) - and then just delete the old one with its data files ?
Did you try the delete checkpoint and all subsequent?

What is the error? What is the prioritization of resources. I.e. During the checkpoint consolidation, the delay to storage Is what leads to the failure.
Avatar of NAZ1000

ASKER

When deleting checkpoint i get following error pic.jpg - cannot delete checkpoint subtree containing recovery checkpoint


ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial