Hyper-V 3 virtual machine Snapshot Learning (i) Introduction to snapshot applications

Source: Internet
Author: User

What is a snapshot

Snapshots can record the full state of a point-in-time virtual machine operating system and crawl the current system state through the Microsoft Volume Shadow Copy Service (Volume Shadow Copy Services) technology, and you can put all the states of a virtual machine at some point (memory, disk, network, files, etc.) crawled as a mirrored file, and at any later time, the actual state could be restored by snapshot. As with the camera feature, the state of a point in time is fixed.

Under what circumstances is a snapshot used

In Hyper-V, snapshots are easy to use, available at all times, and easy to create and apply. Snapshots are like a digital camera, the technology behind the scenes is complex, but the operation is simple and easy to understand. Under what circumstances does a snapshot need to be used?

L system-level testing, including patch updates, bug fixes, etc.

L Business System new function test.

In the above application, it is recommended that you first create a snapshot and then test the system. Note, however, that snapshots are not equivalent to backups and cannot be used as a method of regular backups.

What time can I create a snapshot

Snapshots can be created for the virtual machine at any time and automatically embedded in the snapshot tree of the virtual machine when the snapshot is created. In the snapshot properties, you can view the details of the snapshot. The virtual machine settings in the snapshot are read-only. A snapshot tree example is shown in Figure 1.

Figure 1

Data to be processed by the snapshot

After the snapshot is created, the original virtual disk file (VHD or VHDX) cannot write data. After capturing the snapshot, all disk updates are written to another snapshot file with the suffix "avhd or AVHDX." It also backs up the memory of the virtual machine while it is crawling. That is, when the snapshot is crawled, two tasks are done simultaneously (each grab snapshot completes two tasks):

First, copying a copy of the virtual machine memory at that time, taking up less disk space.

Second, create a new snapshot file with a suffix of "avhd or AVHDX" for differential backups, after which all data that should be written to the disk will be written to the AVHD or AVHDX file, keeping the original VHD or VHDX file unchanged.

The snapshot files created by the virtual hard disk in VHDX format are shown in Figure 2.

Figure 2

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/virtualization/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.