Entire VM restore fails with 'An error occurred while taking a snapshot: Error.'
Entire VM restore fails with 'An error occurred while taking a snapshot: Error.'
Challenge
A VM restore fails with the error:
Entire VM restore fails with 'An error occurred while taking a snapshot: Error.'
Cause
This can occur when there exists a workingDir entry in the VMX that is causing the VM to direct snapshots to a different datastore that is not present in the site where the restore is taking place.
Solution
In order to restore the VM a VM Files restore must be performed. This type of restore will restore the VM Files directly to the datastore, without attempting to register the restore VM.