CN106919472B - Method and device for snapshot backup of data - Google Patents
Method and device for snapshot backup of data Download PDFInfo
- Publication number
- CN106919472B CN106919472B CN201510998473.XA CN201510998473A CN106919472B CN 106919472 B CN106919472 B CN 106919472B CN 201510998473 A CN201510998473 A CN 201510998473A CN 106919472 B CN106919472 B CN 106919472B
- Authority
- CN
- China
- Prior art keywords
- data
- basic data
- virtual machines
- category
- cloud platform
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
- G06F11/1482—Generic software techniques for error detection or fault masking by means of middleware or OS functionality
- G06F11/1484—Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例公开了一种数据的快照备份方法,包括:确定云平台中多个虚拟机的数据中各自基础数据的类别;将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份。本发明实施例同时还公开了一种数据的快照备份装置。
The embodiment of the present invention discloses a data snapshot backup method, which includes: determining the categories of respective basic data in the data of multiple virtual machines in a cloud platform; Perform a snapshot backup in a unified manner, and perform a snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category. The embodiment of the present invention also discloses a data snapshot backup device.
Description
技术领域technical field
本发明涉及数据的备份技术,尤其涉及一种数据的快照备份方法及装置。The present invention relates to data backup technology, in particular to a data snapshot backup method and device.
背景技术Background technique
图1为虚拟机的存储数据的结构示意图,如图1所示,对于每一个虚拟机来说,由基础数据部分和差异数据部分构成存储数据;其中,基础数据部分为虚拟机创建时选取的镜像数据,差异数据部分为虚拟机实际自身的数据;基于云平台的多个虚拟机采用同一个镜像创建则会共用同一个基础数据部分,所不同的是差异数据部分是各自维护自己的数据。Figure 1 is a schematic diagram of the structure of the storage data of a virtual machine. As shown in Figure 1, for each virtual machine, the storage data is composed of a basic data part and a difference data part; wherein, the basic data part is selected when the virtual machine is created. Mirror data, the difference data part is the actual data of the virtual machine itself; multiple virtual machines based on the cloud platform created from the same image will share the same basic data part, the difference is that the difference data part maintains their own data.
当前的云平台在快照备份虚拟机的存储数据时候采用全量快照备份的方式,图2为对虚拟机的存储数据采用全量快照备份方式的操作示意图,如图2所示,当前的云平台有三个虚拟机,分别为虚拟机A,虚拟机B,虚拟机C;虚拟机A的存储数据由基础数据A和差异数据A1所组成,虚拟机B的存储数据由基础数据B和差异数据B1所组成,虚拟机C的存储数据由基础数据C和差异数据C1所组成;对于每一次的全量快照备份来说,都是对每一个虚拟机的基础数据部分和差异数据部分进行全部的快照备份,最终,对于虚拟机A进行快照备份后的结果为基础数据A和差异数据An,对于虚拟机B进行快照备份后的结果为基础数据B和差异数据Bn,对于虚拟机C进行快照备份后的结果为基础数据C和差异数据Cn;云平台在进行批量全量快照备份的时候,往往都会产生冗余的数据,而且会导致数据量激增,磁盘读写压力过大,降低快照备份的效率。The current cloud platform adopts the full snapshot backup method when backing up the stored data of the virtual machine. Figure 2 is a schematic diagram of the operation of using the full snapshot backup method for the storage data of the virtual machine. As shown in Figure 2, the current cloud platform has three The virtual machines are virtual machine A, virtual machine B, and virtual machine C; the storage data of virtual machine A consists of basic data A and difference data A1, and the storage data of virtual machine B consists of basic data B and difference data B1 , the storage data of virtual machine C is composed of basic data C and differential data C1; for each full snapshot backup, all the basic data part and differential data part of each virtual machine are backed up by all snapshots, and finally , the results of snapshot backup for virtual machine A are basic data A and differential data An, the results of snapshot backup for virtual machine B are basic data B and differential data Bn, and the results of snapshot backup for virtual machine C are Basic data C and differential data Cn; when the cloud platform performs batch full snapshot backup, redundant data is often generated, which will lead to a surge in data volume, excessive disk read and write pressure, and reduce the efficiency of snapshot backup.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例期望提供一种数据的快照备份方法及装置,以减少快照备份的数据量以及磁盘的读写压力,有效的提高快照备份的效率。In view of this, the embodiments of the present invention are expected to provide a data snapshot backup method and apparatus, so as to reduce the data volume of the snapshot backup and the read and write pressure of the disk, and effectively improve the efficiency of the snapshot backup.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:
本发明提供一种数据的快照备份方法,所述方法包括:The present invention provides a data snapshot backup method, the method includes:
确定云平台中多个虚拟机的数据中各自基础数据的类别;Determine the category of the respective basic data in the data of multiple virtual machines in the cloud platform;
将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份。Perform a snapshot backup of the basic data in the data of the virtual machines corresponding to the same basic data category, and perform a snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category.
上述方法中,在所述确定云平台中多个虚拟机的数据中各自基础数据的类别之前,所述方法还包括:In the above method, before determining the categories of the respective basic data in the data of the multiple virtual machines in the cloud platform, the method further includes:
获取所述云平台中多个虚拟机的数据中各自基础数据的信息。Obtain information about respective basic data in the data of multiple virtual machines in the cloud platform.
上述方法中,所述确定云平台中多个虚拟机的数据中各自基础数据的类别,包括:In the above method, the determining the categories of the respective basic data in the data of the multiple virtual machines in the cloud platform includes:
根据所述云平台中多个虚拟机的数据中各自基础数据的信息确定所述云平台中多个虚拟机的数据中各自基础数据的类别。The category of the respective basic data in the data of the multiple virtual machines in the cloud platform is determined according to the information of the respective basic data in the data of the multiple virtual machines in the cloud platform.
上述方法中,在所述确定云平台中多个虚拟机的数据中各自基础数据的类别之后,在所述将属于同一基础数据类别的所对应虚拟机的数据中的基础数据统一进行一次快照备份之前,所述方法还包括:In the above method, after the category of the respective basic data in the data of the multiple virtual machines in the cloud platform is determined, a snapshot backup of the basic data in the data of the corresponding virtual machines belonging to the same basic data category is uniformly performed. Before, the method further includes:
将所述云平台中多个虚拟机的数据中各自基础数据的类别进行分类,得到属于同一基础数据类别所对应的虚拟机。Classifying the categories of the respective basic data in the data of multiple virtual machines in the cloud platform to obtain virtual machines corresponding to the same basic data category.
上述方法中,所述将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份,包括:In the above method, the separate snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category includes:
将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行增量快照备份。Separate incremental snapshot backups of the respective differential data in the data of the virtual machines that belong to the same basic data category.
本发明还提供一种数据的快照备份装置,所述装置包括:The present invention also provides a data snapshot backup device, the device includes:
确定模块,用于确定云平台中多个虚拟机的数据中各自基础数据的类别;A determination module, used to determine the category of the respective basic data in the data of multiple virtual machines in the cloud platform;
备份模块,用于将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份。The backup module is used to uniformly perform a snapshot backup of the basic data in the data of the virtual machines corresponding to the same basic data category, and perform a snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category. .
上述装置中,所述装置还包括:In the above device, the device also includes:
获取模块,用于获取所述云平台中多个虚拟机的数据中各自基础数据的信息。an acquisition module, configured to acquire the information of the respective basic data in the data of the multiple virtual machines in the cloud platform.
上述装置中,所述确定模块,具体用于根据所述云平台中多个虚拟机的数据中各自基础数据的信息确定所述云平台中多个虚拟机的数据中各自基础数据的类别。In the above device, the determining module is specifically configured to determine the category of the respective basic data in the data of the multiple virtual machines in the cloud platform according to the information of the respective basic data in the data of the multiple virtual machines in the cloud platform.
上述装置中,所述装置还包括:In the above device, the device further includes:
分类模块,用于将所述云平台中多个虚拟机的数据中各自基础数据的类别进行分类,得到属于同一基础数据类别所对应的虚拟机。The classification module is used for classifying the categories of the respective basic data in the data of the plurality of virtual machines in the cloud platform, so as to obtain the virtual machines corresponding to the same basic data category.
上述装置中,所述备份模块,具体用于将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行增量快照备份。In the above device, the backup module is specifically configured to separately perform incremental snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category.
本发明实施例提供的数据的快照备份方法及装置,首先确定云平台中多个虚拟机的数据中各自基础数据的类别,然后将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份;实现了将属于同一个基础数据类别的虚拟机的公共的数据部分仅仅做一次快照备份,大大减少了虚拟机快照备份时的基础数据快照备份的次数,从整体上减少了快照备份的数据量以及磁盘的读写压力,有效的提高了快照备份的效率。In the data snapshot backup method and device provided by the embodiments of the present invention, the categories of the respective basic data in the data of multiple virtual machines in the cloud platform are first determined, and then the basic data in the data of the virtual machines corresponding to the same basic data category is determined. Perform a snapshot backup in a unified manner, and perform snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category; realize only one snapshot of the common data part of the virtual machines belonging to the same basic data category Backup greatly reduces the number of snapshot backups of basic data during virtual machine snapshot backups, reduces the data volume of snapshot backups and the read and write pressure of disks as a whole, and effectively improves the efficiency of snapshot backups.
附图说明Description of drawings
图1为虚拟机的存储数据的结构示意图;1 is a schematic structural diagram of storage data of a virtual machine;
图2为对虚拟机的存储数据采用全量快照备份方式的操作示意图;Fig. 2 is the operation schematic diagram of adopting full snapshot backup mode to the storage data of virtual machine;
图3为本发明数据的快照备份方法实施例的流程图;3 is a flowchart of an embodiment of a data snapshot backup method according to the present invention;
图4为本发明数据的快照备份方法实施例的操作示意图;Fig. 4 is the operation schematic diagram of the embodiment of the snapshot backup method of data of the present invention;
图5为本发明数据的快照备份装置实施例的结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of a data snapshot backup apparatus according to the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
图3为本发明数据的快照备份方法实施例的流程图,如图3所示,本方法可以包括如下步骤:FIG. 3 is a flowchart of an embodiment of a data snapshot backup method according to the present invention. As shown in FIG. 3 , the method may include the following steps:
步骤101、获取云平台中多个虚拟机的数据中各自基础数据的信息。Step 101: Acquire information of respective basic data in data of multiple virtual machines in the cloud platform.
云平台(Cloud platforms)提供基于“云”的服务,供开发者创建应用时采用,可以不必构建自己的基础,完全可以依靠云平台来创建新的软件即服务应用;在本发明实施例中,本方法可以应用在OpenStack云计算管理平台上。Cloud platforms (Cloud platforms) provide "cloud"-based services for developers to use when creating applications, without having to build their own foundation, and can rely on cloud platforms to create new software-as-a-service applications; in the embodiment of the present invention, The method can be applied to the OpenStack cloud computing management platform.
数据的快照备份装置会获取云平台中多个虚拟机的数据中各自基础数据的信息,各自基础数据的信息代表了各自基础数据所属于的类别;例如,图4为本发明数据的快照备份方法实施例的操作示意图,如图4所示,数据的快照备份装置获取云平台中6个虚拟机(虚拟机A、虚拟机B、虚拟机C、虚拟机D、虚拟机E、虚拟机F)的数据中各自基础数据(基础数据A、基础数据B、基础数据C、基础数据D、基础数据E、基础数据F)的信息。The data snapshot backup device will obtain the information of the respective basic data in the data of multiple virtual machines in the cloud platform, and the information of the respective basic data represents the category to which the respective basic data belongs; for example, FIG. 4 is the snapshot backup method of the data of the present invention. The operation schematic diagram of the embodiment, as shown in FIG. 4 , the snapshot backup device of data acquires 6 virtual machines (virtual machine A, virtual machine B, virtual machine C, virtual machine D, virtual machine E, virtual machine F) in the cloud platform The information of the respective basic data (basic data A, basic data B, basic data C, basic data D, basic data E, basic data F) in the data.
这里需要说明的是,数据的快照备份装置获取云平台中多少个虚拟机的数量可以根据实际需求进行设置,在此不加以限定。It should be noted here that the number of virtual machines in the cloud platform obtained by the data snapshot backup device can be set according to actual requirements, which is not limited here.
步骤102、确定所述云平台中多个虚拟机的数据中各自基础数据的类别。Step 102: Determine the categories of the respective basic data in the data of the multiple virtual machines in the cloud platform.
数据的快照备份装置根据获取到的云平台中多个虚拟机的数据中各自基础数据的信息确定云平台中多个虚拟机的数据中各自基础数据的类别,针对每一个虚拟机,确定各自基础数据的类别;例如,如图4所示,确定了虚拟机A的基础数据A为基础数据类别一、虚拟机B的基础数据B为基础数据类别一、虚拟机C的基础数据C为基础数据类别一,确定了虚拟机D的基础数据D为基础数据类别二、虚拟机E的基础数据E为基础数据类别二、虚拟机F的基础数据F为基础数据类别二。The data snapshot backup device determines the type of the respective basic data in the data of the multiple virtual machines in the cloud platform according to the obtained information of the respective basic data in the data of the multiple virtual machines in the cloud platform, and determines the respective basic data for each virtual machine. The type of data; for example, as shown in Figure 4, it is determined that the basic data A of virtual machine A is the basic data category 1, the basic data B of virtual machine B is the basic data category 1, and the basic data C of virtual machine C is the basic data Category 1, it is determined that the basic data D of the virtual machine D is the basic data category 2, the basic data E of the virtual machine E is the basic data category 2, and the basic data F of the virtual machine F is the basic data category 2.
步骤103、将所述云平台中多个虚拟机的数据中各自基础数据的类别进行分类,得到属于同一基础数据类别所对应的虚拟机。Step 103: Classify the categories of the respective basic data in the data of the plurality of virtual machines in the cloud platform to obtain virtual machines corresponding to the same basic data category.
数据的快照备份装置将云平台中多个虚拟机的数据中各自基础数据的类别进行分类,得到属于同一基础数据类别所对应的虚拟机;例如,如图4所示,将属于基础数据类别一的虚拟机A、虚拟机B、虚拟机C规划成同一类,将属于基础数据类别二的虚拟机D、虚拟机E、虚拟机F规划成另外一类。The data snapshot backup device classifies the categories of the respective basic data in the data of multiple virtual machines in the cloud platform, and obtains virtual machines corresponding to the same basic data category; for example, as shown in FIG. The virtual machine A, virtual machine B, and virtual machine C are planned to be in the same category, and the virtual machine D, virtual machine E, and virtual machine F belonging to the second basic data category are planned to be in another category.
步骤104、将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份。Step 104: Perform a snapshot backup of the basic data in the data of the virtual machines corresponding to the same basic data category, and perform snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category.
数据的快照备份装置将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份,其中,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行增量快照备份;The data snapshot backup device uniformly performs a snapshot backup of the basic data in the data of the virtual machines corresponding to the same basic data category, and performs a snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category. , wherein the respective differential data in the data of the virtual machines corresponding to the same basic data category is separately performed incremental snapshot backup;
例如,如图4所示,由于虚拟机A的基础数据A、虚拟机B的基础数据B、虚拟机C的基础数据C属于同一基础数据类别一,即基础数据A、基础数据B、基础数据C为同一个基础数据,所有该类别的虚拟机共用这个基础数据,所以只需要对基础数据A、基础数据B、基础数据C统一进行一次快照备份,然后针对虚拟机A的差异数据An、虚拟机B的差异数据Bn、虚拟机C的差异数据Cn单独进行增量快照备份;每次虚拟机恢复数据的时候都是采用该虚拟机的差异数据部分和所属的该类别共用的基础数据部分进行合并处理,得到完整的数据。For example, as shown in Figure 4, since the basic data A of virtual machine A, basic data B of virtual machine B, and basic data C of virtual machine C belong to the same basic data category 1, that is, basic data A, basic data B, basic data C is the same basic data, and all virtual machines of this type share this basic data, so it is only necessary to perform a snapshot backup of basic data A, basic data B, and basic data C, and then for the difference data An of virtual machine A, virtual The differential data Bn of machine B and the differential data Cn of virtual machine C are separately backed up by incremental snapshots; each time a virtual machine restores data, it uses the differential data part of the virtual machine and the basic data part shared by the category to which it belongs. Merge processing to get complete data.
同理,由于虚拟机D的基础数据D、虚拟机E的基础数据E、虚拟机F的基础数据F属于同一基础数据类别二,即基础数据D、基础数据E、基础数据F为同一个基础数据,所有该类别的虚拟机共用这个基础数据,所以只需要对基础数据D、基础数据E、基础数据F统一进行一次快照备份,然后针对虚拟机D的差异数据Dn、虚拟机E的差异数据En、虚拟机F的差异数据Fn单独进行增量快照备份;每次虚拟机恢复数据的时候都是采用该虚拟机的差异数据部分和所属的该类别共用的基础数据部分进行合并处理,得到完整的数据。Similarly, since the basic data D of virtual machine D, the basic data E of virtual machine E, and the basic data F of virtual machine F belong to the same basic data category II, that is, basic data D, basic data E, and basic data F are the same foundation All virtual machines of this category share this basic data, so it is only necessary to perform a snapshot backup of basic data D, basic data E, and basic data F, and then target the difference data Dn of virtual machine D and the difference data of virtual machine E. En and the differential data Fn of the virtual machine F are individually backed up by incremental snapshots; each time the virtual machine restores data, the differential data part of the virtual machine and the basic data part shared by the category to which it belongs are combined for processing to obtain a complete The data.
可以看出针对基础数据类别一和基础数据类别二分数不同类别的虚拟机的时候,需要在各自的类别中进行分类处理,这样做使得一个类别的虚拟机的公共的数据部分仅仅做一次快照备份,大大减少了虚拟机快照备份时的基础数据快照备份的次数,从整体上减少了快照备份的数据量以及磁盘的读写压力,有效的提高了快照备份的效率。It can be seen that when the basic data category 1 and basic data category 2 score different categories of virtual machines, they need to be classified in their respective categories, so that the public data part of a category of virtual machines only needs to be backed up once. , which greatly reduces the number of snapshot backups of basic data during virtual machine snapshot backups, reduces the data volume of snapshot backups and the read and write pressure of disks as a whole, and effectively improves the efficiency of snapshot backups.
本发明实施例提供的数据的快照备份方法,首先确定云平台中多个虚拟机的数据中各自基础数据的类别,然后将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份;实现了将属于同一个基础数据类别的虚拟机的公共的数据部分仅仅做一次快照备份,大大减少了虚拟机快照备份时的基础数据快照备份的次数,从整体上减少了快照备份的数据量以及磁盘的读写压力,有效的提高了快照备份的效率。In the data snapshot backup method provided by the embodiment of the present invention, the categories of the respective basic data in the data of multiple virtual machines in the cloud platform are firstly determined, and then the basic data in the data of the virtual machines corresponding to the same basic data category is uniformly performed. A snapshot backup is to perform a snapshot backup of the respective difference data in the data of the virtual machines corresponding to the same basic data category. It greatly reduces the number of snapshot backups of basic data during virtual machine snapshot backups, reduces the data volume of snapshot backups and the read and write pressure of disks as a whole, and effectively improves the efficiency of snapshot backups.
图5为本发明数据的快照备份装置实施例的结构示意图,如图5所示,该数据的快照备份装置05可以包括:确定模块51、备份模块52;其中,FIG. 5 is a schematic structural diagram of an embodiment of a data snapshot backup device according to the present invention. As shown in FIG. 5 , the data
所述确定模块51,用于确定云平台中多个虚拟机的数据中各自基础数据的类别;The determining
所述备份模块52,用于将属于同一基础数据类别所对应的虚拟机的数据中的基础数据统一进行一次快照备份,将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行快照备份。The
进一步的,所述装置还包括:获取模块53;其中,Further, the apparatus further includes: an
所述获取模块53,用于获取所述云平台中多个虚拟机的数据中各自基础数据的信息。The obtaining
进一步的,所述确定模块51,具体用于根据所述云平台中多个虚拟机的数据中各自基础数据的信息确定所述云平台中多个虚拟机的数据中各自基础数据的类别。Further, the determining
进一步的,所述装置还包括:分类模块54;其中,Further, the apparatus further includes: a
所述分类模块54,用于将所述云平台中多个虚拟机的数据中各自基础数据的类别进行分类,得到属于同一基础数据类别所对应的虚拟机。The
进一步的,所述备份模块52,具体用于将属于同一基础数据类别所对应的虚拟机的数据中各自的差异数据单独进行增量快照备份。Further, the
本实施例的装置,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to implement the technical solutions of the method embodiments shown above, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
在实际应用中,所述确定模块51、备份模块52、获取模块53、分类模块54可由位于装置上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现。In practical applications, the determining
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510998473.XA CN106919472B (en) | 2015-12-28 | 2015-12-28 | Method and device for snapshot backup of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510998473.XA CN106919472B (en) | 2015-12-28 | 2015-12-28 | Method and device for snapshot backup of data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106919472A CN106919472A (en) | 2017-07-04 |
CN106919472B true CN106919472B (en) | 2020-05-12 |
Family
ID=59456364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510998473.XA Active CN106919472B (en) | 2015-12-28 | 2015-12-28 | Method and device for snapshot backup of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106919472B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629224A (en) * | 2012-04-26 | 2012-08-08 | 广东电子工业研究院有限公司 | Method and device of integrated data disaster recovery based on cloud platform |
CN103593256A (en) * | 2012-08-15 | 2014-02-19 | 阿里巴巴集团控股有限公司 | Method and system for virtual machine snapshot backup on basis of multilayer duplicate deletion |
CN103593262A (en) * | 2013-11-15 | 2014-02-19 | 上海爱数软件有限公司 | Virtual machine backup method based on classification |
CN104981784A (en) * | 2012-11-16 | 2015-10-14 | 跨网数据管理有限公司 | Software deployment and control method and system |
-
2015
- 2015-12-28 CN CN201510998473.XA patent/CN106919472B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629224A (en) * | 2012-04-26 | 2012-08-08 | 广东电子工业研究院有限公司 | Method and device of integrated data disaster recovery based on cloud platform |
CN103593256A (en) * | 2012-08-15 | 2014-02-19 | 阿里巴巴集团控股有限公司 | Method and system for virtual machine snapshot backup on basis of multilayer duplicate deletion |
CN104981784A (en) * | 2012-11-16 | 2015-10-14 | 跨网数据管理有限公司 | Software deployment and control method and system |
CN103593262A (en) * | 2013-11-15 | 2014-02-19 | 上海爱数软件有限公司 | Virtual machine backup method based on classification |
Also Published As
Publication number | Publication date |
---|---|
CN106919472A (en) | 2017-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9377964B2 (en) | Systems and methods for improving snapshot performance | |
US9460098B2 (en) | Virtual machine snapshot backup based on multilayer De-duplication | |
US9372762B2 (en) | Systems and methods for restoring application data | |
US9430332B1 (en) | Systems and methods for enabling efficient access to incremental backups | |
US8281093B1 (en) | Systems and methods for creating consolidated backups of snapshot hierarchies | |
US10657019B1 (en) | Method and system for multi-node monitoring services | |
EP3499358B1 (en) | Method and device for deleting cascade snapshot | |
US10191817B2 (en) | Systems and methods for backing up large distributed scale-out data systems | |
WO2017028690A1 (en) | File processing method and system based on etl | |
US10409497B2 (en) | Systems and methods for increasing restore speeds of backups stored in deduplicated storage systems | |
CN106681862A (en) | Method and apparatus for incremental recovery of data | |
CN105022680A (en) | Data backup method and device | |
JP2019050480A5 (en) | ||
CN104506636B (en) | A kind of method of data synchronization and device | |
CN106919472B (en) | Method and device for snapshot backup of data | |
US9753810B1 (en) | Systems and methods for backing up virtual machines deployed in virtual storage area networks | |
CN102750203A (en) | Linux-based rapid deploying method | |
CN114329095A (en) | System logic diagram generation method, device, equipment and storage medium | |
US9830471B1 (en) | Outcome-based data protection using multiple data protection systems | |
CN109491961B (en) | File system snapshot method and snapshot device | |
CN103823637B (en) | A kind of data processing method and equipment | |
US10754750B1 (en) | Method and system for collecting monitoring information and providing visual representation of same | |
CN105138429B (en) | A kind of Copy on write Snapshot Method and system | |
US10776148B1 (en) | System and method for utilizing computational power of a server farm | |
CN107643941A (en) | The method and apparatus that virtual machine is managed in cloud data system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |