CN109597717A - A kind of data backup, restoration methods, device, electronic equipment and storage medium - Google Patents

A kind of data backup, restoration methods, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109597717A
CN109597717A CN201811498098.2A CN201811498098A CN109597717A CN 109597717 A CN109597717 A CN 109597717A CN 201811498098 A CN201811498098 A CN 201811498098A CN 109597717 A CN109597717 A CN 109597717A
Authority
CN
China
Prior art keywords
data
backup
restored
backed
publicly
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
CN201811498098.2A
Other languages
Chinese (zh)
Other versions
CN109597717B (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201811498098.2A priority Critical patent/CN109597717B/en
Publication of CN109597717A publication Critical patent/CN109597717A/en
Application granted granted Critical
Publication of CN109597717B publication Critical patent/CN109597717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Abstract

The embodiment of the invention provides a kind of data backup, restoration methods, device, server and storage mediums.The data back up method is applied to server, comprising: receives the data backup command for being directed to target cloud disk;Wherein, the type of backup backed up to the data to be backed up of the target cloud disk is carried in the data backup command;According to the type of backup, by the data backup to be backed up to publicly-owned cloud data center.The present invention can reduce the equipment cost of data backup.

Description

A kind of data backup, restoration methods, device, electronic equipment and storage medium
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of data backup, restoration methods, device, electronics Equipment and storage medium.
Background technique
Private clound (Private Clouds) is for the memory space in the cloud that a user is used alone and constructs.When Before, under private clound scene, when logic error occurs for the data in the failure of the hardware of cloud disk or cloud disk, it can make At the irreversible loss of data.Wherein, the reason of causing data that logic error occurs includes: operation, the cloud for occurring accidentally to delete data Disk meets with hacker attack or virus harm etc..
In order to make the data in cloud disk not incur loss, current method is: by the data backup in cloud disk to use The local data center at family.Specifically, local data center can be realized by disposing some storage equipment, it can by cloud Data backup in disk is to some storage equipment.
However, the storage equipment in local data center usually requires user oneself purchase, storing data will increase in this way Equipment cost.
Summary of the invention
Be designed to provide a kind of data backup, restoration methods, device, electronic equipment and the storage of the embodiment of the present invention are situated between Matter, to reduce the equipment cost of data backup.Specific technical solution is as follows:
In a first aspect, being applied to server, the method packet the embodiment of the invention provides a kind of data back up method It includes:
Receive the data backup command for being directed to target cloud disk;Wherein, it carries in the data backup command to described The type of backup that the data to be backed up of target cloud disk are backed up;
According to the type of backup, by the data backup to be backed up to publicly-owned cloud data center.
Optionally, according to the type of backup, include: by the data backup to be backed up to publicly-owned cloud data center
In the case where the type of backup is full backup, by the data full backup to be backed up to the public cloud Data center;
In the case where the type of backup is incremental backup, the number that incremental backup is carried out in the data to be backed up is determined According to block, the data block for carrying out incremental backup is backed up into the publicly-owned cloud data center.
Optionally it is determined that the data block for carrying out incremental backup in the data to be backed up includes:
For each data block in the data to be backed up, following steps are executed:
It is corresponding with the data block by being stored in the corresponding cryptographic Hash of the data block and the publicly-owned cloud data center The cryptographic Hash of father's Backup Data block be compared;
In the case where comparison result is different, determine that the data block is the data block for carrying out incremental backup.
Optionally, after receiving the data backup command for target cloud disk, the method also includes:
The data to be backed up are divided into the first preset quantity data block;
Calculate the corresponding cryptographic Hash of each data block in the first preset quantity data block;
The corresponding cryptographic Hash of each data block is stored to the publicly-owned cloud data center.
Optionally, after by the data backup to be backed up to publicly-owned cloud data center, the method also includes:
By the corresponding backup information of the data to be backed up, it is recorded in the corresponding backup chain of the data to be backed up, institute Backup chain is stated to be stored in the server or the publicly-owned cloud data center;
Wherein, the backup information includes: by the BACKUP TIME of the data backup to be backed up to publicly-owned cloud data center With the mark of corresponding backup content.
Optionally, after receiving the data backup command for target cloud disk, the method also includes:
By the metadata of the metadata of the data to be backed up and each data block of the data to be backed up store to The publicly-owned cloud data center, wherein the metadata of the data to be backed up includes at least: the title of the data to be backed up, The position of size and the data to be backed up in the target cloud disk, first number of each data block of the data to be backed up According to including at least: position of title, size and the data block of the data block in the data to be backed up.
Second aspect, the embodiment of the invention provides a kind of data reconstruction methods, are applied to server, the method packet It includes:
The data received for target cloud disk restore instruction;
Determine the recovery type for the data to be restored in the target cloud disk;
The recovery type be full dose data restore in the case where, from publicly-owned cloud data center, read with it is described to Restore the corresponding full backup content of data, is backed up the full backup content as the corresponding target of the data to be restored Data, and the corresponding target Backup Data of the data to be restored is restored to the corresponding position of the target cloud disk;
In the case where the recovery type is that incremental data is restored, from the publicly-owned cloud data center, described in reading The corresponding all backup contents of data to be restored, are based on all backup contents, and it is extensive to carry out data to the data to be restored It is multiple, obtain the corresponding target Backup Data of the data to be restored, and by the corresponding target Backup Data of the data to be restored Restore to the corresponding position of the target cloud disk;
Wherein, all backup contents of the data to be restored include: in the corresponding full backup of the data to be restored Hold, and, the corresponding each incremental backup content of the data to be restored.
Optionally, the data to be restored are corresponding with a backup chain, the backup chain be stored in the server or In the publicly-owned cloud data center, the backup chained record has: the mark of the corresponding full backup content of the data to be restored With the mark of the BACKUP TIME of the full backup content and the corresponding each incremental backup content of the data to be restored and The BACKUP TIME of each incremental backup content;
From the publicly-owned cloud data center, reading the corresponding all backup contents of the data to be restored includes:
Based on the mark of the full backup content, read in the full backup from the publicly-owned cloud data center Hold, and the mark based on each incremental backup content, the incremental backup content is read from the publicly-owned cloud data center.
Optionally, all backup contents are based on, data recovery is carried out to the data to be restored, are obtained described to extensive The corresponding target Backup Data of complex data includes:
Restore the corresponding full backup content of the data to be restored, and in the base for the full backup content restored On plinth, the sequencing incrementally backed up successively restores the corresponding incremental backup content of the data to be restored, obtains described The corresponding target Backup Data of data to be restored.
Optionally, the corresponding target Backup Data of the data to be restored is restored to the corresponding positions of the target cloud disk It sets, comprising:
Obtain position and size of the data to be restored in the target cloud disk;
According to the position and size, the corresponding target Backup Data of the data to be restored is restored to the target cloud The corresponding position of disk.
The third aspect, the embodiment of the invention provides a kind of data backup devices, are applied to server, described device packet It includes:
First receiving module, for receiving the data backup command for being directed to target cloud disk;Wherein, the data backup refers to The type of backup backed up to the data to be backed up of the target cloud disk is carried in order;
Backup module is used for according to the type of backup, by the data backup to be backed up to publicly-owned cloud data center.
Optionally, the backup module, comprising:
First backup units are used in the case where the type of backup is full backup, and the data to be backed up are complete Amount backs up to the publicly-owned cloud data center;
Second backup units, for determining the data to be backed up in the case where the type of backup is incremental backup The middle data block for carrying out incremental backup, backs up to the publicly-owned cloud data center for the data block for carrying out incremental backup.
Optionally, second backup units, specifically for executing for each data block in the data to be backed up Following steps: corresponding with the data block by being stored in the corresponding cryptographic Hash of the data block and the publicly-owned cloud data center The cryptographic Hash of father's Backup Data block be compared;In the case where comparison result is different, determine that the data block is described Carry out the data block of incremental backup.
Optionally, described device further include:
First memory module, for first receiving module receive for target cloud disk data backup command it Afterwards, the data to be backed up are divided into the first preset quantity data block;It calculates in the first preset quantity data block The corresponding cryptographic Hash of each data block;The corresponding cryptographic Hash of each data block is stored to the publicly-owned cloud data center.
Optionally, described device further include:
Logging modle is used for after the backup module is by the data backup to be backed up to publicly-owned cloud data center, By the corresponding backup information of the data to be backed up, it is recorded in the corresponding backup chain of the data to be backed up, the backup chain It is stored in the server or the publicly-owned cloud data center;
Wherein, the backup information includes: by the BACKUP TIME of the data backup to be backed up to publicly-owned cloud data center With the mark of corresponding backup content.
Optionally, described device further include:
Second memory module, for first receiving module receive for target cloud disk data backup command it Afterwards, the metadata of the metadata of the data to be backed up and each data block of the data to be backed up is stored to described Publicly-owned cloud data center, wherein the metadata of the data to be backed up includes at least: title, the size of the data to be backed up With position of the data to be backed up in the target cloud disk, the metadata of each data block of the data to be backed up is extremely It less include: the position of the title, size and the data block of the data block in the data to be backed up.
Fourth aspect, the embodiment of the invention provides a kind of Data Recapture Units, are applied to server, described device packet It includes:
Second receiving module, for receiving the data recovery instruction for being directed to target cloud disk;
Determining module, for determining the recovery type for the data to be restored in the target cloud disk;
First recovery module is used in the case where the recovery type is that full dose data are restored, from public cloud data In the heart, full backup content corresponding with the data to be restored is read, using the full backup content as described to be restored The corresponding target Backup Data of data, and the corresponding target Backup Data of the data to be restored is restored to the target cloud magnetic The corresponding position of disk;
Second recovery module is used in the case where the recovery type is that incremental data is restored, from the public cloud number According to the corresponding all backup contents of the data to be restored in center, are read, all backup contents are based on, to described to extensive Complex data carries out data recovery, obtains the corresponding target Backup Data of the data to be restored, and by the data pair to be restored The target Backup Data answered restores to the corresponding position of the target cloud disk;
Wherein, all backup contents of the data to be restored include: in the corresponding full backup of the data to be restored Hold, and, the corresponding each incremental backup content of the data to be restored.
Optionally, the data to be restored are corresponding with a backup chain, the backup chain be stored in the server or In the publicly-owned cloud data center, the backup chained record has: the mark of the corresponding full backup content of the data to be restored With the mark of the BACKUP TIME of the full backup content and the corresponding each incremental backup content of the data to be restored With the BACKUP TIME of each incremental backup content;
Second recovery module, specifically for the mark based on the full backup content, from the public cloud data The full backup content, and the mark based on each incremental backup content are read in center, from the public cloud data The incremental backup content is read in the heart.
Optionally, second recovery module is specifically used for restoring the corresponding full backup content of the data to be restored, And on the basis of the full backup content restored, the sequencing incrementally backed up successively restores described to extensive The corresponding incremental backup content of complex data obtains the corresponding target Backup Data of the data to be restored.
Optionally, first recovery module and second recovery module are specifically used for obtaining the data to be restored Position and size in the target cloud disk;According to the position and size, by the corresponding target of the data to be restored Backup Data restores to the corresponding position of the target cloud disk.
5th aspect, the embodiment of the invention provides a kind of server, including processor, communication interface, memory and logical Believe bus, wherein the processor, the communication interface, the memory complete mutual lead to by the communication bus Letter;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, is realized described in first aspect as above Data back up method step.
6th aspect, the embodiment of the invention provides a kind of server, including processor, communication interface, memory and logical Believe bus, wherein the processor, the communication interface, the memory complete mutual lead to by the communication bus Letter;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, is realized described in second aspect as above Data reconstruction method step.
7th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes data described in first aspect as above when being executed by processor Backup method step.
Eighth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes data described in second aspect as above when being executed by processor Restoration methods step.
Scheme provided in an embodiment of the present invention, when needing to back up the data in target cloud disk, server is connect The data backup command narrowed to target cloud disk;Wherein, it is carried in the data backup command to the target cloud disk The type of backup that is backed up of data to be backed up;According to the type of backup, by the data backup to be backed up to public cloud Data center.The embodiment of the present invention by the data to be backed up in target cloud disk in a manner of full backup or incremental backup Publicly-owned cloud data center is backed up to, the equipment cost of data backup can be reduced.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow chart of data back up method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of data reconstruction method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of data backup device provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of Data Recapture Unit provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Currently, under private clound scene, when logic occurs for the data in the hardware failure of cloud disk or cloud disk When mistake, the irreversible loss of data will cause.In order to make the data in cloud disk not incur loss, current method is: will Data backup in cloud disk to user local data center.Specifically, local data center can be by by some storages Deployed with devices is the storage cluster of predefined type to realize.The storage cluster of predefined type includes: Swift (object storage service Cluster), Glusterfs (distributed file system), NFS (Network File System, Network File System), Posix (local file system), TSM (Tivoli Storage Manager, full maintenance system) and Ceph (distributed memory system) Deng.
However, the storage equipment of local data center usually requires user oneself purchase, storing data will increase in this way Equipment cost.Moreover, the storage equipment of local data center needs user oneself to safeguard, and such as: the storage of local data center It needs user to carry out dilatation etc. when capacity is inadequate, will increase the cost of artificial O&M in this way.
In order to solve prior art problem, the embodiment of the invention provides a kind of data backup, restoration methods, device, clothes Business device and storage medium.
A kind of data back up method provided in an embodiment of the present invention is introduced first below.
It should be noted that a kind of data back up method provided in an embodiment of the present invention, can be applied to server.The clothes Business device is for by the server of the data backup to be backed up in the target cloud disk in local data center to default public cloud. Specifically, the server can receive the data backup command for target cloud disk of client device sending, and respond The data to be backed up in target cloud disk are backed up in the instruction.
As shown in Figure 1, a kind of data back up method provided in an embodiment of the present invention, may include steps of:
S101 receives the data backup command for being directed to target cloud disk;Wherein, it carries in data backup command to target The type of backup that the data to be backed up of cloud disk are backed up.
It, can be using the cloud disk as target cloud disk when needing to back up the data in a cloud disk.Service The received data backup command for target cloud disk of device can be the data backup command issued by a client device. The data backup command that the client device issues can be carries out corresponding operation by user in the interface of client device And generate, be also possible to it is pre-set by user, when reaching certain predetermined condition, automatically generated by the client device Data backup command.The data in target cloud disk are backed up every certain duration for example, user presets, then The client device can periodically generate data backup command, and be sent to server.
In the present embodiment, data to be backed up refer to: a Backup Data block for needing to back up in target cloud disk.It is backing up Before, the data in target cloud disk can be divided into the second preset quantity Backup Data block.Each Backup Data block For a data to be backed up, in this way, convenient for being backed up as unit of data block to the data in target cloud disk.Namely It says, the target cloud disk can be divided into multiple sections in advance, when backing up to target cloud disk, for what is divided Each section, using data current in the section as data to be backed up.
Second preset quantity, which can according to need, to be set.It in a particular application, can also be according to for backing up to standby The type of the publicly-owned cloud data center of part data, to determine the second preset quantity.For example, if by data backup to be backed up to Asia In the inferior public cloud S3 of horse, then the size of a Backup Data block is set as 50M, then, if the data of target cloud disk Size is 500M, then the second preset quantity is 10, i.e., the data of target cloud disk is divided into 10 Backup Data blocks.
Further, receive for target cloud disk data backup command after, the above method can also include with Lower step:
Data to be backed up are divided into the first preset quantity data block;
Calculate the corresponding cryptographic Hash of each data block in the first preset quantity data block;
The corresponding cryptographic Hash of each data block is stored to publicly-owned cloud data center.
In the present embodiment, data to be backed up can be divided into the first preset quantity data block, and calculate number to be backed up The cryptographic Hash of each data block in.In this way, determining convenient for when carrying out incremental backup to target cloud disk specifically to be backed up Which data block in data is backed up.The unit of the size of data block can be byte, for example, the size of a data block It can be 32 bytes.
The present embodiment does not limit the method for the cryptographic Hash for calculating each data block.Illustratively, MD5 can be used (Message-Digest Algorithm, Message Digest 5) calculates the cryptographic Hash of each data block.
After the corresponding cryptographic Hash of each data block is calculated, cryptographic Hash calculated can be stored to public cloud Data center carries out incremental backup to target cloud disk in order to subsequent.
S102, according to type of backup, by data backup to be backed up to publicly-owned cloud data center.
In the present embodiment, the type of backup to the data to be backed up in target cloud disk may include: full backup and increasing Amount backup.Specifically, carried in above-mentioned data backup command the data to be backed up of target cloud disk are backed up it is standby Part type.The concrete form of the type of backup can be a type of backup parameter.According to the type of backup parameter, needle can be determined To the type of backup of the data to be backed up in target cloud disk.In practical applications, the shape of the type of backup parameter and its value Formula can be preset, and can there are many.Illustratively, type of backup parameter is expressed as: increment, when When the value of increment is True, i.e., as increment=True, expression type of backup is incremental backup;When When the value of increment is False, i.e., as increment=False, expression type of backup is full backup.
In practical applications, it if it is being backed up for the first time to target cloud disk, needs to the whole in target cloud disk Data are backed up, i.e., carry out full backup to target cloud disk, then, the type of backup in above-mentioned data backup command is complete Amount backup.
It, can be to the generation in target cloud disk in a kind of mode if not being backed up for the first time to target cloud disk The data of change are backed up, i.e., carry out incremental backup to target cloud disk, then, the backup class in above-mentioned data backup command Type is incremental backup;In another way, full backup can also be carried out to target cloud disk, then, above-mentioned data backup refers to Type of backup in order is full backup.
It by data backup to be backed up to publicly-owned cloud data center may include following according to type of backup in the present embodiment Step:
Step 1021, in the case where type of backup is full backup, by data full backup to be backed up to public cloud number According to center;
Step 1022, it in the case where type of backup is incremental backup, determines and carries out incremental backup in data to be backed up The data block for carrying out incremental backup is backed up to publicly-owned cloud data center by data block.
Step 1021 is described in detail below:
Public cloud is a kind of cloud being able to use that third party provider provides for user.It can by data backup to public cloud To have the advantage that
1. the persistence of public cloud storing data is higher than local data center, 99.99999999% usually may be implemented Persistence even has occurred biggish disaster, still can guarantee the integrality of data;
2. when by data backup to public cloud, once disaster occurs for local data center, can use and be stored in public cloud Backup Data complete data recovery.
In the present embodiment, publicly-owned cloud data center be can be selected by the user.Illustratively, publicly-owned cloud data center can be with It is Amazon public cloud S3.
It, can be by data backup to be backed up to publicly-owned cloud data center if backed up for the first time to target cloud disk.Such as Fruit is not to back up for the first time to target cloud disk, can also carry out full backup to target cloud disk, it can will be to be backed up Data backup is to publicly-owned cloud data center.Incremental backup is carried out to target cloud disk for the ease of subsequent simultaneously, it can will be to standby The cryptographic Hash of each data block is stored to publicly-owned cloud data center in part data.
It is understood that the structure of different publicly-owned cloud data centers may be different.So, for different public clouds Data center, the mode of data backup to be backed up to publicly-owned cloud data center is also just different.Specifically, data to be backed up are standby When part to publicly-owned cloud data center, selected cloud computing service, storage assembly and to the driving of publicly-owned cloud data center all It is different.In the following, being Amazon public cloud S3 with publicly-owned cloud data center as an example, briefly explaining data backup to be backed up extremely The process of S3:
In this example, selection open source community OpenStack provides cloud computing service, and utilizes open source community Block storage assembly Cinder in OpenStack is as storage assembly.In Cinder component, backup Backup service can be mentioned For being directed to the backup services of storage volume, support is backuped to storage volume in the rear end equipment that open source community OpenStack is supported, Such as Swift cluster, Ceph cluster etc..Currently, not propped up in the rear end equipment supported by open source community OpenStack Hold S3.Thus, in order to by data backup to be backed up to S3, need first to realize the driving to S3.It in this example, can be by such as Under configuration information realize driving to S3:
Content below cinder.conf file configuration:
Backup_driver=cinder.backup.drivers.s3
Backup_s3_endpoint_url=http: //localhost:82
Backup_s3_access_key_id=**
Backup_s3_secret_access_key=***
Backup_s3_KMS=****
Backup_s3_bucket=volumebackups
Backup_s3_object_size=52428800
Wherein, " cinder.conf " indicates the title of configuration file;" backup_driver= Cinder.backup.drivers.s3 " indicates that the driving realized using backup service is the driving to S3;"backup_s3_ Endpoint_url=http: //localhost:82 " indicates the corresponding URL of S3 (Uniform Resource Locator, system One Resource Locator) it is http://localhost:82;" backup_s3_access_key_id=** " indicates access S3's User name is * *;" backup_s3_secret_access_key=" indicates that the password of access S3 is * * *;"backup_s3_ KMS=**** " is indicated whether data enciphering back-up to be backed up to S3, if * * * * is True, indicates encrypted backup, otherwise, Indicate not encrypted backup;" backup_s3_bucket=volumebackups " expression name into S3 by data backup to be backed up Referred to as in the bucket of volumebackups;Indicate by the size of data to be backed up be 52428800 bytes, i.e., data to be backed up it is big Small is 50M.
When backing up for the first time to target cloud disk, the driving to S3 can be realized by the above configuration information.And Execute order after the completion of configuration: service openstack-cinder-backup start starts backup services, will to standby Part data block backs up to S3.Specifically, by data backup to be backed up in S3 barrels selected.In this way, being achieved that target The full backup of cloud disk.Furthermore, it is possible to the cryptographic Hash of each data block also is stored in the S3 barrels, in order to subsequent to mesh It marks cloud disk and carries out incremental backup.
Step 1022 is described in detail below:
If not being backed up for the first time to target cloud disk, then in order to reduce BACKUP TIME, and account for as little as possible With the memory space of publicly-owned cloud data center, incremental backup can be carried out to target cloud disk.That is, being directed to number to be backed up According to, only by it is therein, back up changed data block relative to the last time and back up to publicly-owned cloud data center.
In one implementation, it determines the data block for carrying out incremental backup in data to be backed up, may include:
For each data block in data to be backed up, following steps are executed:
The father's Backup Data corresponding with data block that will be stored in the corresponding cryptographic Hash of data block and publicly-owned cloud data center The cryptographic Hash of block is compared;
In the case where comparison result is different, determine that data block is to carry out the data block of incremental backup.
Specifically, for each data block in data to be backed up, it can be by the cryptographic Hash of the data block and public cloud number It is compared according to the cryptographic Hash of the corresponding father's Backup Data block of the data block in center.If comparison result is difference, illustrate the number Changed according to block relative to his father's Backup Data block, it is possible to which the data block is backed up to publicly-owned cloud data center.Phase Instead, if the comparison result of the data block be it is identical, illustrate that the data block does not change relative to his father's Backup Data block, that , it may not be necessary to the data block is backed up into publicly-owned cloud data center.
Wherein, father's Backup Data block of any data block refers to: in publicly-owned cloud data center, the data block is corresponding all In backup content, the backup content of the last backup.Such as: a data block is a, the corresponding all backup contents of the data block For a0, a1, a2, wherein a2 is the backup content of the last backup, then father's Backup Data block of data block a is a2.
It should be understood that no matter whether the data block needs to be backed up to publicly-owned cloud data center for any data block, The cryptographic Hash of the data block can be stored to publicly-owned cloud data center.In this way, in incremental backup next time, convenient for utilizing The cryptographic Hash of to publicly-owned cloud data center, each data block is stored when this incremental backup, to determine incremental backup next time When which data block for treating in Backup Data backed up.
Scheme provided in an embodiment of the present invention, when needing to back up the data in target cloud disk, server is connect The data backup command narrowed to target cloud disk;Wherein, it is carried in the data backup command to the target cloud disk The type of backup that is backed up of data to be backed up;According to the type of backup, by the data backup to be backed up to public cloud Data center.The embodiment of the present invention by the data to be backed up in target cloud disk in a manner of full backup or incremental backup Publicly-owned cloud data center is backed up to, the equipment cost of data backup can be reduced.Simultaneously, it is possible to reduce need the use of Backup Data The manpower O&M cost at family.Scheme provided in an embodiment of the present invention, by the data backup to be backed up in target cloud disk to publicly-owned Cloud data center.In this way, can target cloud disk break down or target cloud disk in data there is logic error when, from Data recovery is carried out to the data to be restored in target cloud disk in publicly-owned cloud data center.
Optionally, on the basis of embodiment shown in Fig. 1, by data backup to be backed up to publicly-owned cloud data center it Afterwards, the above method can also include: that the corresponding backup information of data to be backed up is recorded in the corresponding backup chain of data to be backed up In, backup chain is stored in server or publicly-owned cloud data center.
Wherein, backup information includes: by the BACKUP TIME of data backup to be backed up to publicly-owned cloud data center and corresponding The mark of backup content.
Since data to be backed up refer to data current in some section in target cloud disk, so data pair to be backed up The backup chain answered can be the backup chain for the section.Here it is possible to regard the corresponding backup chain of data to be backed up as one Straight line, for the section where data to be backed up, by the time that data in the section are carried out with full backup and corresponding full dose The mark of backup content, and to data in the section carry out every time incremental backup time and corresponding incremental backup content Mark, is recorded in the straight line.And in each secondary backup procedure data to be backed up backup information according to BACKUP TIME elder generation After be linked in sequence in the straight line.In this way in continuous backup procedure, the corresponding backup chain of the data to be backed up is just constructed. It can be used for carrying out data recovery to the data to be backed up for backup chain constructed by data to be backed up.
Moreover, constructed backup chain, can store in server, it is stored in publicly-owned cloud data center, This is all reasonable.
Optionally, on the basis of embodiment shown in Fig. 1, receive for target cloud disk data backup command it Afterwards, the above method further include:
The metadata of the metadata of data to be backed up and each data block of data to be backed up is stored to public cloud number According to center, wherein the metadata of data to be backed up includes at least: title, size and the data to be backed up of data to be backed up are in mesh Mark the position in cloud disk, the metadata of each data block of data to be backed up includes at least: the title of the data block, size and Position of the data block in data to be backed up.
Wherein, position of the data to be backed up in target cloud disk may is that the offset of data to be backed up.The offset Refer to: offset of the data to be backed up relative to predetermined position in target cloud disk.
In the present embodiment, the metadata of data to be backed up can be stored into publicly-owned cloud data center.In this way, to this , can be according to the title of the data to be backed up when data to be backed up carry out full dose recovery, reading from publicly-owned cloud data center should The corresponding full backup content of data to be backed up, should further according to position of the data to be backed up in target cloud disk and size Data to be backed up restore the corresponding position into target cloud disk.
In a particular application, when by data backup to be backed up to publicly-owned cloud data center, preset compression can be used After algorithm compresses the data to be backed up, publicly-owned cloud data center is backed up to, the transmission quantity of data can be reduced in this way.That , correspondingly, in the metadata of above-mentioned data to be backed up can also include: the title of preset compression algorithm.In this way, being convenient for When restoring data to be backed up, according to preset compression algorithm, using corresponding decompression algorithm in publicly-owned cloud data center The backup content of the corresponding compressed format of the data to be backed up is first decompressed, and the corresponding position into target cloud disk is then restored It sets.
Wherein, the position of any data block of data to be backed up may is that the offset of pending data block.The offset is Refer to: offset of the data block relative to predetermined position in the data to be backed up.
In the present embodiment, the metadata of each data block of data to be restored can also be stored to publicly-owned cloud data center In.In this way, when carrying out increment recovery to any data block, it can be according to the data block title, from publicly-owned cloud data center The data block is read, that is, the corresponding incremental backup content of the data block is read, further according to the data block in data to be backed up Position and size restore the data block to corresponding position in the data to be backed up.In this way, being achieved that the number to be backed up According to recovery.Further, the position according to the data to be backed up in target cloud disk and size, can be by the number to be backed up According to restore into target cloud disk corresponding position.
In a particular application, when any data block is backed up to publicly-owned cloud data center, preset compression can be used After algorithm compresses the data block, publicly-owned cloud data center is backed up to, the transmission quantity of data can be reduced in this way.So, It correspondingly, can also include: the title of preset compression algorithm in the metadata of the above-mentioned data block.In this way, convenient for extensive When the multiple data block, according to the preset compression algorithm, using corresponding decompression algorithm to being somebody's turn to do in publicly-owned cloud data center The backup content of the corresponding compressed format of data block is first decompressed, and is then restored to corresponding position in the data to be backed up.
Certainly, the metadata of the metadata of data to be backed up and each data block of data to be backed up is stored to public affairs There is the step of cloud data center, and by there is no stringent elder generations between the step of data backup to be backed up to publicly-owned cloud data center Sequence is executed afterwards.
Optionally, in step S1022 that the data block for carrying out incremental backup is standby on the basis of embodiment shown in Fig. 1 Part may include steps of to publicly-owned cloud data center:
The data block for carrying out incremental backup for continuous at least two backs up to public cloud data in a manner of merging transmission Center.
If there are the data blocks that continuous at least two carry out incremental backup in data to be backed up, can be continuous by this The data block of at least two progress incremental backups merges, and the data block after merging is backed up to publicly-owned cloud data center.This Sample can reduce the number of network connection, improve the efficiency of data backup.
Below by a specific embodiment, a kind of data back up method provided in an embodiment of the present invention is introduced, can wrap Include following steps:
Step 21, client device creates the backup request for target cloud disk depending on the user's operation;
Step 22, client device checks the parameter of backup request, and judges;Wherein, the parameter of request includes: The mark of target cloud disk and the number of backup request;The content of inspection includes: to check whether the number of backup request is greater than 1; If being not more than 1, it is determined that backup request is the full backup request for target cloud disk, and the content of judgement includes: judgement mesh It whether just in the backup to mark cloud disk, if not in the backup, going to step 23, otherwise, terminates process;If more than 1, it is determined that Backup request is the incremental backup request for target cloud disk, and the content of judgement includes: whether to judge target cloud disk In backup, and judge whether the current size of target cloud disk and size when full backup identical, if not in the backup and Size is identical, then goes to step 23, otherwise, terminates process;
Step 23, client device stores backup essential information to local data base;Backup essential information includes: target The Status of Backups of cloud disk whether backed up, the time of the last backup of target cloud disk and the mark of target cloud disk Know;
Step 24, client device sends the data backup command for being directed to target cloud disk to server;Data backup refers to The form of order indicates are as follows:<<signalreceipt RPC>>;
Step 25, if carrying out full backup for target cloud disk, client device will be used to drive the configuration file of S3 It is sent to server, the cinder component in server configures S3 by the configuration file, and accesses S3;If being directed to target cloud magnetic Disk carries out incremental backup, and client device determines that publicly-owned cloud data center (i.e. rear end) is S3, and passes through server access S3;
Step 26, server recycles entire target cloud disk and generates one after every reading size is the data of chunk_size A data to be backed up;Using every sha_block_size byte of each data to be backed up as a data block, and calculate every Cryptographic Hash is saved as sha256 file by the cryptographic Hash of one data block;If carrying out full backup for target cloud disk, step is gone to Rapid 27;If carrying out incremental backup for target cloud disk, step 28 is gone to;
Step 27, server reads each data to be backed up in target cloud disk, compresses to the data to be backed up, The data compressed are stored into S3 barrels, step 29 is gone to;
Step 28, server is standby by the sha256 file value (i.e. cryptographic Hash) of each data block and the father of the data block in S3 The sha256 file value of part data block is compared;If not identical, which is backed up in S3 barrels, if they are the same, then will The sha256 file value of the data block is stored into S3 barrels;
Step 29, server protects the metadata file of the metadata comprising each data to be backed up and sha256 file It deposits to S3 barrels;Wherein, metadata file includes: the length of each data to be backed up, offset, corresponding backup file name And the title for the compression algorithm that each data to be backed up are compressed.
A kind of data reconstruction method provided in an embodiment of the present invention is introduced below.
It should be noted that a kind of data reconstruction method provided in an embodiment of the present invention, can be applied to server.The clothes Business device is for will carry out from publicly-owned cloud data center to the data to be restored in the target cloud disk in local data center The server of recovery.Specifically, the data for target cloud disk that the server can receive client device sending are extensive Multiple instruction, and respond the instruction and the data to be restored in target cloud disk are restored.
As shown in Fig. 2, a kind of data reconstruction method provided in an embodiment of the present invention, may include steps of:
S201, the data received for target cloud disk restore instruction.
It, can be using the cloud disk as target cloud disk when needing to restore the data in a cloud disk.Service The received data for target cloud disk of device restore instruction, can be and restore instruction by the data that a client device issues. The data that the client device issues restore instruction, can be and carry out corresponding operation in the interface of client device by user And generate.It is also possible to client device and detects that target cloud disk breaks down, or detects the number in target cloud disk When according to the exception such as logic error occur, the data automatically generated restore instruction.
S202 determines the recovery type for the data to be restored in target cloud disk.
After receiving the data for target cloud disk and restoring instruction, can determine in the target cloud disk to Restore the recovery type of data, in order to execute different recovery operations according to different recovery types.In the embodiment of the present invention In, data to be restored refer to: a recovery data block for needing to restore in target cloud disk.It, can be with as described in step S101 The target cloud disk is divided into multiple sections in advance, when backing up to target cloud disk, for each divided Section, using data current in the section as data to be backed up.So correspondingly, data to be restored are some divided In section, the cut-off a certain moment data.For example, data to be restored are to end * * * in target cloud disk in the A of section The data of * days 21:00 of the moon.
In the present embodiment, restoring type may include: that full dose data are restored to restore both types with incremental data.
Specifically, server can determine above-mentioned recovery type from the duplicated record for target cloud disk.If Before this time data are restored, server only to target cloud disk has carried out full backup, then this time for target cloud disk to Restore the recovery type of data are as follows: full dose data are restored.If before this secondary data is restored, server to target cloud disk into Incremental backup is gone, then this time for the recovery type of the data to be restored of target cloud disk are as follows: incremental data is restored.
S203, restore type be full dose data restore in the case where, from publicly-owned cloud data center, read with it is to be restored The corresponding full backup content of data, using full backup content as the corresponding target Backup Data of data to be restored, and will be to Restore the corresponding target Backup Data of data to restore to the corresponding position of target cloud disk.
When carrying out full backup to target cloud disk due to server, by the data pair to be restored in target cloud disk The full backup content backup answered is into publicly-owned cloud data center.So when carrying out full dose recovery to target cloud disk, Ke Yizhi It connects and reads corresponding with data to be restored full backup content from publicly-owned cloud data center, and by the full backup content recovery To the corresponding position of cloud disk.This means that: not only to restore the corresponding full backup content of data to be restored, but also will be to Restore the corresponding full backup content recovery of data extremely: position of the data to be restored in target cloud disk.
Specifically, server can obtain this to extensive in the corresponding full backup content of reading data to be restored in advance The metadata of complex data, the metadata may include: the title, size and offset of the data to be restored.According to the metadata In the data to be restored title, the corresponding full backup content of the data to be restored is searched in publicly-owned cloud data center, Then the full backup content is read.Wherein, the metadata of the data to be restored stores in the server.
Using full backup content as the corresponding target Backup Data of data to be restored after, can be by the target backup number According to recovery to the corresponding position of target cloud disk.
In a kind of implementation, the corresponding target Backup Data of data to be restored is restored to the corresponding positions of target cloud disk It sets, may include:
Obtain position and size of the data to be restored in target cloud disk;
According to position and size, the corresponding target Backup Data of data to be restored is restored to the corresponding positions of target cloud disk It sets.
Wherein, obtaining position and size of the data to be restored in target cloud disk can be by obtaining the data to be restored Metadata realize.It is possible to using position of the data to be restored in target cloud disk as the data pair to be restored Position of the target Backup Data answered in target cloud disk, in conjunction with the size of the data to be restored, so that it may which determining should be to Restore position section of the corresponding target Backup Data of data in target cloud disk, it also can be corresponding by the data to be restored Target Backup Data restore to the corresponding position of target cloud disk.
S204 from publicly-owned cloud data center, reads number to be restored in the case where restoring type is that incremental data is restored According to corresponding all backup contents, all backup contents are based on, data recovery is carried out to data to be restored, obtains data to be restored Corresponding target Backup Data, and the corresponding target Backup Data of data to be restored is restored to the corresponding positions of target cloud disk It sets.
Wherein, all backup contents of data to be restored include: the corresponding full backup content of data to be restored, and, The corresponding each incremental backup content of data to be restored.
It should be understood that when the data to section where data to be restored in target cloud disk carry out full backup, by this Each data block of data has backuped in publicly-owned cloud data center.And the data in section where data to be restored are increased When amount backup, only the data block of the progress incremental backup in data is backuped in publicly-owned cloud data center, wherein any The cryptographic Hash of the data block of progress incremental backup corresponding father's Backup Data block in publicly-owned cloud data center with the data block Cryptographic Hash is different.So, if will before data to a corresponding section by full backup and incremental backup cross to Restore data to be restored, it is necessary to restored according to the sequencing of backup, and before recovery, need first to read this to Restore the corresponding all backup contents of data.
Since data to be restored are the data in a certain section in target cloud disk, so the corresponding full dose of data to be restored is standby Part content refers to: corresponding full backup content when backing up for the first time to the data in the section.Data to be restored are corresponding each A incremental backup content refers to: corresponding incremental backup content when carrying out incremental backup every time to the data in the section.
In the present embodiment, data to be restored are corresponding with a backup chain, and backup chain is stored in server or public cloud number According in center, backup chained record has: the backup of the mark and full backup content of the corresponding full backup content of data to be restored The BACKUP TIME of the mark and each incremental backup content of time and the corresponding each incremental backup content of data to be restored.
Correspondingly, from publicly-owned cloud data center, reading the corresponding all backup contents of data to be restored may include:
Based on the mark of full backup content, full backup content is read from publicly-owned cloud data center, and based on every The mark of a incremental backup content reads the incremental backup content from publicly-owned cloud data center.
Specifically, server can be according to the title of the data to be restored in the metadata of data to be restored, in local Or the corresponding backup chain of the data to be restored is inquired in publicly-owned cloud data center.In the backup chain, server can be inquired The mark of the corresponding full backup content of the data to be restored and the mark of corresponding each incremental backup content.In turn, base In the mark of the full backup content inquired and the mark of each incremental backup content, server is from publicly-owned cloud data center Read the corresponding full backup content of data to be restored and each incremental backup content.Wherein, any incremental backup content mark Knowledge may include: the title of the corresponding each data block of the incremental backup content.Since incremental backup content only backs up one Changed data block in data to be backed up, so, the corresponding each data block of the incremental backup content refers to: this is to be backed up Changed each data block in data.Thus, it is possible to be read from publicly-owned cloud data center according to the title of each data block Each data block is taken, that is, reads the corresponding incremental backup content of the data to be restored.
It in a specific embodiment, can be according to the last backup content, father when reading all backup contents Backup content, father father's backup content ..., the sequence of full backup content read each backup content, i.e., according to BACKUP TIME Each backup content is read from rear to first sequence, and each backup content is stored according to the sequencing of reading to a column In table.It, can be in order to gradually carry out data recovery since the tail portion of list, i.e., from the full dose backed up at first in this way when restoring Backup content starts to carry out data recovery.
After having read all backup contents of the data block, so that it may be based on all backup contents, be carried out to the data block Data are restored.
In a kind of implementation, all backup contents are based on, data recovery is carried out to data to be restored, obtains number to be restored According to corresponding target Backup Data, may include:
Restore the corresponding full backup content of data to be restored, and on the basis of the full backup content restored, presses According to the sequencing of incremental backup, successively restore the corresponding incremental backup content of data to be restored, it is corresponding to obtain data to be restored Target Backup Data.
It, being backed up according to backup content when carrying out data recovery to data to be restored in above-mentioned implementation The sequence after arriving first of time carries out data recovery, i.e., first restores the full backup content backed up at first, finally restores nearest The incremental backup content of incremental backup.
For example, data to be restored include 3 data blocks b1, b2 and b3, before to the number in section where the data to be restored According to having carried out a full backup and twice incremental backup.Wherein, corresponding full backup content when full backup are as follows: 1,2,3, The wherein Backup Data value of 1 expression data block b1,2 indicate the Backup Data value of data block b2, and 3 indicate the backup number of data block b3 According to value;Corresponding backup content when first time incremental backup are as follows: #, the 4, #, the 1st # indicate empty, i.e., do not carry out to data block b1 standby Part, 4 indicate the Backup Data value of data block b2, and the 2nd # indicates empty, i.e., do not back up to data block b3;Second of increment is standby Corresponding backup content when part are as follows: #, #, 5, the 1st # indicate empty, i.e., do not back up to data block b1 that the 2nd # indicates empty, Data block b2 is not backed up, 5 indicate the Backup Data value of data block b3.
When carrying out data recovery to the data to be restored, first restore the corresponding full backup content of the data to be restored, So, content has currently been restored are as follows: 1,2,3;Then, restore corresponding backup content when first time incremental backup, then, currently Content is restored are as follows: the Backup Data value of the 2nd data block is updated by Isosorbide-5-Nitrae, 3;Finally, it is standby to restore second of increment Part when corresponding backup content, then, currently restored content are as follows: Isosorbide-5-Nitrae, 5, i.e., by the Backup Data value of the 3rd data block into Row updates.Recovery content after having restored all backup contents are as follows: Isosorbide-5-Nitrae, 5.So, the corresponding target of the data to be restored is standby The Backup Data value of part data are as follows: Isosorbide-5-Nitrae, 5, wherein Isosorbide-5-Nitrae, 5 be respectively target Backup Data three data blocks b1, b2 with The Backup Data value of b3.
It should be noted that in practical applications, when reading any incremental backup content, only read corresponding each A data block, without restoring each data block to the corresponding position of data to be restored.For example, in the above-described example, reading When first time incremental backup content, only read the Backup Data value 4 of data block b2, without by data block b2 restore to The corresponding position of data to be restored.So before restoring any incremental backup content, it can be first according to the incremental backup content Position and size of the corresponding each data block in the corresponding data to be backed up of the incremental backup content, each data block is extensive The multiple corresponding position into the data to be restored.
After obtaining the corresponding target Backup Data of data to be restored, which can be restored to target cloud The corresponding position of disk.
In a kind of implementation, the corresponding target Backup Data of data to be restored is restored to the corresponding positions of target cloud disk It sets, comprising:
Obtain position and size of the data to be restored in target cloud disk;
According to position and size, the corresponding target Backup Data of data to be restored is restored to the corresponding positions of target cloud disk It sets.
Wherein, obtaining position and size of the data to be restored in target cloud disk can be by obtaining the data to be restored Metadata realize.It is possible to using position of the data to be restored in target cloud disk as the data pair to be restored Position of the target Backup Data answered in target cloud disk, in conjunction with the size of the data to be restored, so that it may which determining should be to Restore position section of the corresponding target Backup Data of data in target cloud disk, it also can be corresponding by the data to be restored Target Backup Data restore to the corresponding position of target cloud disk.
For data to be restored, the corresponding target Backup Data of the data to be restored is restored corresponding to target cloud disk Position realizes the data recovery to the data to be restored.
Scheme provided in an embodiment of the present invention, when needing to restore the data in target cloud disk, server is connect It narrows and instruction is restored to the data of target cloud disk;Determine the recovery class for the data to be restored in the target cloud disk Type;In the case where the recovery type is that full dose data are restored, from publicly-owned cloud data center, read and the number to be restored According to corresponding full backup content, using the full backup content as the corresponding target Backup Data of the data to be restored, And the corresponding target Backup Data of the data to be restored is restored to the corresponding position of the target cloud disk;In the recovery Type is from the publicly-owned cloud data center, to read the corresponding institute of the data to be restored in the case that incremental data is restored There is backup content, be based on all backup contents, data recovery is carried out to the data to be restored, obtains the number to be restored Restore according to corresponding target Backup Data, and by the corresponding target Backup Data of the data to be restored to the target cloud disk Corresponding position.The embodiment of the present invention full dose restore or increment recovery by way of, from publicly-owned cloud data center determine to Restore the corresponding target Backup Data of data, which is restored to the corresponding position of target cloud disk, Ke Yi When logic error occur in data in the failure of target cloud disk or target cloud disk, more easily from public cloud data Restore data in the heart.
Below by a specific embodiment, a kind of data reconstruction method provided in an embodiment of the present invention, this method are introduced It is the method that increment recovery is carried out to the data to be restored in target cloud disk, may include steps of:
Step 41, client device creates the Backup and Restore request for target cloud disk depending on the user's operation;
Step 42, the parameter that client device requests Backup and Restore checks, and judges;Wherein, the parameter of request It include: the mark of target cloud disk;The content of inspection includes: to check to back up target cloud disk before this recovery Type, if incremental backup, it is determined that this reverts to increment recovery, the content of judgement are as follows: whether target cloud disk is standby In part, if not in the backup, going to step 43, otherwise, terminate process;
Step 43, the client device inspection target cloud disk to be restored whether there is;If it exists, step 45 is gone to;If It is not present, goes to step 44;
Step 44, a new disk is created as target cloud disk, goes to step 45;
Step 45, client device sends the data recovery instruction for target cloud disk to server;Data refer to The form of order indicates are as follows:<<signal receipt RPC>>;
Step 46, client device determines that publicly-owned cloud data center (i.e. rear end) is S3, and passes through server access S3;
Step 47, the corresponding backup chain of data to be restored of server inquiry target cloud disk;
Step 48, server is directed to data to be restored, from the tail portion to head of the backup chain of the data to be restored, from local The metadata for reading the data to be restored, from the title for reading each backup file in backup chain in the metadata, from S3 barrels The backup file is read, and reads the title of compression algorithm from the metadata, backup text is decompressed with corresponding decompression algorithm Part, by backup file access pattern after decompression to target cloud disk.
In step 48, for newly-built situation of the disk as target cloud disk, carried out to the target cloud disk After data are restored, server can also store the essential information for being stored in the local target cloud disk to client device In database;Wherein, the essential information of target cloud disk includes: title, the size etc. of the target cloud disk.
Corresponding to embodiment illustrated in fig. 1, the embodiment of the invention provides a kind of data backup devices, are applied to server, As shown in figure 3, described device includes:
First receiving module 301, for receiving the data backup command for being directed to target cloud disk;Wherein, the data are standby The type of backup backed up to the data to be backed up of the target cloud disk is carried in part instruction;
Backup module 302 is used for according to the type of backup, by the data backup to be backed up into public cloud data The heart.
Scheme provided in an embodiment of the present invention, when needing to back up the data in target cloud disk, server is connect The data backup command narrowed to target cloud disk;Wherein, it is carried in the data backup command to the target cloud disk The type of backup that is backed up of data to be backed up;According to the type of backup, by the data backup to be backed up to public cloud Data center.The embodiment of the present invention by the data to be backed up in target cloud disk in a manner of full backup or incremental backup Publicly-owned cloud data center is backed up to, the equipment cost of data backup can be reduced.Simultaneously, it is possible to reduce need the use of Backup Data The manpower O&M cost at family.
Optionally, the backup module 302, comprising:
First backup units are used in the case where the type of backup is full backup, and the data to be backed up are complete Amount backs up to the publicly-owned cloud data center;
Second backup units, for determining the data to be backed up in the case where the type of backup is incremental backup The middle data block for carrying out incremental backup, backs up to the publicly-owned cloud data center for the data block for carrying out incremental backup.
Optionally, second backup units, specifically for executing for each data block in the data to be backed up Following steps: corresponding with the data block by being stored in the corresponding cryptographic Hash of the data block and the publicly-owned cloud data center The cryptographic Hash of father's Backup Data block be compared;In the case where comparison result is different, determine that the data block is described Carry out the data block of incremental backup.
Optionally, described device further include:
First memory module, for referring in first receiving module 301 reception for the data backup of target cloud disk After order, the data to be backed up are divided into the first preset quantity data block;Calculate the first preset quantity data The corresponding cryptographic Hash of each data block in block;The corresponding cryptographic Hash of each data block is stored to the publicly-owned cloud data center.
Optionally, described device further include:
Logging modle is used for after the backup module is by the data backup to be backed up to publicly-owned cloud data center, By the corresponding backup information of the data to be backed up, it is recorded in the corresponding backup chain of the data to be backed up, the backup chain It is stored in the server or the publicly-owned cloud data center;
Wherein, the backup information includes: by the BACKUP TIME of the data backup to be backed up to publicly-owned cloud data center With the mark of corresponding backup content.
Optionally, described device further include:
Second memory module, for referring in first receiving module 301 reception for the data backup of target cloud disk After order, by the metadata of the metadata of the data to be backed up and each data block of the data to be backed up store to The publicly-owned cloud data center, wherein the metadata of the data to be backed up includes at least: the title of the data to be backed up, The position of size and the data to be backed up in the target cloud disk, first number of each data block of the data to be backed up According to including at least: position of title, size and the data block of the data block in the data to be backed up.
Corresponding to embodiment illustrated in fig. 2, the embodiment of the invention provides a kind of Data Recapture Units, are applied to server, As shown in figure 4, described device includes:
Second receiving module 401, for receiving the data recovery instruction for being directed to target cloud disk;
Determining module 402, for determining the recovery type for the data to be restored in the target cloud disk;
First recovery module 403 is used in the case where the recovery type is that full dose data are restored, from public cloud data In center, full backup content corresponding with the data to be restored is read, using the full backup content to extensive as described in The corresponding target Backup Data of complex data, and the corresponding target Backup Data of the data to be restored is restored to the target cloud The corresponding position of disk;
Second recovery module 404 is used in the case where the recovery type is that incremental data is restored, from the public cloud In data center, read the corresponding all backup contents of the data to be restored, be based on all backup contents, to it is described to Restore data and carry out data recovery, obtain the corresponding target Backup Data of the data to be restored, and by the data to be restored Corresponding target Backup Data restores to the corresponding position of the target cloud disk;
Wherein, all backup contents of the data to be restored include: in the corresponding full backup of the data to be restored Hold, and, the corresponding each incremental backup content of the data to be restored.
Scheme provided in an embodiment of the present invention, when needing to restore the data in target cloud disk, server is connect It narrows and instruction is restored to the data of target cloud disk;Determine the recovery class for the data to be restored in the target cloud disk Type;In the case where the recovery type is that full dose data are restored, from publicly-owned cloud data center, read and the number to be restored According to corresponding full backup content, using the full backup content as the corresponding target Backup Data of the data to be restored, And the corresponding target Backup Data of the data to be restored is restored to the corresponding position of the target cloud disk;In the recovery Type is from the publicly-owned cloud data center, to read the corresponding institute of the data to be restored in the case that incremental data is restored There is backup content, be based on all backup contents, data recovery is carried out to the data to be restored, obtains the number to be restored Restore according to corresponding target Backup Data, and by the corresponding target Backup Data of the data to be restored to the target cloud disk Corresponding position.The embodiment of the present invention full dose restore or increment recovery by way of, from publicly-owned cloud data center determine to Restore the corresponding target Backup Data of data, which is restored to the corresponding position of target cloud disk, Ke Yi When logic error occur in data in the failure of target cloud disk or target cloud disk, more easily from public cloud data Restore data in the heart.
Optionally, the data to be restored are corresponding with a backup chain, the backup chain be stored in the server or In the publicly-owned cloud data center, the backup chained record has: the mark of the corresponding full backup content of the data to be restored With the mark of the BACKUP TIME of the full backup content and the corresponding each incremental backup content of the data to be restored With the BACKUP TIME of each incremental backup content;
Second recovery module 404, specifically for the mark based on the full backup content, from the public cloud number According to the full backup content, and the mark based on each incremental backup content is read in center, from the public cloud data The incremental backup content is read in center.
Optionally, second recovery module 404 is specifically used for restoring in the corresponding full backup of the data to be restored Hold, and on the basis of the full backup content restored, the sequencing incrementally backed up, successively restore it is described to Restore the corresponding incremental backup content of data, obtains the corresponding target Backup Data of the data to be restored.
Optionally, first recovery module 403 and second recovery module 404 are specifically used for obtaining described to extensive Position and size of the complex data in the target cloud disk;It is according to the position and size, the data to be restored are corresponding Target Backup Data restore to the corresponding position of the target cloud disk.
The embodiment of the invention also provides a kind of servers, as shown in figure 5, including processor 501, communication interface 502, depositing Reservoir 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are completed by communication bus 504 Mutual communication,
Memory 503, for storing computer program;
Processor 501 realizes any of the above-described data backup side when for executing the program stored on memory 503 Method, to obtain identical technical effect.
The communication bus that above-mentioned server is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc.. Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.
Communication interface is for the communication between above-mentioned server and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), also may include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The embodiment of the invention also provides another servers, as shown in fig. 6, include processor 601, communication interface 602, Memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are complete by communication bus 604 At mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes any of the above-described data recovery side Method, to obtain identical technical effect.
The communication bus that above-mentioned server is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc.. Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.
Communication interface is for the communication between above-mentioned server and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), also may include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium, the computer are additionally provided Computer program is stored in readable storage medium storing program for executing, the computer program, which is realized when being executed by processor in above-described embodiment, appoints One data back up method, to obtain identical technical effect.
In another embodiment provided by the invention, a kind of computer readable storage medium, the computer are additionally provided Computer program is stored in readable storage medium storing program for executing, the computer program, which is realized when being executed by processor in above-described embodiment, appoints One data reconstruction method, to obtain identical technical effect.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes data back up method any in above-described embodiment, to obtain identical skill Art effect.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes data reconstruction method any in above-described embodiment, to obtain identical skill Art effect.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate Raw process or function according to the embodiment of the present invention.Computer can be general purpose computer, special purpose computer, computer network, Or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from a computer Readable storage medium storing program for executing to another computer readable storage medium transmit, for example, computer instruction can from a web-site, Computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as Infrared, wireless, microwave etc.) mode transmitted to another web-site, computer, server or data center.Computer Readable storage medium storing program for executing can be any usable medium or include one or more usable medium collection that computer can access At the data storage devices such as server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic Band), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or equipment for including element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device/ For server/storage medium/computer program product embodiments, since it is substantially similar to the method embodiment, so description It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
The above is merely preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.It is all in this hair Any modification, equivalent replacement, improvement and so within bright spirit and principle, are included within the scope of protection of the present invention.

