Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Backup deduplication method of virtual machine

A virtual machine backup and virtual machine technology, applied in the field of cloud computing management, can solve problems such as long recovery time, large disk space, and large file capacity, and achieve the effect of reducing the probability of data leakage and small storage space

Inactive Publication Date: 2015-03-25
G CLOUD TECH
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. When backing up, a full copy is generated, the file capacity is large, the time required for backup is long, and the disk space occupied is relatively large;
[0009] 2. Data security is not guaranteed. Since the generation is a full backup, once it is obtained, it can be restored to a virtual machine, and user data will be leaked;
[0010] 3. The recovery time is also longer

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Backup deduplication method of virtual machine
  • Backup deduplication method of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] There are many implementations of the present invention, and here we take the implementation of KVM virtualization as an example to illustrate one of the implementation methods, and the flow chart is as follows figure 1 As shown, the specific implementation process is as follows

[0032] 1. Create an external snapshot file for the virtual machine image file, and use the external snapshot file as the virtual machine image file to create a virtual machine;

[0033] Execute "qemu-img create-f qcow2-b master image path virtual machine system image name" to create an external snapshot, the specific code is as follows:

[0034]

[0035] 2. When backing up, first suspend the virtual machine backend IO read and write, then query the corresponding virtual machine image file path through the external snapshot file, obtain the virtual machine image file name, and query whether the virtual machine image file exists in the backup path at the same time, if If it does not exist, g...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of cloud computing management technologies, in particular to a backup deduplication method of a virtual machine. The method comprises the steps that firstly, an external snapshot file is created and serves as a virtual machine mirror image file for creating the virtual machine; then, in the backup process, back-end IO read-write of the virtual machine is halted, a corresponding virtual machine mirror image file path is queried through the external snapshot file, a virtual machine mirror image file name is acquired, whether the virtual machine mirror image file exists in a backup path is queried, if not, the virtual machine mirror image file is copied into the backup path, and if yes, a copy of the external snapshot file is stored into the backup path; in the recovery process, back-end IO read-write of the virtual machine is halted, the external snapshot file copy needing to be recovered is searched for according to time points, an external snapshot file used currently is replaced with the copy, and back-end IO read-write of the virtual machine is recovered accordingly. The method solves the problems that backup recovery is large in occupied space, low in efficiency and low in safety, and can be applied to virtual machine backups.

Description

technical field [0001] The invention relates to the technical field of cloud computing management, in particular to a method for virtual machine backup and deduplication. Background technique [0002] In the era of cloud computing, virtual machines replace physical machines as the carrier for running various applications. Compared with a physical machine, it is much easier to perform a full backup of a virtual machine. Since all the data of the virtual machine, including the operating system and user data, can be packaged into one image file, the situation of the physical machine is different, and the data is scattered. distributed across the file system. The steps for virtual machine backup and recovery are generally as follows: [0003] 1. Suspend IO reading and writing on the backend of the virtual machine; [0004] 2. Copy a copy of the virtual machine image file to another file path as a backup, and record the time point when the file copy is completed; [0005] 3. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06F9/455
Inventor 刘勇彬杨松莫展鹏季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products