CN102981931B - Backup method and device for virtual machine - Google Patents

Backup method and device for virtual machine Download PDF

Info

Publication number
CN102981931B
CN102981931B CN201210511176.4A CN201210511176A CN102981931B CN 102981931 B CN102981931 B CN 102981931B CN 201210511176 A CN201210511176 A CN 201210511176A CN 102981931 B CN102981931 B CN 102981931B
Authority
CN
China
Prior art keywords
virtual machine
snapshot
local
backup
cloud storage
Prior art date
Application number
CN201210511176.4A
Other languages
Chinese (zh)
Other versions
CN102981931A (en
Inventor
邓浩
张云勇
陈清金
周巍
Original Assignee
中国联合网络通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国联合网络通信集团有限公司 filed Critical 中国联合网络通信集团有限公司
Priority to CN201210511176.4A priority Critical patent/CN102981931B/en
Publication of CN102981931A publication Critical patent/CN102981931A/en
Application granted granted Critical
Publication of CN102981931B publication Critical patent/CN102981931B/en

Links

Abstract

The invention provides a backup method and a backup device for a virtual machine. The method comprises the following steps of: acquiring information of at least one virtual machine on a physical machine; carrying out snapshot treatment on the information of the virtual machine and generating a local snapshot file; and uploading the local snapshot file into a cloud storage server so as to back up the local snapshot file in the cloud storage server. According to the backup method and the backup device for the virtual machine, which are provided by the invention, the information of the virtual machine is subjected to snapshot and the generated local snapshot file is uploaded into the cloud storage server to be backed up, so that the snapshot of the virtual machine cannot occupy a great amount of hard disk resources; and moreover, once a local hard disk goes wrong, the snapshot file of the virtual machine, which is stored in the cloud storage server, cannot be influenced, so that the virtual machine established on the local hard disk can be rapidly recovered and an interrupted service or lost data of a user is reduced.

Description

Virtual machine backup method and device

Technical field

The present invention relates to infotech, particularly relate to a kind of virtual machine backup method and device.

Background technology

Intel Virtualization Technology is one of technology of cloud computing epoch most critical.Intel Virtualization Technology fictionalizes multiple operating system in a physical machine, and these systems are exactly so-called virtual machine.In actual production environment particularly publicly-owned cloud system in, virtual machine can be based upon physical server self with local hard drive in.

In prior art, virtual machine is based upon on local hard drive, after carrying out snapshot, is left on local hard drive by the snapshot of virtual machine this virtual machine.But the fast note of prior art virtual machine takies a large amount of hard disk resources, once local hard drive breaks down, the snapshot depositing superincumbent virtual machine may be caused to damage.

Summary of the invention

The invention provides a kind of virtual machine backup method and device, take a large amount of hard disk resources in order to the fast note solving the virtual machine existed in prior art, once local hard drive breaks down, the problem that the snapshot depositing superincumbent virtual machine damages may be caused.

On the one hand, the invention provides a kind of virtual machine backup method, comprising:

Obtain the information of at least one virtual machine in physical machine;

Snapshot process is carried out to the information of described virtual machine, generates local snapshot document;

Described local express is shone files passe in cloud storage server, to make to back up described local snapshot document in described cloud storage server.

On the other hand, the invention provides a kind of virtual machine back-up device, comprising:

Acquisition module, for obtaining the information of at least one virtual machine in physical machine;

Snapshot module, for carrying out snapshot process to the information of described virtual machine, generates local snapshot document;

Upper transmission module, for described local express is shone files passe in cloud storage server, to make to back up described local snapshot document in described cloud storage server.

Virtual machine backup method provided by the invention and device, by obtaining the information of the virtual machine in physical machine, snapshot is carried out to the information of virtual machine, and the local express generated is shone files passe in cloud storage server, to back up this local snapshot document, make the snapshot of virtual machine can not take a large amount of hard disk resources, and once local hard drive breaks down, the snapshot document of the virtual machine left on cloud storage server can not be affected, thus the virtual machine above local hard drive can be based upon by quick-recovery soon, the business that reduction is interrupted or the data that user loses.

Accompanying drawing explanation

Fig. 1 is the schematic flow sheet of a virtual machine backup method of the present invention embodiment;

Fig. 2 is a kind of system structural framework figure realizing scene of virtual backup method embodiment illustrated in fig. 1;

Fig. 3 is the schematic flow sheet of another embodiment of virtual machine backup method of the present invention;

Fig. 4 is the schematic flow sheet of another embodiment of virtual machine backup method of the present invention;

Fig. 5 is the structural representation of a virtual machine back-up device of the present invention embodiment;

Fig. 6 is the structural representation of another embodiment of virtual machine back-up device of the present invention.

Embodiment

The embodiment of the present invention stores based on cloud, to realize the backup to virtual machine.

Cloud storage is in the conceptive extension of cloud computing and development a kind of technology out, refer to by functions such as cluster application, gridding technique or distributed file systems, various dissimilar memory device a large amount of in network is gathered collaborative work by application software, jointly externally provides data to store and Operational Visit function.When the core of cloud computing system computing and process is the store and management of mass data, just need in cloud computing system to configure a large amount of memory devices, so cloud computing system is just transformed into a cloud storage system, so the cloud computing system that cloud storage is is core with data store and management, in the embodiment of the present invention, cloud storage is called cloud storage server.

Cloud storage server is the distributed memory system that an object stores, and usually can adopt three-decker: accumulation layer, operation layer, interface layer.Wherein accumulation layer adopt height can elasticity dispose, the storage system of transparent management, file and the index information of magnanimity can be stored, so-called height can elasticity be disposed namely when cloud storage server is expanded, add a new node in existing cloud storage server, cloud storage server can automatically identify this machine, and data is automatically distributed on this node newly added; Operation layer mainly realizes the function such as data management (authority, classification, state), intelligent association (multi-source fusion, index), so-called multi-source fusion i.e. application (such as file, video, picture, audio frequency etc.) whatever when store data, is all deposit with the form of object on cloud storage server; And interface layer provides application oriented application programming interfaces (Application Programming Interface, be called for short API), application programming interfaces API supports (SATA Revision 3.0, abbreviate SAT A3 or S3) OO memory interface of interfacing standard of relative standard.

Below by specific embodiment and accompanying drawing, technical scheme of the present invention is described in further detail.

Fig. 1 is the schematic flow sheet of a virtual machine backup method of the present invention embodiment.As shown in Figure 1, what the present embodiment described is the information back-up process of virtual machine, the executive agent of following steps can be any physical machine in server cluster, be specifically as follows the physical machine being provided with virtualization software (such as VMwareESX) or XEN virtual platform, the method comprises the following steps:

S101, obtains the information of at least one virtual machine in physical machine;

Particularly, in the server cluster that large-scale server forms, every platform physical machine can fictionalize multiple virtual machine.When backing up virtual machine, can according to the needs of user, the time point preset, obtains the information of the virtual machine in physical machine, to realize the backup to virtual machine.The time point preset, can be each to after virtual machine operations, also can be a set time point of every day, such as every day After Hours.

Wherein, the information of virtual machine can be the memory information etc. of the status information of virtual machine, the data message of virtual machine or virtual machine.

S102, carries out snapshot process to the information of virtual machine, generates local snapshot document;

Particularly, the appearance of snapping technique, the backup of virtual machine is made to be easy to realize, especially the virtual machine on storing is shared for being based upon, but for the virtual machine be based upon on local hard drive, snapshot process is carried out to the information of virtual machine, if the local snapshot document of generation is deposited can only leave on local hard drive.

Wherein, snapshot process specifically can be performed by the dos command line DOS instrument on VMware ESX software control platform, the Information encapsulation of virtual machine is become a local snapshot document.

S103, shines files passe in cloud storage server, to make to back up local snapshot document in cloud storage server by local express.

Particularly, by the local snapshot document generated, upload in cloud storage server by the application programming interfaces API of cloud storage server, in cloud storage server, back up this local snapshot document, to realize the backup to virtual machine.Wherein, application programming interfaces API can be declarative state transfer (Representational State Transfer, be called for short REST) Web server (Web Service), and software development data bag (Software Development Kit, be called for short SDK) etc.

As a kind of feasible embodiment, the local snapshot document of generation can directly be uploaded to cloud storage server; As the embodiment that another kind is feasible, the local snapshot document generated first can also be stored on local hard drive, from local hard drive, local express is shone files passe in cloud storage server again, after uploading, the local snapshot document left on local hard drive can be deleted.

Fig. 2 is a kind of system structural framework figure realizing scene of virtual backup method embodiment illustrated in fig. 1.As shown in Figure 2, physical machine 21, server cluster 22 and cloud storage server 23 is comprised.Wherein physical machine 21 can be any physical machine in server cluster 22.

After physical machine 21 obtains the information of at least one virtual machine on it, snapshot process is carried out to the information of virtual machine, generate local snapshot document, then local express is shone files passe in cloud storage server 23, thus make to back up local snapshot document in cloud storage server 23.

The virtual machine backup method that the embodiment of the present invention provides, by obtaining the information of the virtual machine in physical machine, snapshot is carried out to the information of virtual machine, and the local express generated is shone files passe in cloud storage server, to back up this local snapshot document, make the snapshot of virtual machine can not take a large amount of hard disk resources, and once local hard drive breaks down, the snapshot document of the virtual machine left on cloud storage server can not be affected, thus the virtual machine above local hard drive can be based upon by quick-recovery soon, the business that reduction is interrupted or the data that user loses.

Fig. 3 is the schematic flow sheet of another embodiment of virtual machine backup method of the present invention.As shown in Figure 3, what the present embodiment described is the detailed process of above-mentioned virtual machine backup method embodiment illustrated in fig. 1, and the method comprises the following steps:

S301, obtains the information of at least one virtual machine in physical machine;

S302, generating virtual machines snapshot state table, virtual machine snapshot state table comprises the mark of at least one virtual machine and the snapshot state information of correspondence thereof; Virtual machine snapshot state table is as shown in table 1:

Table 1

Particularly, obtain the information of the virtual machine that concrete time point is corresponding in physical machine, the information of virtual machine can comprise the data message of virtual machine and/or the memory information of virtual machine, the quantity of record virtual machine, and the quantity of virtual machine is set to the quantity of snapshot and the quantity of transmission, generate an empty virtual machine snapshot state table.Empty virtual machine snapshot state table, comprises the mark (such as virtual machine account ID) of virtual machine and corresponding snapshot state information.Snapshot state information can comprise virtual machine snapshot name and state, and wherein virtual machine snapshot name, state are empty.

S303, carries out snapshot process to the information of virtual machine, generates local snapshot document;

S304, upgrades virtual machine snapshot state table;

S305, scanning virtual machine snapshot state table, determines to be uploaded to not uploading local snapshot document in described cloud storage server according to snapshot state information;

S306, shines files passe in cloud storage server, to make to back up local snapshot document in cloud storage server by the local express do not uploaded.

Particularly, the information of every snapshot virtual machine, generates a local snapshot document, the quantity of snapshot is subtracted one, judges whether the quantity of snapshot is 0, carries out snapshot to continue or to terminate to the information of next virtual machine.Obtain the information of snapshot, upgrade virtual machine snapshot state table by the information write virtual machine snapshot state table of snapshot, comprise write virtual machine snapshot name and state.Wherein, virtual machine snapshot name comprises virtual machine account ID and time, and this time is the concrete time point that snapshot produces; Original state, represents with 0.Scanning virtual machine snapshot state table, by what do not upload, namely state be 0 local express corresponding to virtual machine according to files passe in cloud storage server; After the local express do not uploaded is shone files passe to cloud storage server by physical machine, can upgrade accordingly virtual machine snapshot state table, particularly, often upload a local snapshot document, upgrade a virtual machine snapshot state table, the state by corresponding virtual machine is set to 1, the quantity of transmission is subtracted one simultaneously, judge whether the quantity transmitted is 0, transmits the local snapshot document of the next one to continue or to terminate.

The virtual machine backup method that the embodiment of the present invention provides, by obtaining the information of the virtual machine in physical machine, generating virtual machines snapshot state table, snapshot is carried out to the information of virtual machine, upgrade virtual machine snapshot state table, scanning virtual machine snapshot state table, according to snapshot state information, the local express do not uploaded is shone files passe in cloud storage server, to back up this local snapshot document, and upgrade described virtual machine snapshot state table, the local snapshot document making to carry out snapshot to the information of virtual machine and upload generation is more orderly, and the snapshot of virtual machine can not take a large amount of hard disk resources, and once local hard drive breaks down, the snapshot document of the virtual machine left on cloud storage server can not be affected, thus the virtual machine above local hard drive can be based upon by quick-recovery soon, the business that reduction is interrupted or the data that user loses.

Fig. 4 is the schematic flow sheet of another embodiment of virtual machine backup method of the present invention.As shown in Figure 4, the present embodiment is on the basis of Fig. 1 or virtual machine backup method embodiment illustrated in fig. 3, still further provides the failover procedure in virtual machine backup method implementation, the method can be carried out in real time in Fig. 1 or virtual machine backup method embodiment illustrated in fig. 3.The method comprises the following steps:

S401, monitors at least one virtual machine;

This step is specifically as follows: to physical machine and on the network traffics of at least one virtual machine and resource utilization monitor.

Particularly, the situation (such as: network traffics and/or resource utilization) of at least one physical machine at least one virtual machine in same server cluster and place thereof is monitored, when there is abnormal (such as: network traffics and/or resource utilization exceed setting threshold value) in situation, sent a warning message by the mode such as note or alarm, can search in order to follow-up the problem whether existence can cause virtual machine to break down.

S402, if virtual machine breaks down, then obtains the local snapshot document of backup from cloud storage server, and recovers virtual machine according to the local snapshot document of backup.

This step is specifically as follows: if virtual machine breaks down, then determine the physical machine that breaks down and at least one virtual machine; According to the physical machine broken down described in determined and at least one virtual machine, obtain the described local snapshot document of corresponding backup from described cloud storage server; According to the described local snapshot document of the correspondence backup obtained from described cloud storage server, at least one virtual machine in the described physical machine broken down is recovered.

Particularly, when the problem that existence can cause virtual machine to break down (local hard drive in the physical machine at such as virtual machine place or physical machine breaks down), can transmission request information, with determine need recover object i.e. which physical machine on one or more virtual machines (local hard drive in the physical machine or physical machine at virtual machine place breaks down, when causing virtual machine to break down, the object recovered then is needed to be multiple virtual machines in the physical machine that breaks down), and namely the position of recovering recovers these virtual machines in which physical machine, can recover in original physical machine, also other the physical machine in same server cluster can be carried out recovering that (local hard drive in the physical machine or physical machine at virtual machine place breaks down, when causing virtual machine to break down, then can only other the physical machine in same server cluster be recovered).Can detect hard disk by physical machine in this locality whether to break down, or whether the hard disk that manual type can also be adopted to search every platform physical machine by keeper breaks down.The object that can recover as required and the position of recovery, the local snapshot document of backup corresponding to these virtual machines is obtained from cloud storage server, and according to these backup snapshots files got from cloud storage server, recover these virtual machines, rejuvenation can also can singlely be recovered by batch save.

The virtual machine backup method that the embodiment of the present invention provides, by monitoring the situation of the physical machine of virtual machine and place thereof in real time, and when monitoring virtual machine and breaking down, the local snapshot document of backup is obtained from cloud storage server, thus the virtual machine that breaks down can be recovered fast, the business that reduction is interrupted or the data that user loses.

Fig. 5 is the structural representation of a virtual machine back-up device of the present invention embodiment.As shown in Figure 5, this device comprises: acquisition module 51, snapshot module 52 and upper transmission module 53.

Wherein, acquisition module 51, for obtaining the information of at least one virtual machine in physical machine;

Particularly, in the server cluster that large-scale server forms, every platform physical machine can fictionalize multiple virtual machine.When backing up virtual machine, acquisition module 51 can according to the needs of user, the time point preset, and obtain the information of the virtual machine in physical machine, to realize the backup to virtual machine.The time point preset, can be each to after virtual machine operations, also can be a set time point of every day, such as every day After Hours.

Wherein, the information of virtual machine can be the memory information of the status information of virtual machine, the data message of virtual machine or virtual machine.

Snapshot module 52, the information for the virtual machine got acquisition module 51 carries out snapshot process, generates local snapshot document;

Particularly, the appearance of snapping technique, the backup of virtual machine is made to be easy to realize, especially the virtual machine on storing is shared for being based upon, but for the virtual machine be based upon on local hard drive, the information of the virtual machine that snapshot module 52 pairs of acquisition modules 51 get carries out snapshot process, if the local snapshot document of generation is deposited can only leave on local hard drive.

Wherein, snapshot process is specifically as follows: snapshot module 52 performs snapshot process by the dos command line DOS instrument on VMware ESX software control platform, the Information encapsulation of virtual machine is become a local snapshot document.

Upper transmission module 53, the local express for snapshot module 52 being generated shines files passe in cloud storage server, to make to back up local snapshot document in cloud storage server.

Particularly, the local snapshot document that snapshot module 52 generates by upper transmission module 53, uploads in cloud storage server by the API of cloud storage server, backs up this local snapshot document in cloud storage server, to realize the backup to virtual machine.Wherein, API can be the Web Service of REST, and SDK etc.

As a kind of feasible embodiment, the local snapshot document that snapshot module 52 generates can be directly uploaded to cloud storage server by upper transmission module 53; As the embodiment that another kind is feasible, the local snapshot document that snapshot module 52 generates can also first be stored on local hard drive by upper transmission module 53, from local hard drive, local express is shone files passe in cloud storage server again, after uploading, the local snapshot document left on local hard drive can be deleted.

The virtual machine back-up device that the embodiment of the present invention provides, the information of the virtual machine got by snapshot module 52 pairs of acquisition modules 51 carries out snapshot, and shine files passe in cloud storage server by the local express that snapshot module 52 generates by upper transmission module 53, to back up this local snapshot document, make the snapshot of virtual machine can not take a large amount of hard disk resources, and once local hard drive breaks down, the snapshot document of the virtual machine left on cloud storage server can not be affected, thus the virtual machine above local hard drive can be based upon by quick-recovery soon, the business that reduction is interrupted or the data that user loses.

Fig. 6 is the structural representation of another embodiment of virtual machine back-up device of the present invention.As shown in Figure 6, this device comprises: acquisition module 51, snapshot module 52, upper transmission module 53, monitoring module 54 and recovery module 55.

Wherein, acquisition module 51, for obtaining the information of at least one virtual machine in physical machine; Generating virtual machines snapshot state table, virtual machine snapshot state table comprises the mark of at least one virtual machine and the snapshot state information of correspondence thereof.Shown in the table 1 of virtual machine snapshot state table as shown in Figure 3 above in embodiment.

Particularly, acquisition module 51 obtains the information of the virtual machine that concrete time point is corresponding in physical machine, the information of virtual machine can comprise the data message of virtual machine and/or the memory information of virtual machine, the quantity of record virtual machine, and the quantity of virtual machine is set to the quantity of snapshot and the quantity of transmission, generate an empty virtual machine snapshot state table.Empty virtual machine snapshot state table, comprises the mark (such as virtual machine account ID) of virtual machine and corresponding snapshot state information.Snapshot state information can comprise virtual machine snapshot name and state, and wherein virtual machine snapshot name, state are empty.

Snapshot module 52, the information for the virtual machine got acquisition module 51 carries out snapshot process, generates local snapshot document; Upgrade virtual machine snapshot state table; Scanning virtual machine snapshot state table, determines to be uploaded to not uploading local snapshot document in described cloud storage server according to snapshot state information.

Upper transmission module 53, for snapshot module 52 is generated, the local express do not uploaded according to files passe in cloud storage server, to make to back up local snapshot document in cloud storage server;

Particularly, the information of the every snapshot virtual machine of snapshot module 52, generates a local snapshot document, the quantity of snapshot is subtracted one, judge whether the quantity of snapshot is 0, carry out snapshot to continue or to terminate to the information of next virtual machine.Snapshot module 52 obtains the information of snapshot, upgrades virtual machine snapshot state table by the information write virtual machine snapshot state table of snapshot, comprises write virtual machine snapshot name and state.Wherein, virtual machine snapshot name comprises virtual machine account ID and time, and this time is the concrete time point that snapshot produces; Original state, represents with 0.Snapshot module 52 scans the virtual machine snapshot state table after upgrading, and is that the local snapshot document corresponding to virtual machine of 0 is defined as local snapshot document to be uploaded by state; The local express to be uploaded that snapshot module 52 is determined by upper transmission module 53 shines files passe in cloud storage server.Upper transmission module 53 often uploads a local snapshot document, snapshot module 52 upgrades a virtual machine snapshot state table, state by corresponding virtual machine is set to 1, the quantity of transmission is subtracted one simultaneously, judge whether the quantity transmitted is 0, transmits the local snapshot document of the next one to continue or to terminate.

Monitoring module 54, for monitoring at least one virtual machine.Specifically may be used for: to physical machine and on the network traffics of at least one virtual machine and resource utilization monitor.

Particularly, the situation (such as: network traffics and/or resource utilization) of monitoring module 54 at least one physical machine at least one virtual machine in same server cluster and place thereof is monitored, when there is abnormal (such as: network traffics and/or resource utilization exceed setting threshold value) in situation, sent a warning message by the mode such as note or alarm, can search in order to follow-up the problem whether existence can cause virtual machine to break down.

Recover module 55, if break down for virtual machine, then from cloud storage server, obtain the local snapshot document of backup, and according to the local snapshot document of backup, virtual machine is recovered.Specifically may be used for: if virtual machine breaks down, then determine the physical machine that breaks down and at least one virtual machine; According to the determined physical machine that breaks down and at least one virtual machine, obtain the local snapshot document of corresponding backup from cloud storage server; According to the local snapshot document of the correspondence backup obtained from cloud storage server, at least one virtual machine in the physical machine broken down is recovered.

Particularly, when the problem that existence can cause virtual machine to break down (local hard drive in the physical machine at such as virtual machine place or physical machine breaks down), recovering module 55 can transmission request information, with determine need recover object i.e. which physical machine on one or more virtual machines (local hard drive in the physical machine or physical machine at virtual machine place breaks down, when causing virtual machine to break down, the object recovered then is needed to be multiple virtual machines in the physical machine that breaks down), and namely the position of recovering recovers these virtual machines in which physical machine, can recover in original physical machine, also other the physical machine in same server cluster can be carried out recovering that (local hard drive in the physical machine or physical machine at virtual machine place breaks down, when causing virtual machine to break down, then can only other the physical machine in same server cluster be recovered).Can detect hard disk by physical machine in this locality whether to break down, or whether the hard disk that manual type can also be adopted to search every platform physical machine by keeper breaks down.Recovering module 55 can according to the object of needs recovery of specifying and the position of recovery, the local snapshot document of backup corresponding to these virtual machines is obtained from cloud storage server, and according to these backup snapshots files got from cloud storage server, recover these virtual machines, rejuvenation can also can singlely be recovered by batch save.

The virtual machine back-up device that the embodiment of the present invention provides, the situation of the physical machine at virtual machine and place thereof is monitored in real time by monitoring module 54, and when monitoring virtual machine and breaking down, recover the local snapshot document that module 55 obtains backup from cloud storage server, thus the virtual machine that breaks down can be recovered fast, the business that reduction is interrupted or the data that user loses.

One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.

Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (9)

1. a virtual machine backup method, is characterized in that, comprising:
Obtain the information of at least one virtual machine in physical machine;
Snapshot process is carried out to the information of described virtual machine, generates local snapshot document;
Described local express is shone files passe in cloud storage server, to make to back up described local snapshot document in described cloud storage server;
After the information of at least one virtual machine in described acquisition physical machine, also comprise:
Generating virtual machines snapshot state table, described virtual machine snapshot state table comprises the described mark of at least one virtual machine and the snapshot state information of correspondence thereof;
The described information to described virtual machine also comprises after carrying out snapshot process:
Upgrade described virtual machine snapshot state table;
Scanning described virtual machine snapshot state table, determining according to described snapshot state information to be uploaded to not uploading local snapshot document in described cloud storage server.
2. virtual machine backup method according to claim 1, is characterized in that, the information of described virtual machine comprises: the data message of virtual machine and/or the memory information of virtual machine.
3. virtual machine backup method according to claim 1, is characterized in that, also comprises:
At least one virtual machine described is monitored;
If described virtual machine breaks down, then from described cloud storage server, obtain the described local snapshot document of backup, and according to the described local snapshot document of backup, described virtual machine is recovered.
4. virtual machine backup method according to claim 3, is characterized in that, the described described local snapshot document obtaining backup from described cloud storage server, and recovers described virtual machine according to the described local snapshot document of backup, is specially:
Determine the physical machine that breaks down and at least one virtual machine;
According to the physical machine broken down described in determined and at least one virtual machine, obtain the described local snapshot document of corresponding backup from described cloud storage server;
According to the described local snapshot document of the correspondence backup obtained from described cloud storage server, at least one virtual machine in the described physical machine broken down is recovered.
5. virtual machine backup method according to claim 3, is characterized in that, describedly monitors at least one virtual machine described, is specially:
To described physical machine and at least one described in the network traffics of virtual machine and resource utilization monitor.
6. a virtual machine back-up device, is characterized in that, comprising:
Acquisition module, for obtaining the information of at least one virtual machine in physical machine;
Snapshot module, for carrying out snapshot process to the information of described virtual machine, generates local snapshot document;
Upper transmission module, for described local express is shone files passe in cloud storage server, to make to back up described local snapshot document in described cloud storage server;
Described acquisition module also for: after the information obtaining at least one virtual machine in physical machine, generating virtual machines snapshot state table, described virtual machine snapshot state table comprises the described mark of at least one virtual machine and the snapshot state information of correspondence thereof;
Described snapshot module also for: after snapshot process is carried out to the information of described virtual machine, upgrade described virtual machine snapshot state table; Scanning described virtual machine snapshot state table, determining according to described snapshot state information to be uploaded to not uploading local snapshot document in described cloud storage server.
7. virtual machine back-up device according to claim 6, is characterized in that, also comprise:
Monitoring module, for monitoring at least one virtual machine described;
Recover module, if break down for described virtual machine, then from described cloud storage server, obtain the described local snapshot document of backup, and according to the described local snapshot document of backup, described virtual machine is recovered.
8. virtual machine back-up device according to claim 7, is characterized in that, described recovery module specifically for:
If described virtual machine breaks down, then determine the physical machine that breaks down and at least one virtual machine; According to the physical machine broken down described in determined and at least one virtual machine, obtain the described local snapshot document of corresponding backup from described cloud storage server; According to the described local snapshot document of the correspondence backup obtained from described cloud storage server, at least one virtual machine in the described physical machine broken down is recovered.
9. virtual machine back-up device according to claim 7, is characterized in that, described monitoring module specifically for:
To described physical machine and at least one described in the network traffics of virtual machine and resource utilization monitor.
CN201210511176.4A 2012-12-03 2012-12-03 Backup method and device for virtual machine CN102981931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210511176.4A CN102981931B (en) 2012-12-03 2012-12-03 Backup method and device for virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210511176.4A CN102981931B (en) 2012-12-03 2012-12-03 Backup method and device for virtual machine

Publications (2)

Publication Number Publication Date
CN102981931A CN102981931A (en) 2013-03-20
CN102981931B true CN102981931B (en) 2015-04-15

Family

ID=47855986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210511176.4A CN102981931B (en) 2012-12-03 2012-12-03 Backup method and device for virtual machine

Country Status (1)

Country Link
CN (1) CN102981931B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348653A (en) * 2013-08-06 2015-02-11 中国电信股份有限公司 Method and system for realizing user task of cloud management platform as well as trigger
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN104572340A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Incremental backup system and method
CN103729264B (en) * 2013-12-23 2016-07-13 国云科技股份有限公司 A kind of Windows virtual machine system disk backup and reduction method
CN104793981B (en) * 2014-01-20 2018-08-31 联想(北京)有限公司 A kind of online snapshot management method and device of cluster virtual machine
CN104111878A (en) * 2014-02-20 2014-10-22 西安未来国际信息股份有限公司 Automatic hadoop cluster restoration technology on basis of snapshots of virtual machines
US9454315B2 (en) 2014-04-02 2016-09-27 International Business Machines Corporation Efficient flashcopy backup target volume allocation from a shared resource pool while ingesting a flashcopy backup in a repository
US9817724B2 (en) 2014-04-02 2017-11-14 International Business Machines Corporation Efficient FlashCopy backup target volume allocation with reuse and a shared resource pool
US9690500B2 (en) * 2014-04-02 2017-06-27 International Business Machines Corporation Efficient flashcopy backup target volume allocation
US9442664B2 (en) 2014-04-02 2016-09-13 International Business Machines Corporation Efficient flashcopy backup target volume allocation from a shared resource pool
CN104216801B (en) * 2014-09-04 2017-06-16 北京联创信安科技股份有限公司 The data copy method and system of a kind of Virtual environment
CN104461785A (en) * 2014-12-15 2015-03-25 中电长城网际系统应用有限公司 Data backup method, data recovery method and device of virtual machine and physic machine
CN105094897B (en) * 2015-07-02 2019-05-28 华为技术有限公司 A kind of virtual machine starting method, cloud access equipment and cloud computing center
CN105224391B (en) * 2015-10-12 2018-10-12 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN106909475A (en) * 2015-12-23 2017-06-30 中国移动通信集团重庆有限公司 Row data backup, the method and apparatus recovered are stored in based on object
CN106411832A (en) * 2016-03-30 2017-02-15 苏州美天网络科技有限公司 Cloud authentication hard disk recovery method
CN105763560A (en) * 2016-04-15 2016-07-13 北京思特奇信息技术股份有限公司 Web Service interface flow real-time monitoring method and system
CN106598785A (en) * 2016-12-16 2017-04-26 广东美晨通讯有限公司 File system backup and restoration method and device
US10789205B1 (en) 2017-04-30 2020-09-29 EMC IP Holding Company LLC Cloud data archiving using promoted objects list
US10701153B1 (en) 2017-04-30 2020-06-30 EMC IP Holding Company LLC Cloud data archiving using latest snapshot metadata
US10496599B1 (en) 2017-04-30 2019-12-03 EMC IP Holding Company LLC Cloud data archiving using chunk-object mapping and synthetic full backup
CN107256185A (en) * 2017-06-05 2017-10-17 广西犇云科技有限公司 A kind of Cloud Server disk repair system
CN107463467B (en) * 2017-08-24 2020-10-02 浪潮(北京)电子信息产业有限公司 Method and system capable of quickly restoring virtualization platform
CN108182128A (en) * 2017-12-29 2018-06-19 广州鼎甲计算机科技有限公司 Based on XEN without Agent virtual back-up restoring method
CN108958883A (en) * 2018-06-15 2018-12-07 北京奇艺世纪科技有限公司 The restoration methods and system of virtual machine in cloud computing cluster
CN109558213A (en) * 2018-11-30 2019-04-02 郑州云海信息技术有限公司 The method and apparatus for managing the virtual machine snapshot of OpenStack platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8219769B1 (en) * 2010-05-04 2012-07-10 Symantec Corporation Discovering cluster resources to efficiently perform cluster backups and restores
CN102576322A (en) * 2009-08-21 2012-07-11 赛门铁克公司 Proxy backup of virtual disk image files on NAS devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102576322A (en) * 2009-08-21 2012-07-11 赛门铁克公司 Proxy backup of virtual disk image files on NAS devices
US8219769B1 (en) * 2010-05-04 2012-07-10 Symantec Corporation Discovering cluster resources to efficiently perform cluster backups and restores

Also Published As

Publication number Publication date
CN102981931A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
US10489249B2 (en) Dynamic triggering of block-level backups based on block change thresholds and corresponding file identities using communication pathways between co-resident data agents
US10360110B2 (en) Point-in-time backups of a production application made accessible over fibre channel and/or iSCSI as data sources to a remote application by representing the backups as pseudo-disks operating apart from the production application and its host
US10761947B2 (en) Systems and methods for host image transfer
US10747630B2 (en) Heartbeat monitoring of virtual machines for initiating failover operations in a data storage management system, including operations by a master monitor node
US10228962B2 (en) Live synchronization and management of virtual machines across computing and virtualization platforms and using live synchronization to support disaster recovery
US10205780B2 (en) Cross-system storage management for transferring data across autonomous information management systems
US10387266B2 (en) Application-level live synchronization across computing platforms including synchronizing co-resident applications to disparate standby destinations and selectively synchronizing some applications and not others
US10313196B2 (en) Automated grouping of computing devices in a networked data storage system
US20200034252A1 (en) Time-based virtual machine reversion
US9906598B1 (en) Distributed data storage controller
US20190243729A1 (en) Restoration of centralized data storage manager, such as data storage manager in a hierarchical data storage system
US9727429B1 (en) Method and system for immediate recovery of replicated virtual machines
EP2946293B1 (en) Healing cloud services during upgrades
US9201736B1 (en) Methods and apparatus for recovery of complex assets in distributed information processing systems
US9639588B2 (en) Operation method and apparatus for data storage system
US9552405B1 (en) Methods and apparatus for recovery of complex assets in distributed information processing systems
US10191879B2 (en) System and method for creating snapshots in openflame environment
US10298710B2 (en) Assigning data agent proxies for executing virtual-machine secondary copy operations including streaming backup jobs
US10534672B2 (en) Information management by a media agent in the absence of communications with a storage manager
US8738883B2 (en) Snapshot creation from block lists
TWI608419B (en) Method for pre-testing software compatibility and system thereof
CN103189847B (en) For the method and apparatus of operating data processing system
US8949188B2 (en) Efficient backup and restore of a cluster aware virtual input/output server (VIOS) within a VIOS cluster
ES2600914T3 (en) Replicated virtual storage management in recovery sites
CN102902600B (en) Efficient application-aware disaster recovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant