Snapshot
Hyper-V provides the ability to take a captured snapshot of a virtual machine in a row, so it can be easily recovered to the previous state, which is useful for testing environments.
The function of a snapshot is very good, but every time a snapshot is taken, it consumes the same amount of hard disk resources, especially the current snapshot point and the previous snapshot dot, although not necessarily very large, but also pay attention to the use of the hard disk space. Snapshots do not require a pause or a normal set of snapshots, but note that when the snapshot set is set up, the synchronized host should not take the snapshot or the original snapshot to avoid the loss of the information.
? Snapshot of the preset path:
C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshosts
? Up to 50 snapshots.
STEP1: There are two kinds of virtual machines that create snapshots, the Hyper-V Manager chooses the virtual machine, and then the virtual machine moves on the snapshot.
Or, in the Virtual Machine Connection window, click on the snapshot button or the function column to select "Snapshot".
STEP2: Virtual Machine Connection window Press the snapshot function, will appear a snapshot of the name of the box, ask whether to customize the name of this snapshot, enter the snapshot name in the box, press "Yes", press "Cancel", the virtual machine name plus time as a snapshot name.
STEP3: After the virtual machine snapshot is established, the Hyper-V administrator selects the virtual machine that was just created, and the snapshot window sees the set up snapshot, as shown in the following image, the first snapshot is a snapshot created using the Hyper-V Manager window, so the snapshot name takes the virtual machine name plus time, The second snapshot is to use the Virtual Machine Connection window to customize the snapshot name, the more snapshots point how to distinguish between the new snapshot point, the closer to the present point, the more the snapshot point is older, the more new.
STEP4: When a snapshot is completed, a copy of the file named Avhdx is added to the virtual hard drive of the virtual machine, so the more snapshots you create, the more files you use, and the more space you'll be using, and the more the Hyper-V Manager will delete the snapshot. The snapshot files are also deleted without waiting for the machine, and the previous version needs to wait for the snapshot file to disappear.
Windows Server-Hyper-V Snapshot