[go: up one dir, main page]

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

Backup method and device for virtual machine Download PDF

Info

Publication number
CN102981931A
CN102981931A CN2012105111764A CN201210511176A CN102981931A CN 102981931 A CN102981931 A CN 102981931A CN 2012105111764 A CN2012105111764 A CN 2012105111764A CN 201210511176 A CN201210511176 A CN 201210511176A CN 102981931 A CN102981931 A CN 102981931A
Authority
CN
China
Prior art keywords
virtual machine
snapshot
local
cloud storage
information
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2012105111764A
Other languages
Chinese (zh)
Other versions
CN102981931B (en
Inventor
邓浩
张云勇
陈清金
周巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种虚拟机备份方法及装置。该方法包括:获取物理机上的至少一个虚拟机的信息;对所述虚拟机的信息进行快照处理,生成本地快照文件;将所述本地快照文件上传到云存储服务器中,以使所述云存储服务器中备份所述本地快照文件。本发明提供的虚拟机备份方法及装置,通过对虚拟机的信息进行快照,将生成的本地快照文件上传到云存储服务器中进行备份,使得虚拟机的快照不会占用大量硬盘资源,而且一旦本地硬盘发生故障,不会影响存放在云存储服务器上的虚拟机的快照文件,从而能快速恢复建立在本地硬盘上面的虚拟机,还原中断的业务或用户丢失的数据。

Figure 201210511176

The invention provides a virtual machine backup method and device. The method includes: acquiring information of at least one virtual machine on a physical machine; performing snapshot processing on the information of the virtual machine to generate a local snapshot file; uploading the local snapshot file to a cloud storage server, so that the cloud storage The local snapshot file is backed up in the server. The virtual machine backup method and device provided by the present invention, by taking a snapshot of the information of the virtual machine, upload the generated local snapshot file to the cloud storage server for backup, so that the snapshot of the virtual machine will not occupy a large amount of hard disk resources, and once the local If the hard disk fails, it will not affect the snapshot file of the virtual machine stored on the cloud storage server, so that the virtual machine built on the local hard disk can be quickly restored, and the interrupted business or data lost by the user can be restored.

Figure 201210511176

Description

虚拟机备份方法及装置Virtual machine backup method and device

技术领域 technical field

本发明涉及信息技术,尤其涉及一种虚拟机备份方法及装置。The invention relates to information technology, in particular to a virtual machine backup method and device.

背景技术 Background technique

虚拟化技术是云计算时代最关键的技术之一。虚拟化技术是在一台物理机上虚拟出多个操作系统,而这些系统就是所谓的虚拟机。在实际生产环境中特别是公有云的系统中,虚拟机会建立在物理服务器自身所带的本地硬盘中。Virtualization technology is one of the most critical technologies in the era of cloud computing. Virtualization technology is to virtualize multiple operating systems on a physical machine, and these systems are so-called virtual machines. In an actual production environment, especially in a public cloud system, a virtual machine is created on the local hard disk of the physical server itself.

现有技术中,虚拟机建立在本地硬盘上,对该虚拟机进行快照备份后,将虚拟机的快照存放在本地硬盘上。然而,现有技术虚拟机的快照会占用大量硬盘资源,一旦本地硬盘发生故障,可能导致存放在上面的虚拟机的快照损坏。In the prior art, a virtual machine is established on a local hard disk, and after a snapshot backup is performed on the virtual machine, the snapshot of the virtual machine is stored on the local hard disk. However, in the prior art, a snapshot of a virtual machine occupies a large amount of hard disk resources, and once a local hard disk fails, the snapshot of the virtual machine stored thereon may be damaged.

发明内容 Contents of the invention

本发明提供了一种虚拟机备份方法及装置,用以解决现有技术中存在的虚拟机的快照会占用大量硬盘资源,一旦本地硬盘发生故障,可能导致存放在上面的虚拟机的快照损坏的问题。The present invention provides a virtual machine backup method and device, which are used to solve the problem in the prior art that the snapshot of the virtual machine will occupy a large amount of hard disk resources. Once the local hard disk fails, the snapshot of the virtual machine stored on it may be damaged. question.

一方面,本发明提供了一种虚拟机备份方法,包括:On the one hand, the present invention provides a kind of virtual machine backup method, comprising:

获取物理机上的至少一个虚拟机的信息;Obtain information about at least one virtual machine on the physical machine;

对所述虚拟机的信息进行快照处理,生成本地快照文件;Perform snapshot processing on the information of the virtual machine to generate a local snapshot file;

将所述本地快照文件上传到云存储服务器中,以使所述云存储服务器中备份所述本地快照文件。uploading the local snapshot file to a cloud storage server, so that the cloud storage server backs up the local snapshot file.

另一方面,本发明提供了一种虚拟机备份装置,包括:In another aspect, the present invention provides a virtual machine backup device, including:

获取模块,用于获取物理机上的至少一个虚拟机的信息;An acquisition module, configured to acquire information about at least one virtual machine on the physical machine;

快照模块,用于对所述虚拟机的信息进行快照处理,生成本地快照文件;A snapshot module, configured to perform snapshot processing on the information of the virtual machine to generate a local snapshot file;

上传模块,用于将所述本地快照文件上传到云存储服务器中,以使所述云存储服务器中备份所述本地快照文件。An upload module, configured to upload the local snapshot file to a cloud storage server, so that the cloud storage server can back up the local snapshot file.

本发明提供的虚拟机备份方法及装置,通过获取物理机上的虚拟机的信息,对虚拟机的信息进行快照,并将生成的本地快照文件上传到云存储服务器中,以备份该本地快照文件,使得虚拟机的快照不会占用大量硬盘资源,而且一旦本地硬盘发生故障,不会影响存放在云存储服务器上的虚拟机的快照文件,从而能快速恢复建立在本地硬盘上面的虚拟机,还原中断的业务或用户丢失的数据。The virtual machine backup method and device provided by the present invention obtain the information of the virtual machine on the physical machine, take a snapshot of the information of the virtual machine, and upload the generated local snapshot file to the cloud storage server to back up the local snapshot file, The snapshot of the virtual machine will not take up a lot of hard disk resources, and once the local hard disk fails, it will not affect the snapshot file of the virtual machine stored on the cloud storage server, so that the virtual machine built on the local hard disk can be quickly restored, and the restoration is interrupted business or user data lost.

附图说明 Description of drawings

图1为本发明虚拟机备份方法一个实施例的流程示意图;FIG. 1 is a schematic flow diagram of an embodiment of a virtual machine backup method of the present invention;

图2为图1所示实施例的虚拟备份方法一种实现场景的系统结构框架图;Fig. 2 is a system structural framework diagram of an implementation scenario of the virtual backup method of the embodiment shown in Fig. 1;

图3为本发明虚拟机备份方法又一个实施例的流程示意图;FIG. 3 is a schematic flowchart of another embodiment of the virtual machine backup method of the present invention;

图4为本发明虚拟机备份方法又一个实施例的流程示意图;FIG. 4 is a schematic flowchart of another embodiment of the virtual machine backup method of the present invention;

图5为本发明虚拟机备份装置一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a virtual machine backup device of the present invention;

图6为本发明虚拟机备份装置又一个实施例的结构示意图。FIG. 6 is a schematic structural diagram of another embodiment of a virtual machine backup device according to the present invention.

具体实施方式 Detailed ways

本发明实施例基于云存储,以实现对虚拟机的备份。The embodiment of the present invention is based on cloud storage, so as to realize the backup of the virtual machine.

云存储是在云计算概念上延伸和发展出来的一种技术,是指通过集群应用、网格技术或分布式文件系统等功能,将网络中大量各种不同类型的存储设备通过应用软件集合起来协同工作,共同对外提供数据存储和业务访问功能。当云计算系统运算和处理的核心是大量数据的存储和管理时,云计算系统中就需要配置大量的存储设备,那么云计算系统就转变成为一个云存储系统,所以云存储是一个以数据存储和管理为核心的云计算系统,本发明实施例中将云存储称为云存储服务器。Cloud storage is a technology extended and developed from the concept of cloud computing. It refers to the collection of a large number of different types of storage devices in the network through application software through functions such as cluster applications, grid technology, or distributed file systems. Work together to jointly provide data storage and business access functions. When the core of cloud computing system computing and processing is the storage and management of large amounts of data, a large number of storage devices need to be configured in the cloud computing system, then the cloud computing system will be transformed into a cloud storage system, so cloud storage is a data storage In the cloud computing system with management as the core, cloud storage is referred to as cloud storage server in the embodiment of the present invention.

云存储服务器是一个对象存储的分布式存储系统,通常可以采用三层结构:存储层、业务层、接口层。其中存储层采用高度可弹性部署、透明管理的存储系统,可以存储海量的文件和索引信息,所谓高度可弹性部署即当云存储服务器扩展时,加入一台新的节点到现有云存储服务器中,云存储服务器会自动地识别该机器,并将数据自动地分布到该新加入的节点上;业务层主要是实现数据管理(权限、分类、状态)、智能关联(多源融合、索引)等功能,所谓多源融合即无论什么样的应用(例如文件、视频、图片、音频等)在云存储服务器上存放数据的时候,都是以对象的形式存放的;而接口层提供了面向应用的应用程序接口(Application Programming Interface,简称API),应用程序接口API支持相对标准的(SATA Revision 3.0,简称SATA3或S3)接口技术标准面向对象的存储接口。A cloud storage server is a distributed storage system for object storage, which usually adopts a three-layer structure: storage layer, business layer, and interface layer. The storage layer adopts a highly flexible deployment and transparent management storage system, which can store massive files and index information. The so-called highly flexible deployment means that when the cloud storage server expands, a new node is added to the existing cloud storage server. The cloud storage server will automatically identify the machine and automatically distribute the data to the newly added node; the business layer mainly implements data management (authority, classification, status), intelligent association (multi-source fusion, indexing) and other functions The so-called multi-source integration means that no matter what kind of application (such as files, videos, pictures, audios, etc.) stores data on the cloud storage server, it is stored in the form of objects; and the interface layer provides application-oriented Application Programming Interface (API for short), the application programming interface API supports a relatively standard (SATA Revision 3.0, SATA3 or S3 for short) interface technology standard object-oriented storage interface.

下面通过具体的实施例及附图,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention will be described in further detail below through specific embodiments and accompanying drawings.

图1为本发明虚拟机备份方法一个实施例的流程示意图。如图1所示,本实施例描述的是虚拟机的信息备份过程,以下步骤的执行主体可以是服务器集群中的任意一台物理机,具体可以为安装有虚拟化软件(例如VMwareESX)或XEN虚拟化平台的物理机,该方法包括以下步骤:FIG. 1 is a schematic flowchart of an embodiment of a method for backing up a virtual machine according to the present invention. As shown in Figure 1, this embodiment describes the information backup process of a virtual machine. The subject of the following steps can be any physical machine in the server cluster, which can be specifically installed with virtualization software (such as VMware ESX) or XEN A physical machine of a virtualization platform, the method includes the following steps:

S101,获取物理机上的至少一个虚拟机的信息;S101. Obtain information about at least one virtual machine on the physical machine;

具体地,在大规模的服务器组成的服务器集群中,每台物理机可以虚拟出多个虚拟机。在对虚拟机进行备份时,可以根据用户的需要,在预先设定的时间点,获取物理机上的虚拟机的信息,以实现对虚拟机的备份。预先设定的时间点,可以为每次对虚拟机操作完毕后,也可以为每天的一个固定时间点,例如每天下班后。Specifically, in a server cluster composed of large-scale servers, each physical machine can virtualize multiple virtual machines. When backing up a virtual machine, the information of the virtual machine on the physical machine can be obtained at a preset time point according to the needs of the user, so as to realize the backup of the virtual machine. The preset time point may be after each operation on the virtual machine is completed, or a fixed time point every day, such as after get off work every day.

其中,虚拟机的信息可以是虚拟机的状态信息、虚拟机的数据信息或虚拟机的内存信息等。The information of the virtual machine may be status information of the virtual machine, data information of the virtual machine, or memory information of the virtual machine.

S102,对虚拟机的信息进行快照处理,生成本地快照文件;S102, performing snapshot processing on the information of the virtual machine to generate a local snapshot file;

具体地,快照技术的出现,使得虚拟机的备份易于实现,尤其是对于建立在共享存储上的虚拟机,但是对于建立在本地硬盘上的虚拟机来说,对虚拟机的信息进行快照处理,生成的本地快照文件如果存放的话只能存放在本地硬盘上。Specifically, the emergence of snapshot technology makes virtual machine backup easy to implement, especially for virtual machines built on shared storage, but for virtual machines built on local hard disks, snapshot processing of virtual machine information, If the generated local snapshot file is stored, it can only be stored on the local hard disk.

其中,快照处理具体可以通过VMware ESX软件控制台上的指令行工具来执行,将虚拟机的信息封装成一个本地快照文件。Among them, the snapshot processing can be specifically executed through the command line tool on the VMware ESX software console, and the information of the virtual machine is encapsulated into a local snapshot file.

S103,将本地快照文件上传到云存储服务器中,以使云存储服务器中备份本地快照文件。S103. Upload the local snapshot file to the cloud storage server, so that the cloud storage server backs up the local snapshot file.

具体地,将生成的本地快照文件,通过云存储服务器的应用程序接口API上传到云存储服务器中,在云存储服务器中备份该本地快照文件,以实现对虚拟机的备份。其中,应用程序接口API可以为表述性状态转移(Representational State Transfer,简称REST)的万维网服务器(Web Service),以及软件开发数据包(Software Development Kit,简称SDK)等。Specifically, the generated local snapshot file is uploaded to the cloud storage server through the application program interface API of the cloud storage server, and the local snapshot file is backed up in the cloud storage server to realize the backup of the virtual machine. Among them, the application program interface API can be a representational state transfer (Representational State Transfer, REST for short) Web server (Web Service), and a software development data package (Software Development Kit, SDK for short).

作为一种可行的实施方式,生成的本地快照文件可以直接上传至云存储服务器;作为另一种可行的实施方式,还可以将生成的本地快照文件先存储在本地硬盘上,再从本地硬盘上将本地快照文件上传到云存储服务器中,上传完毕后,可以删除存放在本地硬盘上的本地快照文件。As a feasible implementation, the generated local snapshot file can be directly uploaded to the cloud storage server; as another feasible implementation, the generated local snapshot file can also be stored on the local hard disk first, and then downloaded from the local hard disk Upload the local snapshot file to the cloud storage server. After uploading, you can delete the local snapshot file stored on the local hard disk.

图2为图1所示实施例的虚拟备份方法一种实现场景的系统结构框架图。如图2所示,包括物理机21、服务器集群22以及云存储服务器23。其中物理机21可以为服务器集群22中的任意一台物理机。FIG. 2 is a system structural framework diagram of an implementation scenario of the virtual backup method in the embodiment shown in FIG. 1 . As shown in FIG. 2 , it includes a physical machine 21 , a server cluster 22 and a cloud storage server 23 . The physical machine 21 may be any physical machine in the server cluster 22 .

物理机21获取其上的至少一个虚拟机的信息后,对虚拟机的信息进行快照处理,生成本地快照文件,再将本地快照文件上传到云存储服务器23中,从而使云存储服务器23中备份本地快照文件。After the physical machine 21 obtains the information of at least one virtual machine thereon, it performs snapshot processing on the information of the virtual machine to generate a local snapshot file, and then uploads the local snapshot file to the cloud storage server 23, so that the backup in the cloud storage server 23 Local snapshot files.

本发明实施例提供的虚拟机备份方法,通过获取物理机上的虚拟机的信息,对虚拟机的信息进行快照,并将生成的本地快照文件上传到云存储服务器中,以备份该本地快照文件,使得虚拟机的快照不会占用大量硬盘资源,而且一旦本地硬盘发生故障,不会影响存放在云存储服务器上的虚拟机的快照文件,从而能快速恢复建立在本地硬盘上面的虚拟机,还原中断的业务或用户丢失的数据。The virtual machine backup method provided by the embodiment of the present invention obtains the information of the virtual machine on the physical machine, takes a snapshot of the information of the virtual machine, and uploads the generated local snapshot file to the cloud storage server to back up the local snapshot file, The snapshot of the virtual machine will not take up a lot of hard disk resources, and once the local hard disk fails, it will not affect the snapshot file of the virtual machine stored on the cloud storage server, so that the virtual machine built on the local hard disk can be quickly restored, and the restoration is interrupted business or user data lost.

图3为本发明虚拟机备份方法又一个实施例的流程示意图。如图3所示,本实施例描述的是上述图1所示实施例的虚拟机备份方法的具体过程,该方法包括以下步骤:FIG. 3 is a schematic flowchart of another embodiment of a virtual machine backup method according to the present invention. As shown in Figure 3, what this embodiment describes is the specific process of the virtual machine backup method of the embodiment shown in Figure 1 above, and the method includes the following steps:

S301,获取物理机上的至少一个虚拟机的信息;S301. Obtain information about at least one virtual machine on the physical machine;

S302,生成虚拟机快照状态表,虚拟机快照状态表中包括至少一个虚拟机的标识及其对应的快照状态信息;虚拟机快照状态表如表1所示:S302. Generate a virtual machine snapshot state table, the virtual machine snapshot state table includes at least one virtual machine identifier and corresponding snapshot state information; the virtual machine snapshot state table is shown in Table 1:

表1Table 1

Figure BDA00002514682200041
Figure BDA00002514682200041

具体地,获取物理机上具体时间点对应的虚拟机的信息,虚拟机的信息可以包括虚拟机的数据信息和/或虚拟机的内存信息,记录虚拟机的数量,并将虚拟机的数量设置为快照的数量和传输的数量,生成一个空的虚拟机快照状态表。空的虚拟机快照状态表,包括虚拟机的标识(例如虚拟机账户ID)和对应的快照状态信息。快照状态信息可以包括虚拟机快照名字和状态,其中虚拟机快照名字、状态为空。Specifically, obtain the information of the virtual machine corresponding to a specific time point on the physical machine, the information of the virtual machine may include the data information of the virtual machine and/or the memory information of the virtual machine, record the number of virtual machines, and set the number of virtual machines as The number of snapshots and the number of transfers, generate an empty virtual machine snapshot state table. An empty virtual machine snapshot status table, including a virtual machine identifier (such as a virtual machine account ID) and corresponding snapshot status information. The snapshot state information may include the virtual machine snapshot name and state, wherein the virtual machine snapshot name and state are empty.

S303,对虚拟机的信息进行快照处理,生成本地快照文件;S303, performing snapshot processing on the information of the virtual machine to generate a local snapshot file;

S304,更新虚拟机快照状态表;S304, updating the virtual machine snapshot state table;

S305,扫描虚拟机快照状态表,根据快照状态信息确定待上传到所述云存储服务器中的未上传本地快照文件;S305. Scan the snapshot state table of the virtual machine, and determine the unuploaded local snapshot files to be uploaded to the cloud storage server according to the snapshot state information;

S306,将未上传的本地快照文件上传到云存储服务器中,以使云存储服务器中备份本地快照文件。S306. Upload the unuploaded local snapshot file to the cloud storage server, so that the cloud storage server backs up the local snapshot file.

具体地,每快照一个虚拟机的信息,生成一个本地快照文件,将快照的数量减一,判断快照的数量是否为0,以继续或结束对下一个虚拟机的信息进行快照。获取快照的信息,更新虚拟机快照状态表即将快照的信息写入虚拟机快照状态表中,包括写入虚拟机快照名字和状态。其中,虚拟机快照名字包括虚拟机账户ID和时间,该时间为快照产生的具体时间点;初始状态,用0表示。扫描虚拟机快照状态表,将未上传的,即状态为0的虚拟机对应的本地快照文件上传到云存储服务器中;物理机将未上传的本地快照文件上传到云存储服务器后,可以对虚拟机快照状态表进行相应的更新,具体地,每上传一个本地快照文件,更新一次虚拟机快照状态表,即将相应的虚拟机的状态置为1,同时将传输的数量减一,判断传输的数量是否为0,以继续或结束对下一个本地快照文件进行传输。Specifically, every time a virtual machine is snapshotted, a local snapshot file is generated, the number of snapshots is reduced by one, and it is judged whether the number of snapshots is 0, so as to continue or end the snapshotting of information of the next virtual machine. Obtain snapshot information, update the virtual machine snapshot state table, that is, write the snapshot information into the virtual machine snapshot state table, including writing the name and state of the virtual machine snapshot. Wherein, the virtual machine snapshot name includes the virtual machine account ID and time, which is the specific time point when the snapshot is generated; the initial state is represented by 0. Scan the virtual machine snapshot status table, and upload the local snapshot files corresponding to the unuploaded virtual machines, that is, the status is 0, to the cloud storage server; after the physical machine uploads the unuploaded local snapshot files to the cloud storage server, the virtual The machine snapshot state table is updated accordingly. Specifically, each time a local snapshot file is uploaded, the virtual machine snapshot state table is updated once, that is, the state of the corresponding virtual machine is set to 1, and the number of transfers is reduced by one to determine the number of transfers. Whether to 0 to continue or end the transfer of the next local snapshot file.

本发明实施例提供的虚拟机备份方法,通过获取物理机上的虚拟机的信息,生成虚拟机快照状态表,对虚拟机的信息进行快照,更新虚拟机快照状态表,扫描虚拟机快照状态表,根据快照状态信息将未上传的本地快照文件上传到云存储服务器中,以备份该本地快照文件,并更新所述虚拟机快照状态表,使得对虚拟机的信息进行快照及上传生成的本地快照文件更有序,并且虚拟机的快照不会占用大量硬盘资源,而且一旦本地硬盘发生故障,不会影响存放在云存储服务器上的虚拟机的快照文件,从而能快速恢复建立在本地硬盘上面的虚拟机,还原中断的业务或用户丢失的数据。The virtual machine backup method provided by the embodiment of the present invention generates a virtual machine snapshot state table by acquiring information of the virtual machine on the physical machine, takes a snapshot of the information of the virtual machine, updates the virtual machine snapshot state table, scans the virtual machine snapshot state table, Upload the unuploaded local snapshot file to the cloud storage server according to the snapshot state information, to back up the local snapshot file, and update the virtual machine snapshot state table, so that the information of the virtual machine is snapshotted and the local snapshot file generated by uploading is uploaded It is more orderly, and the snapshot of the virtual machine will not occupy a lot of hard disk resources, and once the local hard disk fails, it will not affect the snapshot files of the virtual machine stored on the cloud storage server, so that the virtual machine created on the local hard disk can be quickly restored. computer to restore interrupted services or data lost by users.

图4为本发明虚拟机备份方法又一个实施例的流程示意图。如图4所示,本实施例在图1或图3所示实施例的虚拟机备份方法的基础上,还进一步提供了虚拟机备份方法执行过程中的故障恢复过程,该方法可以在图1或图3所示实施例的虚拟机备份方法中实时进行。该方法包括以下步骤:FIG. 4 is a schematic flowchart of another embodiment of a virtual machine backup method according to the present invention. As shown in Figure 4, on the basis of the virtual machine backup method in the embodiment shown in Figure 1 or Figure 3, this embodiment further provides a fault recovery process during the execution of the virtual machine backup method, which can be shown in Figure 1 Or in real time in the virtual machine backup method of the embodiment shown in FIG. 3 . The method includes the following steps:

S401,对至少一个虚拟机进行监控;S401. Monitor at least one virtual machine;

该步骤具体可以为:对物理机及其上的至少一个虚拟机的网络流量和资源使用率进行监控。Specifically, this step may be: monitoring network traffic and resource usage of the physical machine and at least one virtual machine on it.

具体地,对同一服务器集群中的至少一个虚拟机及其所在的至少一个物理机的情况(例如:网络流量和/或资源使用率)进行监控,当情况出现异常(例如:网络流量和/或资源使用率超过设定阈值)时,通过短信或是警报等方式发送告警信息,以备后续可以查找是否存在会导致虚拟机出现故障的问题。Specifically, monitor the situation (for example: network traffic and/or resource usage) of at least one virtual machine and at least one physical machine in the same server cluster, and when the situation is abnormal (for example: network traffic and/or When the resource usage exceeds the set threshold), an alarm message will be sent through text messages or alarms, so that you can find out whether there is a problem that will cause the virtual machine to fail.

S402,若虚拟机出现故障,则从云存储服务器中获取备份的本地快照文件,并根据备份的本地快照文件对虚拟机进行恢复。S402. If the virtual machine fails, obtain a backed up local snapshot file from the cloud storage server, and restore the virtual machine according to the backed up local snapshot file.

该步骤具体可以为:若虚拟机出现故障,则确定出现故障的物理机及其上的至少一个虚拟机;根据所确定的所述出现故障的物理机及其上的至少一个虚拟机,从所述云存储服务器上获取对应备份的所述本地快照文件;根据从所述云存储服务器上获取的对应备份的所述本地快照文件,对所述出现故障的物理机上的至少一个虚拟机进行恢复。This step may specifically be: if the virtual machine fails, then determine the failed physical machine and at least one virtual machine on it; according to the determined physical machine and at least one virtual machine on it, from the Obtain the corresponding backup local snapshot file from the cloud storage server; restore at least one virtual machine on the failed physical machine according to the corresponding backup local snapshot file obtained from the cloud storage server.

具体地,当存在会导致虚拟机出现故障的问题(例如虚拟机所在的物理机或物理机上的本地硬盘发生故障)时,可以发送请求信息,以确定需要恢复的对象即哪一个物理机上的一个或多个虚拟机(当虚拟机所在的物理机或物理机上的本地硬盘发生故障,导致虚拟机出现故障时,则需要恢复的对象为出现故障的物理机上的多个虚拟机),以及恢复的位置即在哪个物理机上恢复这些虚拟机,可以在原有的物理机上恢复,也可以在同一服务器集群中的其他的物理机上进行恢复(当虚拟机所在的物理机或物理机上的本地硬盘发生故障,导致虚拟机出现故障时,则只能在同一服务器集群中的其他的物理机上进行恢复)。可以通过物理机在本地检测硬盘是否发生故障,或者还可以采用人工方式由管理员查找每台物理机的硬盘是否发生故障。可以根据需要恢复的对象以及恢复的位置,从云存储服务器中获取这些虚拟机对应的备份的本地快照文件,并根据从云存储服务器中获取到的这些备份快照文件,对这些虚拟机进行恢复,恢复过程可以批量恢复也可以单个恢复。Specifically, when there is a problem that will cause the virtual machine to fail (for example, the physical machine where the virtual machine is located or the local hard disk on the physical machine fails), request information can be sent to determine the object that needs to be restored, that is, which one on the physical machine or multiple virtual machines (when the physical machine where the virtual machine is located or the local hard disk on the physical machine fails, causing the virtual machine to fail, the object to be restored is multiple virtual machines on the failed physical machine), and the restored The location is the physical machine on which to restore these virtual machines, which can be restored on the original physical machine or on other physical machines in the same server cluster (when the physical machine where the virtual machine is located or the local hard disk on the physical machine fails, When the virtual machine fails, it can only be recovered on other physical machines in the same server cluster). Whether the hard disk fails can be detected locally through the physical machine, or the administrator can manually check whether the hard disk of each physical machine fails. According to the object to be restored and the restored location, the local snapshot files corresponding to the backups of these virtual machines can be obtained from the cloud storage server, and these virtual machines can be restored according to the backup snapshot files obtained from the cloud storage server. The recovery process can be recovered in batches or individually.

本发明实施例提供的虚拟机备份方法,通过实时监控虚拟机及其所在的物理机的情况,并在监控到虚拟机出现故障时,从云存储服务器中获取备份的本地快照文件,从而能快速恢复出现故障的虚拟机,还原中断的业务或用户丢失的数据。The virtual machine backup method provided by the embodiment of the present invention monitors the situation of the virtual machine and the physical machine where it is located in real time, and obtains the backup local snapshot file from the cloud storage server when the monitored virtual machine fails, so as to quickly Recover failed virtual machines and restore interrupted services or data lost by users.

图5为本发明虚拟机备份装置一个实施例的结构示意图。如图5所示,该装置包括:获取模块51、快照模块52和上传模块53。FIG. 5 is a schematic structural diagram of an embodiment of a virtual machine backup device according to the present invention. As shown in FIG. 5 , the device includes: an acquisition module 51 , a snapshot module 52 and an upload module 53 .

其中,获取模块51,用于获取物理机上的至少一个虚拟机的信息;Wherein, the acquiring module 51 is configured to acquire information of at least one virtual machine on the physical machine;

具体地,在大规模的服务器组成的服务器集群中,每台物理机可以虚拟出多个虚拟机。在对虚拟机进行备份时,获取模块51可以根据用户的需要,在预先设定的时间点,获取物理机上的虚拟机的信息,以实现对虚拟机的备份。预先设定的时间点,可以为每次对虚拟机操作完毕后,也可以为每天的一个固定时间点,例如每天下班后。Specifically, in a server cluster composed of large-scale servers, each physical machine can virtualize multiple virtual machines. When backing up the virtual machine, the acquisition module 51 can acquire the information of the virtual machine on the physical machine at a preset time point according to the needs of the user, so as to realize the backup of the virtual machine. The preset time point may be after each operation on the virtual machine is completed, or a fixed time point every day, such as after get off work every day.

其中,虚拟机的信息可以是虚拟机的状态信息、虚拟机的数据信息或虚拟机的内存信息。Wherein, the information of the virtual machine may be state information of the virtual machine, data information of the virtual machine or memory information of the virtual machine.

快照模块52,用于对获取模块51获取到的虚拟机的信息进行快照处理,生成本地快照文件;The snapshot module 52 is configured to perform snapshot processing on the information of the virtual machine acquired by the acquisition module 51 to generate a local snapshot file;

具体地,快照技术的出现,使得虚拟机的备份易于实现,尤其是对于建立在共享存储上的虚拟机,但是对于建立在本地硬盘上的虚拟机来说,快照模块52对获取模块51获取到的虚拟机的信息进行快照处理,生成的本地快照文件如果存放的话只能存放在本地硬盘上。Specifically, the emergence of snapshot technology makes it easy to back up virtual machines, especially for virtual machines built on shared storage, but for virtual machines built on local hard disks, the snapshot module 52 acquires the The information of the virtual machine is used for snapshot processing, and the generated local snapshot file can only be stored on the local hard disk if stored.

其中,快照处理具体可以为:快照模块52通过VMware ESX软件控制台上的指令行工具来执行快照处理,将虚拟机的信息封装成一个本地快照文件。Wherein, the snapshot processing can specifically be: the snapshot module 52 executes the snapshot processing through the instruction line tool on the VMware ESX software console, and encapsulates the information of the virtual machine into a local snapshot file.

上传模块53,用于将快照模块52生成的本地快照文件上传到云存储服务器中,以使云存储服务器中备份本地快照文件。The upload module 53 is configured to upload the local snapshot file generated by the snapshot module 52 to the cloud storage server, so that the cloud storage server can back up the local snapshot file.

具体地,上传模块53将快照模块52生成的本地快照文件,通过云存储服务器的API上传到云存储服务器中,在云存储服务器中备份该本地快照文件,以实现对虚拟机的备份。其中,API可以为REST的Web Service,以及SDK等。Specifically, the upload module 53 uploads the local snapshot file generated by the snapshot module 52 to the cloud storage server through the API of the cloud storage server, and backs up the local snapshot file in the cloud storage server to realize the backup of the virtual machine. Among them, the API can be REST Web Service, SDK, etc.

作为一种可行的实施方式,上传模块53可以将快照模块52生成的本地快照文件直接上传至云存储服务器;作为另一种可行的实施方式,上传模块53还可以将快照模块52生成的本地快照文件先存储在本地硬盘上,再从本地硬盘上将本地快照文件上传到云存储服务器中,上传完毕后,可以删除存放在本地硬盘上的本地快照文件。As a feasible implementation manner, the upload module 53 can directly upload the local snapshot file generated by the snapshot module 52 to the cloud storage server; as another feasible implementation manner, the upload module 53 can also upload the local snapshot file generated by the snapshot module 52 The files are stored on the local hard disk first, and then the local snapshot files are uploaded to the cloud storage server from the local hard disk. After uploading, the local snapshot files stored on the local hard disk can be deleted.

本发明实施例提供的虚拟机备份装置,通过快照模块52对获取模块51获取到的虚拟机的信息进行快照,并通过上传模块53将快照模块52生成的本地快照文件上传到云存储服务器中,以备份该本地快照文件,使得虚拟机的快照不会占用大量硬盘资源,而且一旦本地硬盘发生故障,不会影响存放在云存储服务器上的虚拟机的快照文件,从而能快速恢复建立在本地硬盘上面的虚拟机,还原中断的业务或用户丢失的数据。The virtual machine backup device provided by the embodiment of the present invention performs a snapshot of the information of the virtual machine acquired by the acquisition module 51 through the snapshot module 52, and uploads the local snapshot file generated by the snapshot module 52 to the cloud storage server through the upload module 53, To back up the local snapshot file, so that the snapshot of the virtual machine will not occupy a large amount of hard disk resources, and once the local hard disk fails, it will not affect the snapshot file of the virtual machine stored on the cloud storage server, so that the snapshot file created on the local hard disk can be quickly restored The above virtual machine restores interrupted services or data lost by users.

图6为本发明虚拟机备份装置又一个实施例的结构示意图。如图6所示,该装置包括:获取模块51、快照模块52、上传模块53、监控模块54和恢复模块55。FIG. 6 is a schematic structural diagram of another embodiment of a virtual machine backup device according to the present invention. As shown in FIG. 6 , the device includes: an acquisition module 51 , a snapshot module 52 , an upload module 53 , a monitoring module 54 and a recovery module 55 .

其中,获取模块51,用于获取物理机上的至少一个虚拟机的信息;生成虚拟机快照状态表,虚拟机快照状态表中包括至少一个虚拟机的标识及其对应的快照状态信息。虚拟机快照状态表如上述图3所示实施例中的表1所示。Wherein, the acquiring module 51 is configured to acquire information of at least one virtual machine on the physical machine; generate a virtual machine snapshot status table, and the virtual machine snapshot status table includes an identifier of at least one virtual machine and corresponding snapshot status information. The virtual machine snapshot state table is shown in Table 1 in the embodiment shown in FIG. 3 above.

具体地,获取模块51获取物理机上具体时间点对应的虚拟机的信息,虚拟机的信息可以包括虚拟机的数据信息和/或虚拟机的内存信息,记录虚拟机的数量,并将虚拟机的数量设置为快照的数量和传输的数量,生成一个空的虚拟机快照状态表。空的虚拟机快照状态表,包括虚拟机的标识(例如虚拟机账户ID)和对应的快照状态信息。快照状态信息可以包括虚拟机快照名字和状态,其中虚拟机快照名字、状态为空。Specifically, the acquiring module 51 acquires the information of the virtual machine corresponding to a specific time point on the physical machine, the information of the virtual machine may include the data information of the virtual machine and/or the memory information of the virtual machine, record the number of the virtual machine, and store the information of the virtual machine Amount is set to the number of snapshots and the number of transfers, resulting in an empty virtual machine snapshot state table. An empty virtual machine snapshot status table, including a virtual machine identifier (such as a virtual machine account ID) and corresponding snapshot status information. The snapshot state information may include the virtual machine snapshot name and state, wherein the virtual machine snapshot name and state are empty.

快照模块52,用于对获取模块51获取到的虚拟机的信息进行快照处理,生成本地快照文件;更新虚拟机快照状态表;扫描虚拟机快照状态表,根据快照状态信息确定待上传到所述云存储服务器中的未上传本地快照文件。The snapshot module 52 is used to perform snapshot processing on the information of the virtual machine obtained by the acquisition module 51, and generate a local snapshot file; update the virtual machine snapshot state table; scan the virtual machine snapshot state table, and determine according to the snapshot state information to be uploaded to the The local snapshot file in the cloud storage server has not been uploaded.

上传模块53,用于将快照模块52生成的、未上传的本地快照文件上传到云存储服务器中,以使云存储服务器中备份本地快照文件;The upload module 53 is used for uploading the local snapshot file generated by the snapshot module 52 and not uploaded to the cloud storage server, so that the local snapshot file is backed up in the cloud storage server;

具体地,快照模块52每快照一个虚拟机的信息,生成一个本地快照文件,将快照的数量减一,判断快照的数量是否为0,以继续或结束对下一个虚拟机的信息进行快照。快照模块52获取快照的信息,更新虚拟机快照状态表即将快照的信息写入虚拟机快照状态表中,包括写入虚拟机快照名字和状态。其中,虚拟机快照名字包括虚拟机账户ID和时间,该时间为快照产生的具体时间点;初始状态,用0表示。快照模块52扫描更新后的虚拟机快照状态表,将状态为0的虚拟机对应的本地快照文件确定为待上传的本地快照文件;上传模块53将快照模块52确定的待上传的本地快照文件上传到云存储服务器中。上传模块53每上传一个本地快照文件,快照模块52更新一次虚拟机快照状态表,即将相应的虚拟机的状态置为1,同时将传输的数量减一,判断传输的数量是否为0,以继续或结束对下一个本地快照文件进行传输。Specifically, the snapshot module 52 generates a local snapshot file for each snapshot of information of a virtual machine, decreases the number of snapshots by one, and determines whether the number of snapshots is 0, so as to continue or end the snapshot of information of the next virtual machine. The snapshot module 52 obtains snapshot information, updates the virtual machine snapshot state table, and writes the snapshot information into the virtual machine snapshot state table, including writing the name and state of the virtual machine snapshot. Wherein, the virtual machine snapshot name includes the virtual machine account ID and time, which is the specific time point when the snapshot is generated; the initial state is represented by 0. The snapshot module 52 scans the updated virtual machine snapshot state table, and determines the local snapshot file corresponding to the virtual machine whose status is 0 as the local snapshot file to be uploaded; the upload module 53 uploads the local snapshot file to be uploaded determined by the snapshot module 52 to the cloud storage server. Each time the upload module 53 uploads a local snapshot file, the snapshot module 52 updates the virtual machine snapshot state table once, that is, the state of the corresponding virtual machine is set to 1, and at the same time, the number of transfers is reduced by one, and it is judged whether the number of transfers is 0 to continue Or end the transfer of the next local snapshot file.

监控模块54,用于对至少一个虚拟机进行监控。具体可以用于:对物理机及其上的至少一个虚拟机的网络流量和资源使用率进行监控。A monitoring module 54, configured to monitor at least one virtual machine. Specifically, it can be used for: monitoring the network traffic and resource usage of the physical machine and at least one virtual machine on it.

具体地,监控模块54对同一服务器集群中的至少一个虚拟机及其所在的至少一个物理机的情况(例如:网络流量和/或资源使用率)进行监控,当情况出现异常(例如:网络流量和/或资源使用率超过设定阈值)时,通过短信或是警报等方式发送告警信息,以备后续可以查找是否存在会导致虚拟机出现故障的问题。Specifically, the monitoring module 54 monitors the situation (for example: network traffic and/or resource usage) of at least one virtual machine and at least one physical machine in the same server cluster, and when the situation is abnormal (for example: network traffic and/or the resource usage exceeds the set threshold), an alarm message will be sent via text message or alarm, so that you can find out whether there is a problem that will cause the virtual machine to fail.

恢复模块55,用于若虚拟机出现故障,则从云存储服务器中获取备份的本地快照文件,并根据备份的本地快照文件对虚拟机进行恢复。具体可以用于:若虚拟机出现故障,则确定出现故障的物理机及其上的至少一个虚拟机;根据所确定的出现故障的物理机及其上的至少一个虚拟机,从云存储服务器上获取对应备份的本地快照文件;根据从云存储服务器上获取的对应备份的本地快照文件,对出现故障的物理机上的至少一个虚拟机进行恢复。The recovery module 55 is configured to obtain a backed up local snapshot file from the cloud storage server if the virtual machine fails, and restore the virtual machine according to the backed up local snapshot file. Specifically, it can be used for: if the virtual machine fails, then determine the failed physical machine and at least one virtual machine on it; according to the determined failed physical machine and at least one virtual machine on it, from the cloud storage server Acquiring a corresponding backup local snapshot file; recovering at least one virtual machine on the failed physical machine according to the corresponding backup local snapshot file obtained from the cloud storage server.

具体地,当存在会导致虚拟机出现故障的问题(例如虚拟机所在的物理机或物理机上的本地硬盘发生故障)时,恢复模块55可以发送请求信息,以确定需要恢复的对象即哪一个物理机上的一个或多个虚拟机(当虚拟机所在的物理机或物理机上的本地硬盘发生故障,导致虚拟机出现故障时,则需要恢复的对象为出现故障的物理机上的多个虚拟机),以及恢复的位置即在哪个物理机上恢复这些虚拟机,可以在原有的物理机上恢复,也可以在同一服务器集群中的其他的物理机上进行恢复(当虚拟机所在的物理机或物理机上的本地硬盘发生故障,导致虚拟机出现故障时,则只能在同一服务器集群中的其他的物理机上进行恢复)。可以通过物理机在本地检测硬盘是否发生故障,或者还可以采用人工方式由管理员查找每台物理机的硬盘是否发生故障。恢复模块55可以根据指定的需要恢复的对象以及恢复的位置,从云存储服务器中获取这些虚拟机对应的备份的本地快照文件,并根据从云存储服务器中获取到的这些备份快照文件,对这些虚拟机进行恢复,恢复过程可以批量恢复也可以单个恢复。Specifically, when there is a problem that will cause the virtual machine to fail (for example, the physical machine where the virtual machine is located or the local hard disk on the physical machine fails), the recovery module 55 can send request information to determine the object that needs to be restored, that is, which physical One or more virtual machines on the virtual machine (when the physical machine where the virtual machine is located or the local hard disk on the physical machine fails, causing the virtual machine to fail, the objects that need to be restored are multiple virtual machines on the failed physical machine), And the recovery location, that is, on which physical machine to restore these virtual machines, it can be restored on the original physical machine, or on other physical machines in the same server cluster (when the physical machine where the virtual machine is located or the local hard disk on the physical machine When a failure occurs and the virtual machine fails, it can only be recovered on other physical machines in the same server cluster). Whether the hard disk fails can be detected locally through the physical machine, or the administrator can manually check whether the hard disk of each physical machine fails. Restoration module 55 can obtain the local snapshot files corresponding to the backups of these virtual machines from the cloud storage server according to the specified objects to be restored and the restored locations, and according to these backup snapshot files obtained from the cloud storage server, perform these Virtual machines can be restored, and the restoration process can be restored in batches or individually.

本发明实施例提供的虚拟机备份装置,通过监控模块54实时监控虚拟机及其所在的物理机的情况,并在监控到虚拟机出现故障时,恢复模块55从云存储服务器中获取备份的本地快照文件,从而能快速恢复出现故障的虚拟机,还原中断的业务或用户丢失的数据。The virtual machine backup device provided by the embodiment of the present invention monitors the situation of the virtual machine and its physical machine in real time through the monitoring module 54, and when the monitored virtual machine fails, the recovery module 55 obtains the backup local Snapshot files, so that a failed virtual machine can be quickly restored, and interrupted services or data lost by users can be restored.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (11)

1. a virtual machine backup method is characterized in that, comprising:
Obtain the information of at least one virtual machine on the physical machine;
The information of described virtual machine is carried out snapshot process, generate local snapshot document;
Described local express is shone File Upload in the cloud storage server, so that the described local snapshot document of backup in the described cloud storage server.
2. virtual machine backup method according to claim 1 is characterized in that, after the described information of obtaining at least one virtual machine on the physical machine, also comprises:
Generating virtual machines snapshot state table comprises the sign of described at least one virtual machine and the snapshot state information of correspondence thereof in the described virtual machine snapshot state table;
Described information to described virtual machine carries out also comprising after the snapshot processing:
Upgrade described virtual machine snapshot state table;
Scan described virtual machine snapshot state table, determine to be uploadedly in described cloud storage server, not upload local snapshot document according to described snapshot state information.
3. virtual machine backup method according to claim 1 and 2 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.
4. virtual machine backup method according to claim 1 and 2 is characterized in that, also comprises:
Described at least one virtual machine 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.
5. virtual machine backup method according to claim 4 is characterized in that, the described described local snapshot document that from described cloud storage server, obtains backup, and according to the backup described local snapshot document described virtual machine is recovered, be specially:
Determine the physical machine that breaks down and at least one virtual machine;
According to the determined described physical machine that breaks down and at least one virtual machine, obtain the described local snapshot document of corresponding backup from described cloud storage server;
Described local snapshot document according to the correspondence backup of obtaining from described cloud storage server recovers at least one virtual machine on the described physical machine that breaks down.
6. virtual machine backup method according to claim 4 is characterized in that, described described at least one virtual machine is monitored, and is specially:
To described physical machine and on network traffics and the resource utilization of at least one described virtual machine monitor.
7. a virtual machine back-up device is characterized in that, comprising:
Acquisition module is for the information of obtaining at least one virtual machine on the physical machine;
Snapshot module is used for that the information of described virtual machine is carried out snapshot and processes, and generates local snapshot document;
Upper transmission module is used for described local express is shone File Upload to the cloud storage server, so that the described local snapshot document of backup in the described cloud storage server.
8. virtual machine back-up device according to claim 7, it is characterized in that, described acquisition module also is used for: after the information of at least one virtual machine on obtaining physical machine, generating virtual machines snapshot state table comprises the sign of described at least one virtual machine and the snapshot state information of correspondence thereof in the described virtual machine snapshot state table;
Described snapshot module also is used for: the information of described virtual machine is carried out upgrading described virtual machine snapshot state table after snapshot processes; Scan described virtual machine snapshot state table, determine to be uploadedly in described cloud storage server, not upload local snapshot document according to described snapshot state information.
9. according to claim 7 or 8 described virtual machine back-up devices, it is characterized in that, also comprise:
Monitoring module is used for described at least one virtual machine is monitored;
Recover module, break down if be used 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.
10. virtual machine back-up device according to claim 9 is characterized in that, described recovery module specifically is used for:
If described virtual machine breaks down, then determine the physical machine that breaks down and at least one virtual machine; According to the determined described physical machine that breaks down and at least one virtual machine, obtain the described local snapshot document of corresponding backup from described cloud storage server; Described local snapshot document according to the correspondence backup of obtaining from described cloud storage server recovers at least one virtual machine on the described physical machine that breaks down.
11. virtual machine back-up device according to claim 9 is characterized in that, described monitoring module specifically is used for:
To described physical machine and on network traffics and the resource utilization of at least one described virtual machine monitor.
CN201210511176.4A 2012-12-03 2012-12-03 Backup method and device for virtual machine Active 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 true CN102981931A (en) 2013-03-20
CN102981931B CN102981931B (en) 2015-04-15

Family

ID=47855986

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN102981931B (en)

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN103729264A (en) * 2013-12-23 2014-04-16 国云科技股份有限公司 Method for backing up and restoring Windows virtual machine system disk
CN104111878A (en) * 2014-02-20 2014-10-22 西安未来国际信息股份有限公司 Automatic hadoop cluster restoration technology on basis of snapshots of virtual machines
CN104216801A (en) * 2014-09-04 2014-12-17 北京联创信安科技有限公司 Data copying method oriented to virtual environment and data copying system oriented to virtual environment
CN104348653A (en) * 2013-08-06 2015-02-11 中国电信股份有限公司 Method and system for realizing user task of cloud management platform as well as trigger
CN104461785A (en) * 2014-12-15 2015-03-25 中电长城网际系统应用有限公司 Data backup method, data recovery method and device of virtual machine and physic machine
CN104572340A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Incremental backup system and method
CN104793981A (en) * 2014-01-20 2015-07-22 联想(北京)有限公司 Online snapshot managing method and device for virtual machine cluster
WO2015150933A1 (en) * 2014-04-02 2015-10-08 International Business Machines Corporation Efficient point-in-time copy backup target volume allocation
CN105094897A (en) * 2015-07-02 2015-11-25 华为技术有限公司 Virtual machine starting method, cloud access equipment and cloud computing center
CN105224391A (en) * 2015-10-12 2016-01-06 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN105763560A (en) * 2016-04-15 2016-07-13 北京思特奇信息技术股份有限公司 Web Service interface flow real-time monitoring method and system
US9442664B2 (en) 2014-04-02 2016-09-13 International Business Machines Corporation Efficient flashcopy backup target volume allocation from a shared resource pool
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
CN106411832A (en) * 2016-03-30 2017-02-15 苏州美天网络科技有限公司 Cloud authentication hard disk recovery method
CN106598785A (en) * 2016-12-16 2017-04-26 广东美晨通讯有限公司 File system backup and restoration method and device
CN106909475A (en) * 2015-12-23 2017-06-30 中国移动通信集团重庆有限公司 Row data backup, the method and apparatus recovered are stored in based on object
CN107256185A (en) * 2017-06-05 2017-10-17 广西犇云科技有限公司 A kind of Cloud Server disk repair system
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
CN107463467A (en) * 2017-08-24 2017-12-12 浪潮(北京)电子信息产业有限公司 A kind of method and system that can quickly reduce virtual platform
CN107735779A (en) * 2015-07-29 2018-02-23 阿普福米克斯有限公司 Assess the running status of computing environment
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
CN109522154A (en) * 2015-09-10 2019-03-26 华为技术有限公司 Data reconstruction method and relevant device and system
CN109558213A (en) * 2018-11-30 2019-04-02 郑州云海信息技术有限公司 The method and apparatus for managing the virtual machine snapshot of OpenStack platform
CN110196749A (en) * 2018-02-26 2019-09-03 中兴通讯股份有限公司 The restoration methods and device of virtual machine, storage medium and electronic device
CN110442427A (en) * 2019-07-29 2019-11-12 腾讯科技(深圳)有限公司 A kind of virtual machine snapshot management method, device, equipment and storage medium
US10496599B1 (en) 2017-04-30 2019-12-03 EMC IP Holding Company LLC Cloud data archiving using chunk-object mapping and synthetic full backup
TWI693550B (en) * 2018-12-06 2020-05-11 中華電信股份有限公司 Backup method for supporting multi-dsik architecture of virtual machine
CN111190870A (en) * 2019-12-27 2020-05-22 山东乾云启创信息科技股份有限公司 Virtual storage method, device and medium based on spread spectrum processor
US10701153B1 (en) 2017-04-30 2020-06-30 EMC IP Holding Company LLC Cloud data archiving using latest snapshot metadata
CN111427721A (en) * 2020-03-05 2020-07-17 杭州宏杉科技股份有限公司 Exception recovery method and device
US10789205B1 (en) 2017-04-30 2020-09-29 EMC IP Holding Company LLC Cloud data archiving using promoted objects list
CN111858150A (en) * 2019-04-26 2020-10-30 Emc知识产权控股有限公司 System and method for management of large-scale data backup
CN112256400A (en) * 2020-10-29 2021-01-22 上海英方软件股份有限公司 Virtual machine snapshot management method and device
CN112783832A (en) * 2020-12-30 2021-05-11 上海鲲鲸云股份有限公司 Method and device for storing snapshot file
US11240128B2 (en) 2017-03-29 2022-02-01 Juniper Networks, Inc. Policy controller for distributed virtualization infrastructure element monitoring
CN114189528A (en) * 2020-08-24 2022-03-15 北京小米移动软件有限公司 Cloud storage method, device, server, terminal, cloud storage system and medium
US11323327B1 (en) 2017-04-19 2022-05-03 Juniper Networks, Inc. Virtualization infrastructure element monitoring and policy control in a cloud environment using profiles
US12021692B2 (en) 2013-09-26 2024-06-25 Juniper Networks, Inc. Policy implementation and management

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

Cited By (56)

* 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
US12021692B2 (en) 2013-09-26 2024-06-25 Juniper Networks, Inc. Policy implementation and management
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
CN103729264A (en) * 2013-12-23 2014-04-16 国云科技股份有限公司 Method for backing up and restoring Windows virtual machine system disk
CN104793981A (en) * 2014-01-20 2015-07-22 联想(北京)有限公司 Online snapshot managing method and device for virtual machine cluster
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
WO2015150933A1 (en) * 2014-04-02 2015-10-08 International Business Machines Corporation Efficient point-in-time copy backup target volume allocation
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
US9442664B2 (en) 2014-04-02 2016-09-13 International Business Machines Corporation Efficient flashcopy backup target volume allocation from a shared resource pool
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
US9690500B2 (en) 2014-04-02 2017-06-27 International Business Machines Corporation Efficient flashcopy backup target volume allocation
CN104216801A (en) * 2014-09-04 2014-12-17 北京联创信安科技有限公司 Data copying method oriented to virtual environment and data copying system oriented to virtual environment
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 virtual machine startup method, cloud access device and cloud computing center
CN105094897A (en) * 2015-07-02 2015-11-25 华为技术有限公司 Virtual machine starting method, cloud access equipment and cloud computing center
CN107735779A (en) * 2015-07-29 2018-02-23 阿普福米克斯有限公司 Assess the running status of computing environment
US11658874B2 (en) 2015-07-29 2023-05-23 Juniper Networks, Inc. Assessment of operational states of a computing environment
CN109522154A (en) * 2015-09-10 2019-03-26 华为技术有限公司 Data reconstruction method and relevant device and system
CN105224391A (en) * 2015-10-12 2016-01-06 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
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
US11888714B2 (en) 2017-03-29 2024-01-30 Juniper Networks, Inc. Policy controller for distributed virtualization infrastructure element monitoring
US11240128B2 (en) 2017-03-29 2022-02-01 Juniper Networks, Inc. Policy controller for distributed virtualization infrastructure element monitoring
US12489696B2 (en) 2017-03-29 2025-12-02 Juniper Networks, Inc. Policy controller for distributed virtualization infrastructure element monitoring
US11323327B1 (en) 2017-04-19 2022-05-03 Juniper Networks, Inc. Virtualization infrastructure element monitoring and policy control in a cloud environment using profiles
US12021693B1 (en) 2017-04-19 2024-06-25 Juniper Networks, Inc. Virtualization infrastructure element monitoring and policy control in a cloud environment using profiles
US10789205B1 (en) 2017-04-30 2020-09-29 EMC IP Holding Company LLC Cloud data archiving using promoted objects list
US10496599B1 (en) 2017-04-30 2019-12-03 EMC IP Holding Company LLC Cloud data archiving using chunk-object mapping and synthetic full backup
US10701153B1 (en) 2017-04-30 2020-06-30 EMC IP Holding Company LLC Cloud data archiving using latest snapshot metadata
CN107256185A (en) * 2017-06-05 2017-10-17 广西犇云科技有限公司 A kind of Cloud Server disk repair system
CN107463467A (en) * 2017-08-24 2017-12-12 浪潮(北京)电子信息产业有限公司 A kind of method and system that can quickly reduce virtual platform
CN107463467B (en) * 2017-08-24 2020-10-02 浪潮(北京)电子信息产业有限公司 A method and system for quickly restoring a virtualized platform
CN108182128A (en) * 2017-12-29 2018-06-19 广州鼎甲计算机科技有限公司 Based on XEN without Agent virtual back-up restoring method
CN110196749B (en) * 2018-02-26 2023-11-17 中兴通讯股份有限公司 Virtual machine recovery method and device, storage media and electronic device
CN110196749A (en) * 2018-02-26 2019-09-03 中兴通讯股份有限公司 The restoration methods and device of virtual machine, storage medium and electronic device
CN108958883A (en) * 2018-06-15 2018-12-07 北京奇艺世纪科技有限公司 The restoration methods and system of virtual machine in cloud computing cluster
CN108958883B (en) * 2018-06-15 2021-04-09 北京奇艺世纪科技有限公司 Recovery method and system for 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
TWI693550B (en) * 2018-12-06 2020-05-11 中華電信股份有限公司 Backup method for supporting multi-dsik architecture of virtual machine
CN111858150A (en) * 2019-04-26 2020-10-30 Emc知识产权控股有限公司 System and method for management of large-scale data backup
CN110442427B (en) * 2019-07-29 2021-09-14 腾讯科技(深圳)有限公司 Virtual machine snapshot management method, device, equipment and storage medium
CN110442427A (en) * 2019-07-29 2019-11-12 腾讯科技(深圳)有限公司 A kind of virtual machine snapshot management method, device, equipment and storage medium
CN111190870A (en) * 2019-12-27 2020-05-22 山东乾云启创信息科技股份有限公司 Virtual storage method, device and medium based on spread spectrum processor
CN111427721B (en) * 2020-03-05 2023-04-28 杭州宏杉科技股份有限公司 Abnormality recovery method and device
CN111427721A (en) * 2020-03-05 2020-07-17 杭州宏杉科技股份有限公司 Exception recovery method and device
CN114189528A (en) * 2020-08-24 2022-03-15 北京小米移动软件有限公司 Cloud storage method, device, server, terminal, cloud storage system and medium
CN112256400A (en) * 2020-10-29 2021-01-22 上海英方软件股份有限公司 Virtual machine snapshot management method and device
CN112783832B (en) * 2020-12-30 2024-03-22 上海鲲鲸云股份有限公司 Method and device for storing snapshot file
CN112783832A (en) * 2020-12-30 2021-05-11 上海鲲鲸云股份有限公司 Method and device for storing snapshot file

Also Published As

Publication number Publication date
CN102981931B (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN102981931B (en) Backup method and device for virtual machine
US11074143B2 (en) Data backup and disaster recovery between environments
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
CN102394774B (en) Service state monitoring and failure recovery method for controllers of cloud computing operating system
US10055300B2 (en) Disk group based backup
EP3218810B1 (en) Virtual machine cluster backup
US8392378B2 (en) Efficient backup and restore of virtual input/output server (VIOS) cluster
US8949188B2 (en) Efficient backup and restore of a cluster aware virtual input/output server (VIOS) within a VIOS cluster
CN105530116B (en) Method and corresponding device for backing up and recovering virtualized network
CN105607973B (en) Method, device and system for processing equipment fault in virtual machine system
CN106452846A (en) Fault processing method, virtual architecture management system and business management system
CN113986450B (en) Virtual machine backup method and device
CN105242990A (en) Data backup method and device based on cloud platform
CN106909475A (en) Row data backup, the method and apparatus recovered are stored in based on object
CN103176831A (en) Virtual machine system and management method thereof
CN111966526A (en) A virtual machine backup method and device based on cloud platform data center
WO2016045439A1 (en) Vnfm disaster-tolerant protection method and device, nfvo and storage medium
US20250130904A1 (en) System and techniques for backing up scalable computing objects
US20250021449A1 (en) Event-based data synchronization
CN104516796A (en) Command set based network element backup and recovery method and device
US20240095010A1 (en) Configuration management for non-disruptive update of a data management system
US20250173225A1 (en) Dynamic resource scaling for large-scale backups
CN115098300B (en) Database backup method, disaster recovery method, device and equipment
CN116185697A (en) Container cluster management method, device, system, electronic equipment and storage medium
CN102281159A (en) Recovery method of cluster system

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