Hyper virtual machine deleted, how to restore

1. Today reopened after installing the new system, Hyper, found the time to import a virtual machine can not find the file, but I need to import the file does exist (Note: The file must exist otherwise no way to recovery), this time we should be how to restore virtual machine do?

As shown below error: check that, when our virtual machine does not perform the export directly deleted, and then perform the import virtual machines, this problem occurs.

Way to resolve this problem is simple: New Virtual Machine -> Connect virtual hard time to choose to use an existing virtual hard disk

2. The above address how to restore the virtual machine, but if we have a snapshot of the virtual machine how to do how to recover?

A. When we create a new virtual machine when it will produce two folders "Virtual Hard Disks" and "Virtual Machines":

"Virtual Hard Disks" is stored in the virtual hard disk; "Virtual Machines" is stored in the virtual machine configuration file and the file is of a GUID.xml

B. When there is a snapshot of the virtual machine will be more of a folder "Snapshots", it is stored in a file snapshots of virtual machines, and we will find the "Virtual Hard Disks" will be more at the end of xxxx.avhdx file, If this time to see the virtual opportunity to discover our virtual machine virtual hard disk is specified in this document, xxx generally GUID, system-generated GUID. You can view the current figure below specified virtual machine virtual hard disk:

C. The above information is to help us understand what changes will be made after the snapshot. Here's how to figure out how to restore the snapshot. Because my virtual machine snapshot done twice, so in the "Virtual Hard Disks" file 3 xxxx.avhdx files will appear. Personal understanding of these three files is done after the fact, snapshot, we are currently using the virtual hard disk. 3 files can be sorted by time, the latest time that was the last we are using virtual machines. Who view it with Hyper parent check disk function is as shown below:

D. As shown above, after finding the parent, click editing disk, perform the following steps:

1.

2. Select the parent file before you view

3.下一步之后点击完成,这个时候它会把1中的文件合并到2中的文件,合并完成之后会自动把1的文件删除掉。

4.重复以上不操作,直到把所有的文件都合并到原来的.vhdx文件中即可。

 

转载于:https://www.cnblogs.com/lynn-lin/p/5539150.html

Guess you like

Origin blog.csdn.net/weixin_33708432/article/details/93639914