https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxOTI4IiwiaGFzaCI6IjM1MzRkMDIwLWY5ZmMtNDkyZi05MWMwLTA5ZDA1M2IzYjg2NSJ9
1-800-691-1991 | 9am - 8pm ET
EN

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.
 
1.  The procedure for perform a VM Files restore can be found here: http://helpcenter.veeam.com/backup/70/vsphere/performing_vmfile_restore.html
     Please keep in mind you must manually specify the host and folder on the datastore where the restored information will be placed.

2.  After the VM Files restore completes, edit the VMX and remove any workingDir entries. Tips for editing VMX: kb.vmware.com/kb/1714

3.  After correcting the VMX, add the VM to inventory.  kb.vmware.com/kb/1006160
 
If you are unsure on how to proceed, please contact VMware support for VMX modifications.

More information

Information regarding the worklingDir parameter can be found here: kb.vmware.com/kb/1002929
 
KB ID:
1928
Product:
Veeam Backup & Replication
Version:
7.x
Published:
2014-09-22
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later