Claims (24)

1. a kind of data back up method, which is characterized in that be applied to server, which comprises
Receive the data backup command for being directed to target cloud disk;Wherein, it carries in the data backup command to the target The type of backup that the data to be backed up of cloud disk are backed up;
According to the type of backup, by the data backup to be backed up to publicly-owned cloud data center.
2. the method according to claim 1, wherein according to the type of backup, the data to be backed up are standby Part include: to publicly-owned cloud data center
In the case where the type of backup is full backup, by the data full backup to be backed up to the public cloud data Center;
In the case where the type of backup is incremental backup, the data that incremental backup is carried out in the data to be backed up are determined The data block for carrying out incremental backup is backed up to the publicly-owned cloud data center by block.
3. according to the method described in claim 2, it is characterized in that, determining the number for carrying out incremental backup in the data to be backed up Include: according to block
For each data block in the data to be backed up, following steps are executed:
The father corresponding with the data block that will be stored in the corresponding cryptographic Hash of the data block and the publicly-owned cloud data center The cryptographic Hash of Backup Data block is compared;
In the case where comparison result is different, determine that the data block is the data block for carrying out incremental backup.
4. the method according to claim 1, wherein
After receiving the data backup command for target cloud disk, the method also includes:
The data to be backed up are divided into the first preset quantity data block;
Calculate the corresponding cryptographic Hash of each data block in the first preset quantity data block;
The corresponding cryptographic Hash of each data block is stored to the publicly-owned cloud data center.
5. according to the method described in claim 4, it is characterized in that,
After by the data backup to be backed up to publicly-owned cloud data center, the method also includes:
The corresponding backup information of the data to be backed up is recorded in the corresponding backup chain of the data to be backed up, it is described standby Part chain is stored in the server or the publicly-owned cloud data center;
Wherein, the backup information includes: by the BACKUP TIME and phase of the data backup to be backed up to publicly-owned cloud data center The mark for the backup content answered.
6. method according to claim 1 or 2, which is characterized in that refer to receiving the data backup for target cloud disk After order, the method also includes:
The metadata of the metadata of the data to be backed up and each data block of the data to be backed up is stored to described Publicly-owned cloud data center, wherein the metadata of the data to be backed up includes at least: title, the size of the data to be backed up With position of the data to be backed up in the target cloud disk, the metadata of each data block of the data to be backed up is extremely It less include: the position of the title, size and the data block of the data block in the data to be backed up.
7. a kind of data reconstruction method, which is characterized in that be applied to server, which comprises
The data received for target cloud disk restore instruction;
Determine the recovery type for the data to be restored in the target cloud disk;
The recovery type be full dose data restore in the case where, from publicly-owned cloud data center, read with it is described to be restored The corresponding full backup content of data, using the full backup content as the corresponding target backup number of the data to be restored According to, and the corresponding target Backup Data of the data to be restored is restored to the corresponding position of the target cloud disk;
In the case where the recovery type is that incremental data is restored, from the publicly-owned cloud data center, read described to extensive The corresponding all backup contents of complex data are based on all backup contents, carry out data recovery to the data to be restored, obtain To the corresponding target Backup Data of the data to be restored, and by the corresponding target Backup Data of the data to be restored restore to The corresponding position of the target cloud disk;
Wherein, all backup contents of the data to be restored include: the corresponding full backup content of the data to be restored, with And the corresponding each incremental backup content of the data to be restored.
8. described the method according to the description of claim 7 is characterized in that the data to be restored are corresponding with a backup chain Backup chain is stored in the server or the publicly-owned cloud data center, and the backup chained record has: the number to be restored It is corresponding according to the mark of corresponding full backup content and the BACKUP TIME of the full backup content and the data to be restored Each incremental backup content mark and each incremental backup content BACKUP TIME;
From the publicly-owned cloud data center, reading the corresponding all backup contents of the data to be restored includes:
Based on the mark of the full backup content, the full backup content is read from the publicly-owned cloud data center, with And the mark based on each incremental backup content, the incremental backup content is read from the publicly-owned cloud data center.
9. the method according to the description of claim 7 is characterized in that all backup contents are based on, to the number to be restored According to data recovery is carried out, obtaining the corresponding target Backup Data of the data to be restored includes:
Restore the corresponding full backup content of the data to be restored, and on the basis for the full backup content restored On, the sequencing incrementally backed up successively restores the corresponding incremental backup content of the data to be restored, obtain it is described to Restore the corresponding target Backup Data of data.
10. the method according to the description of claim 7 is characterized in that by the corresponding target Backup Data of the data to be restored Restore to the corresponding position of the target cloud disk, comprising:
Obtain position and size of the data to be restored in the target cloud disk;
According to the position and size, the corresponding target Backup Data of the data to be restored is restored to the target cloud disk Corresponding position.
11. a kind of data backup device, which is characterized in that be applied to server, described device includes:
First receiving module, for receiving the data backup command for being directed to target cloud disk;Wherein, in the data backup command Carry the type of backup backed up to the data to be backed up of the target cloud disk;
Backup module is used for according to the type of backup, by the data backup to be backed up to publicly-owned cloud data center.
12. device according to claim 11, which is characterized in that the backup module, comprising:
First backup units are used in the case where the type of backup is full backup, and the data full dose to be backed up is standby Part to the publicly-owned cloud data center;
Second backup units, for the type of backup be incremental backup in the case where, determine in the data to be backed up into The data block for carrying out incremental backup is backed up to the publicly-owned cloud data center by the data block of row incremental backup.
13. device according to claim 12, which is characterized in that
Second backup units, specifically for executing following steps for each data block in the data to be backed up: will The father's backup number corresponding with the data block stored in the corresponding cryptographic Hash of data block and the publicly-owned cloud data center It is compared according to the cryptographic Hash of block;In the case where comparison result is different, determine that the data block is that the progress increment is standby The data block of part.
14. device according to claim 11, which is characterized in that described device further include:
First memory module, for first receiving module receive for target cloud disk data backup command after, The data to be backed up are divided into the first preset quantity data block;It calculates each in the first preset quantity data block The corresponding cryptographic Hash of data block;The corresponding cryptographic Hash of each data block is stored to the publicly-owned cloud data center.
15. device according to claim 14, which is characterized in that described device further include:
Logging modle is used for after the backup module is by the data backup to be backed up to publicly-owned cloud data center, by institute The corresponding backup information of data to be backed up is stated, is recorded in the corresponding backup chain of the data to be backed up, the backup chain storage In the server or the publicly-owned cloud data center;
Wherein, the backup information includes: by the BACKUP TIME and phase of the data backup to be backed up to publicly-owned cloud data center The mark for the backup content answered.
16. device according to claim 11 or 12, which is characterized in that described device further include:
Second memory module, for first receiving module receive for target cloud disk data backup command after, The metadata of the metadata of the data to be backed up and each data block of the data to be backed up is stored to described publicly-owned Cloud data center, wherein the metadata of the data to be backed up includes at least: title, size and the institute of the data to be backed up Position of the data to be backed up in the target cloud disk is stated, the metadata of each data block of the data to be backed up is at least wrapped It includes: position of title, size and the data block of the data block in the data to be backed up.
17. a kind of Data Recapture Unit, which is characterized in that be applied to server, described device includes:
Second receiving module, for receiving the data recovery instruction for being directed to target cloud disk;
Determining module, for determining the recovery type for the data to be restored in the target cloud disk;
First recovery module is used in the case where the recovery type is that full dose data are restored, from publicly-owned cloud data center, Full backup content corresponding with the data to be restored is read, using the full backup content as the data pair to be restored The target Backup Data answered, and the corresponding target Backup Data of the data to be restored is restored to the phase of the target cloud disk Answer position;
Second recovery module is used in the case where the recovery type is that incremental data is restored, from the public cloud data In the heart, the corresponding all backup contents of the data to be restored are read, all backup contents are based on, to the number to be restored According to data recovery is carried out, the corresponding target Backup Data of the data to be restored is obtained, and the data to be restored are corresponding Target Backup Data restores to the corresponding position of the target cloud disk;
Wherein, all backup contents of the data to be restored include: the corresponding full backup content of the data to be restored, with And the corresponding each incremental backup content of the data to be restored.
18. device according to claim 17, which is characterized in that the data to be restored are corresponding with a backup chain, institute It states backup chain to be stored in the server or the publicly-owned cloud data center, the backup chained record has: described to be restored The mark of the corresponding full backup content of data and BACKUP TIME and the data to be restored of the full backup content The mark of corresponding each incremental backup content and the BACKUP TIME of each incremental backup content;
Second recovery module, specifically for the mark based on the full backup content, from the publicly-owned cloud data center It is middle to read the full backup content, and the mark based on each incremental backup content, from the publicly-owned cloud data center Read the incremental backup content.
19. device according to claim 17, which is characterized in that
Second recovery module is specifically used for restoring the corresponding full backup content of the data to be restored, and is being restored The full backup content on the basis of, it is corresponding successively to restore the data to be restored for the sequencing incrementally backed up Incremental backup content, obtain the corresponding target Backup Data of the data to be restored.
20. device according to claim 17, which is characterized in that
First recovery module and second recovery module are specifically used for obtaining the data to be restored in the target cloud Position and size in disk;According to the position and size, the corresponding target Backup Data of the data to be restored is restored To the corresponding position of the target cloud disk.
21. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein the place Reason device, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-6 Method step.
22. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein the place Reason device, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes that claim 7-10 is any described Method and step.
23. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program, the computer program realize method and step described in any one of claims 1-6 when being executed by processor.
24. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 7-10 described in any item method and steps when the computer program is executed by processor.
CN201811498098.2A 2018-12-07 2018-12-07 Data backup and recovery method and device, electronic equipment and storage medium Active CN109597717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811498098.2A CN109597717B (en) 2018-12-07 2018-12-07 Data backup and recovery method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811498098.2A CN109597717B (en) 2018-12-07 2018-12-07 Data backup and recovery method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109597717A true CN109597717A (en) 2019-04-09
CN109597717B CN109597717B (en) 2020-12-25

Family

ID=65961529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811498098.2A Active CN109597717B (en) 2018-12-07 2018-12-07 Data backup and recovery method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109597717B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147380A (en) * 2019-05-23 2019-08-20 腾讯科技(成都)有限公司 Data-updating method, device, server and storage medium
CN110445841A (en) * 2019-07-12 2019-11-12 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of cloud physics machine carry cloud disk
CN111240855A (en) * 2019-12-31 2020-06-05 中国建设银行股份有限公司 API debugging system, method, storage medium and computer device
CN111309522A (en) * 2020-02-14 2020-06-19 星辰天合(北京)数据科技有限公司 Object storage data protection method and device based on snapshot technology
CN111597074A (en) * 2020-04-07 2020-08-28 国家卫星气象中心(国家空间天气监测预警中心) Carbon satellite multi-center data backup method based on digital fingerprints
CN112269690A (en) * 2020-11-17 2021-01-26 珠海大横琴科技发展有限公司 Data backup method and device
CN112306745A (en) * 2019-07-26 2021-02-02 中移(苏州)软件技术有限公司 Backup method and device and storage medium
CN112363873A (en) * 2020-11-27 2021-02-12 上海爱数信息技术股份有限公司 Distributed consistent backup and recovery system and backup method thereof
CN112631826A (en) * 2019-10-09 2021-04-09 中移(苏州)软件技术有限公司 Backup processing method and device and computer readable storage medium
CN113722150A (en) * 2021-07-23 2021-11-30 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for compressed backup and recovery of cloud hard disk data
CN114726718A (en) * 2022-03-23 2022-07-08 新华三技术有限公司 Configuration information synchronization method and device
CN115168111A (en) * 2022-09-07 2022-10-11 南京云信达科技有限公司 Object storage mass data backup method and system based on cache
CN115437849A (en) * 2022-09-21 2022-12-06 梁力 Data processing method, device, equipment and computer readable storage medium
WO2023151547A1 (en) * 2022-02-14 2023-08-17 华为技术有限公司 Data processing system and method, and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461785A (en) * 2014-12-15 2015-03-25 中电长城网际系统应用有限公司 Data backup method, data recovery method and device of virtual machine and physic machine
CN104932956A (en) * 2015-06-19 2015-09-23 华南理工大学 Big-data-oriented cloud disaster tolerant backup method
CN105373452A (en) * 2015-12-11 2016-03-02 上海爱数信息技术股份有限公司 Data backup method
CN107454161A (en) * 2017-07-31 2017-12-08 郑州云海信息技术有限公司 A kind of data back up method and device
CN107493330A (en) * 2017-08-16 2017-12-19 北京新网数码信息技术有限公司 A kind of cloud service method and Cloud Server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461785A (en) * 2014-12-15 2015-03-25 中电长城网际系统应用有限公司 Data backup method, data recovery method and device of virtual machine and physic machine
CN104932956A (en) * 2015-06-19 2015-09-23 华南理工大学 Big-data-oriented cloud disaster tolerant backup method
CN105373452A (en) * 2015-12-11 2016-03-02 上海爱数信息技术股份有限公司 Data backup method
CN107454161A (en) * 2017-07-31 2017-12-08 郑州云海信息技术有限公司 A kind of data back up method and device
CN107493330A (en) * 2017-08-16 2017-12-19 北京新网数码信息技术有限公司 A kind of cloud service method and Cloud Server

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147380A (en) * 2019-05-23 2019-08-20 腾讯科技(成都)有限公司 Data-updating method, device, server and storage medium
CN110147380B (en) * 2019-05-23 2023-11-24 腾讯科技(成都)有限公司 Data updating method, device, server and storage medium
CN110445841A (en) * 2019-07-12 2019-11-12 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of cloud physics machine carry cloud disk
CN112306745A (en) * 2019-07-26 2021-02-02 中移(苏州)软件技术有限公司 Backup method and device and storage medium
CN112306745B (en) * 2019-07-26 2023-04-07 中移(苏州)软件技术有限公司 Backup method and device and storage medium
CN112631826B (en) * 2019-10-09 2023-04-07 中移(苏州)软件技术有限公司 Backup processing method and device and computer readable storage medium
CN112631826A (en) * 2019-10-09 2021-04-09 中移(苏州)软件技术有限公司 Backup processing method and device and computer readable storage medium
CN111240855A (en) * 2019-12-31 2020-06-05 中国建设银行股份有限公司 API debugging system, method, storage medium and computer device
CN111309522A (en) * 2020-02-14 2020-06-19 星辰天合(北京)数据科技有限公司 Object storage data protection method and device based on snapshot technology
CN111597074A (en) * 2020-04-07 2020-08-28 国家卫星气象中心(国家空间天气监测预警中心) Carbon satellite multi-center data backup method based on digital fingerprints
CN112269690A (en) * 2020-11-17 2021-01-26 珠海大横琴科技发展有限公司 Data backup method and device
CN112363873A (en) * 2020-11-27 2021-02-12 上海爱数信息技术股份有限公司 Distributed consistent backup and recovery system and backup method thereof
WO2023000674A1 (en) * 2021-07-23 2023-01-26 苏州浪潮智能科技有限公司 Method and apparatus for data compression, backup and recovery of cloud hard disk, device and storage medium
CN113722150A (en) * 2021-07-23 2021-11-30 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for compressed backup and recovery of cloud hard disk data
CN113722150B (en) * 2021-07-23 2023-08-22 苏州浪潮智能科技有限公司 Cloud hard disk data compression backup and recovery method, device, equipment and storage medium
WO2023151547A1 (en) * 2022-02-14 2023-08-17 华为技术有限公司 Data processing system and method, and device
CN114726718A (en) * 2022-03-23 2022-07-08 新华三技术有限公司 Configuration information synchronization method and device
CN115168111A (en) * 2022-09-07 2022-10-11 南京云信达科技有限公司 Object storage mass data backup method and system based on cache
CN115168111B (en) * 2022-09-07 2022-12-13 南京云信达科技有限公司 Object storage mass data backup method and system based on cache
CN115437849A (en) * 2022-09-21 2022-12-06 梁力 Data processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109597717B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN109597717A (en) A kind of data backup, restoration methods, device, electronic equipment and storage medium
US11727006B2 (en) Systems and methods for secure file management via an aggregation of cloud storage services
US8838968B2 (en) System and method for virtual machine data protection in a public cloud
US9830231B2 (en) Processes and methods for client-side fingerprint caching to improve deduplication system backup performance
US10552640B2 (en) In-situ data verification for the cloud
JP6162239B2 (en) Data storage application programming interface
US9195851B1 (en) Offloading encryption to the client
US10289694B1 (en) Method and system for restoring encrypted files from a virtual machine image
US10229007B2 (en) Data synchronization of block-level backup
US8082325B2 (en) Data storing system using network
CN109067733B (en) Method and apparatus for transmitting data, and method and apparatus for receiving data
US20120136960A1 (en) Cloud Storage Data Access Method, Apparatus and System
US9774698B2 (en) Techniques to transfer large collection containers
US20090190760A1 (en) Encryption and compression of data for storage
CN101808127B (en) Data backup method, system and server
CN104519090A (en) Method and device for file transfer
CN106156359A (en) A kind of data synchronization updating method under cloud computing platform
US7657533B2 (en) Data management systems, data management system storage devices, articles of manufacture, and data management methods
CN108881454B (en) File transmission method, mobile terminal and storage medium
WO2022082891A1 (en) Big data acquisition method and system, and computer device and storage medium thereof
CN105554081A (en) File difference transmission method and device
CN106341485A (en) Cloud storage method and device
CN110874345B (en) Data processing method, device and system in distributed storage system
CN113330426B (en) Method, device and system for backing up data
CN112865927B (en) Message delivery verification method, device, computer equipment and storage medium

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