CN111104255A - Intelligent timing cloud backup method, device, equipment and storage medium - Google Patents

Intelligent timing cloud backup method, device, equipment and storage medium Download PDF

Info

Publication number
CN111104255A
CN111104255A CN201911207157.0A CN201911207157A CN111104255A CN 111104255 A CN111104255 A CN 111104255A CN 201911207157 A CN201911207157 A CN 201911207157A CN 111104255 A CN111104255 A CN 111104255A
Authority
CN
China
Prior art keywords
cloud backup
source volume
data
cloud
backup
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.)
Withdrawn
Application number
CN201911207157.0A
Other languages
Chinese (zh)
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201911207157.0A priority Critical patent/CN111104255A/en
Publication of CN111104255A publication Critical patent/CN111104255A/en
Withdrawn legal-status Critical Current

Links

Images

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
    • 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/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • 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/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Abstract

The invention discloses an intelligent timing cloud backup method, an intelligent timing cloud backup device, intelligent timing cloud backup equipment and a storage medium, wherein the method comprises the following steps: determining any volume needing to be subjected to timed cloud backup as a source volume; before cloud backup is performed on the source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time; and judging whether the proportion of the changed data number in the source volume to the total data number in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume. Therefore, the method and the device can intelligently select to perform full cloud backup or incremental cloud backup based on the number of the changed data in the source volume, so that the data security is guaranteed through the timed cloud backup, resource waste caused by the full cloud backup when the data change is less can be avoided, the time for data recovery can be shortened when the data change is more, and the efficiency is higher.

Description

Intelligent timing cloud backup method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of cloud backup, in particular to an intelligent timing cloud backup method, device, equipment and storage medium.
Background
The cloud backup refers to backing up data in the volume to the cloud, and is divided into full cloud backup and incremental cloud backup, wherein the full cloud backup refers to backing up all data in the volume to the cloud, and the incremental cloud backup refers to backing up only data changed after the last cloud backup to the cloud. The timed cloud backup refers to that a user can set a timing strategy, and the storage device executes a cloud backup function on time according to the set timing strategy, for example, the cloud backup is executed at intervals, or the cloud backup is executed at a certain moment of a certain day. When a timing strategy is formulated, whether the timing strategy is created by full cloud backup or incremental cloud backup needs to be designated, if the timing strategy is designated by the full cloud backup, the full cloud backup is created after a strategy time point is reached each time; if the incremental cloud backup is designated, the full cloud backup is executed only for the first time, and the incremental cloud backup is executed every time later. Therefore, the user can reasonably back up the data according to the service strength of the production environment of the user, and the possibility of data loss is reduced.
However, in the above-mentioned timing cloud backup function, if a timing policy is set, the cloud backup type corresponding to the timing policy is also fixed and cannot be changed; for example, a user sets a strategy for executing full cloud backup at 00:00 every day, all data of a source volume can be backed up to the cloud at 00:00 every time, and even if the data is not changed at any point from the 00:00 time of yesterday to the 00:00 time of today, full cloud backup can still be executed, so that system resources are additionally occupied, and unnecessary waste is generated; for another example, if the user sets a policy for executing incremental cloud backup at the time of 00:00 every day, data of the source volume, which is changed from the previous cloud backup, is backed up to the cloud each time the time of 00:00 is reached, and in this case, if all data are changed from the time of 00:00 every yesterday to the time of 00:00 today, incremental cloud backup is still executed, which results in longer time for data recovery and lower efficiency.
Disclosure of Invention
The invention aims to provide an intelligent timed cloud backup method, an intelligent timed cloud backup device, intelligent timed cloud backup equipment and a storage medium, which can ensure data security through timed cloud backup, avoid resource waste caused by full cloud backup when data change is less, shorten the time for data recovery when the data change is more and improve the efficiency.
In order to achieve the above purpose, the invention provides the following technical scheme:
an intelligent timed cloud backup method, comprising:
determining any volume needing to be subjected to timed cloud backup as a source volume;
before cloud backup is performed on the source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time;
and judging whether the proportion of the changed data number in the source volume to the total data number in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume.
Preferably, before performing full cloud backup on the source volume, the method further includes:
and judging whether the total number of the data in the source volume reaches a preset number threshold value, if so, executing incremental cloud backup on the source volume, and if not, executing full cloud backup on the source volume.
Preferably, before determining whether the total number of data in the source volume reaches a preset number threshold, the method further includes:
and judging whether the time interval between the time of executing the full cloud backup last time and the current time reaches a time threshold, if so, executing the full cloud backup on the source volume, and if not, executing the step of judging whether the total number of data in the source volume reaches a preset number threshold.
Preferably, the obtaining of the number of data changed in the source volume since the cloud backup was performed last time includes:
and acquiring a bitmap in a snapshot used when cloud backup is executed last time, and counting the number of bits with preset values in the bitmap as the number of data changed in the source volume since the cloud backup is executed last time.
Preferably, before performing the full cloud backup or the incremental cloud backup, the method further includes:
and encrypting data needing to perform full cloud backup or incremental cloud backup.
Preferably, before performing the full cloud backup or the incremental cloud backup, the method further includes:
and carrying out compression processing on encrypted data needing to perform full cloud backup or incremental cloud backup.
Preferably, before performing the full cloud backup or the incremental cloud backup, the method further includes:
sending a backup request carrying identity information to a cloud, and receiving a verification result returned by the cloud for verifying the identity information;
and if the verification result shows that the identity information is verified to be passed, determining that full cloud backup or incremental cloud backup is allowed to be executed, otherwise, outputting prompt information that the identity information is not verified to be passed.
An intelligent timed cloud backup apparatus comprising:
a determination module to: determining any volume needing to be subjected to timed cloud backup as a source volume;
an acquisition module to: before cloud backup is performed on the source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time;
a first determining module, configured to: and judging whether the proportion of the changed data number in the source volume to the total data number in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume.
An intelligent timed cloud backup device comprising:
a memory for storing a computer program;
a processor for implementing the steps of the intelligent timed cloud backup method as described in any one of the above when executing the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the intelligent timed cloud backup method as described in any one of the above.
The invention provides an intelligent timed cloud backup method, an intelligent timed cloud backup device, intelligent timed cloud backup equipment and a storage medium, wherein the method comprises the following steps: determining any volume needing to be subjected to timed cloud backup as a source volume; before cloud backup is performed on the source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time; and judging whether the proportion of the changed data number in the source volume to the total data number in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume. According to the technical scheme, before cloud backup is needed to be performed on a source volume in timed cloud backup, the number of data changed in the source volume after the last cloud backup is obtained, and then whether the proportion of the number of the changed data to the total number of the data in the source volume reaches a preset proportion threshold value or not is judged, the changed data in the source volume is more, at this time, full cloud backup can be adopted for convenience of later data recovery, otherwise, the changed data in the source volume is less, and at this time, in order to avoid resource waste caused by full cloud backup when the data change is less, incremental cloud backup can be adopted; therefore, the method and the device can intelligently select to perform full cloud backup or incremental cloud backup based on the number of the changed data in the source volume, so that the data security is guaranteed through the timed cloud backup, resource waste caused by the full cloud backup when the data change is less can be avoided, the time for data recovery can be shortened when the data change is more, and the efficiency is higher.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an intelligent timed cloud backup method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an intelligent timing cloud backup apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of an intelligent timing cloud backup method according to an embodiment of the present invention is shown, where the method includes:
s11: and determining any volume needing timed cloud backup as a source volume.
It should be noted that the execution main body of the intelligent timing cloud backup method provided by the embodiment of the present invention may be a corresponding intelligent timing cloud backup apparatus. The source volume can be any volume which needs to be subjected to timed cloud backup, and after the source volume is determined, the source volume is subjected to timed cloud backup based on the technical scheme disclosed by the application.
S12: before performing cloud backup on a source volume, acquiring the number of data changed in the source volume since the last cloud backup was performed.
The method includes the steps that timed cloud backup is carried out on a source volume, namely the source volume is subjected to the cloud backup every set time, before the source volume is subjected to the cloud backup every time, the number of data which change in the source volume since the cloud backup is carried out last time needs to be obtained, if the number of the changed data is zero, the source volume is not subjected to the cloud backup, and if the number of the changed data is not zero, the step S13 can be continuously executed, so that the cloud backup can be carried out only when the changed data exist in the source volume, effective backup of the data is guaranteed, and the problems of resource waste and the like caused by the fact that the cloud backup is carried out when the changed data do not exist can be avoided. In addition, if the cloud backup which needs to be executed at present is the first cloud backup of the source volume, the full cloud backup of the source volume may be directly performed, that is, the technical scheme disclosed in the present application mainly aims at the situation that the non-first cloud backup of the source volume is performed.
S13: and judging whether the proportion of the number of the changed data in the source volume to the total number of the data in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume.
The proportional threshold may be set according to actual needs, such as 60%, 80%, and the like. Judging whether the proportion of the number of the changed data in the source volume to the total number of the data in the source volume reaches a preset proportion threshold value, if so, determining that the changed data in the source volume is more, and at the moment, adopting full cloud backup, thereby realizing the backup of all the data in the source volume and facilitating the data recovery in the later period; if not, the changed data in the source volume is considered to be less, and incremental cloud backup can be adopted at the moment, so that the changed data in the source volume can be backed up, and resource waste caused by full cloud backup when the data change is less is avoided.
According to the technical scheme, before cloud backup is needed to be performed on a source volume in timed cloud backup, the number of data changed in the source volume after the last cloud backup is obtained, and then whether the proportion of the number of the changed data to the total number of the data in the source volume reaches a preset proportion threshold value or not is judged, the changed data in the source volume is more, at this time, full cloud backup can be adopted for convenience of later data recovery, otherwise, the changed data in the source volume is less, and at this time, in order to avoid resource waste caused by full cloud backup when the data change is less, incremental cloud backup can be adopted; therefore, the method and the device can intelligently select to perform full cloud backup or incremental cloud backup based on the number of the changed data in the source volume, so that the data security is guaranteed through the timed cloud backup, resource waste caused by the full cloud backup when the data change is less can be avoided, the time for data recovery can be shortened when the data change is more, and the efficiency is higher.
Before performing full cloud backup on a source volume, the intelligent timed cloud backup method provided in the embodiments of the present invention may further include:
and judging whether the total number of the data in the source volume reaches a preset number threshold value, if so, executing incremental cloud backup on the source volume, and if not, executing full cloud backup on the source volume.
The quantity threshold value can be set according to actual needs, specifically, when the proportion of the number of the changed data to the total number of the data in the source volume reaches the proportion threshold value, it is described that the changed data is more, but the more data is relative to the data in the source volume, and the data in the source volume is possibly not more (the total number of the data in the source volume does not reach the preset quantity threshold value), so that the incremental cloud backup can be directly performed on the source volume at this time, and the data recovery is conveniently realized; the data in the source volume may be already very much (the total number of data in the source volume reaches a preset number threshold), and at this time, in order to avoid a backup process that requires a long time due to the full cloud backup, an incremental cloud backup may be selected in this embodiment, so that the implementation of the timed cloud backup is more flexible and intelligent.
The intelligent timed cloud backup method provided by the embodiment of the present invention, before determining whether the total number of data in the source volume reaches the preset number threshold, may further include:
and judging whether the time interval between the time of executing the full cloud backup last time and the current time reaches a time threshold, if so, executing the full cloud backup on the source volume, and if not, executing the step of judging whether the total number of the data in the source volume reaches a preset number threshold.
The time threshold can be set according to actual needs, such as a week, 10 days, etc.; when the proportion of the changed data number to the total data number in the source volume reaches a proportion threshold, whether the time interval between the last time of full cloud backup and the current time reaches a time threshold or not can be judged, if the judgment result is yes, the time for which the full cloud backup is not realized is long enough, so that the full cloud backup is directly executed on the source volume, if the judgment result is not, the time for which the full cloud backup is not realized is short, the full cloud backup is not needed to be continuously executed at this time, and therefore the step of judging whether the total data number in the source volume reaches a preset number threshold or not is executed, and the realization of the timing cloud backup is more flexible and intelligent.
In addition, when the timed cloud backup is implemented, a time interval when the timed cloud backup is implemented, that is, a time interval between cloud backups performed twice may be set based on the size of the IO amount, specifically, if the IO amount is large, a smaller time interval may be set, and if the IO amount is small, a larger time interval may be set.
The method for intelligently and regularly backing up the cloud provided by the embodiment of the invention, which is used for acquiring the number of data changed in a source volume after cloud backup is executed last time, can comprise the following steps:
and acquiring a bitmap in a snapshot used when the cloud backup is executed last time, and counting the number of bits with a preset value in the bitmap as the number of data changed in the source volume since the cloud backup is executed last time.
The preset value can be set according to actual needs, the bitmap can include a bit corresponding to each data in the source volume, if the bit is the preset value, it indicates that the corresponding data changes, otherwise, it indicates that the corresponding data does not change, such as: if the bit is 1, the corresponding data is changed, and if the bit is 0, the corresponding data is not changed; therefore, the method realizes the statistics of the number of the changed data, and is convenient and quick.
Specifically, the cloud backup may be implemented based on a snapshot technology, and after the function of the timed cloud backup is enabled for one volume disk0, the storage system may create two snapshots, i.e., mapA and mapB, for the volume, and their corresponding two volumes are disk a and disk b, respectively. When the volume disk0 needs to execute cloud backup, a snapshot relationship mapA is started, at this time, the volume disk A has the same data as the data on the disk0, and then the data on the disk0 is uploaded to the cloud, so that the external service provision of the source volume disk0 is not influenced, and the uploading of the data in the volume to the cloud is not influenced. When some data in the source volume disk0 changes, the corresponding bit of the bitmap in mapA is recorded. After the cloud backup is finished and the next cloud backup function is executed, the mapB is started, and the value of the bitmap of the mapA is read; at this time, the mapB has two bitmaps, one is the bitmap bitmapB of the mapB itself and is used for recording which data in the source volume disk0 are changed after the cloud backup is started to be executed, and the other is the bitmap obtained from the mapA and records which data in the source volume disk0 are changed between the previous cloud backup and the cloud backup; then, the mapA is stopped, and then the data in the source volume disk B of the mapB is uploaded to the cloud according to the backup type: if the backup type is incremental cloud backup, only the changed data marked in bitmapA is uploaded; and if the backup type is full cloud backup, uploading all data in the disk B. When the cloud backup is finished and the cloud backup is started again, mapA is started, bitmapB is read, mapB is stopped, and then the data is clouded. And so on. Corresponding to the present application, before performing cloud backup each time (not for the first time), the change condition of data after performing cloud backup last time is acquired, that is, the change condition of bitmapA or bitmapB (collectively referred to as diff _ bitmap) is acquired; acquiring the number of data changed after cloud backup is executed last time according to diff _ bitmap, namely acquiring the number of bits with the median value of diff _ bitmap being 1; presetting a threshold value theta (for example, theta is 60% or theta is 80%), comparing the proportion of the number of 1 in diff _ bitmap with the size of the threshold value theta, and if the proportion exceeds the threshold value, executing full cloud backup; and if the threshold value is not exceeded, performing incremental cloud backup. The specific algorithm pseudo code may be as follows:
Figure BDA0002297162150000071
Figure BDA0002297162150000081
before performing full cloud backup or incremental cloud backup, the method for intelligent timed cloud backup provided in the embodiments of the present invention may further include:
and encrypting data needing to perform full cloud backup or incremental cloud backup.
It should be noted that, in order to ensure the security of the data uploaded to the cloud and prevent other illegal terminals from acquiring encrypted data from the cloud, in this embodiment, before the cloud backup is executed to upload corresponding data to the cloud, the data that needs to be executed may be encrypted, and the encrypted data is uploaded to the cloud; the specific encryption mode can be set according to actual needs.
Before performing full cloud backup or incremental cloud backup, the method for intelligent timed cloud backup provided in the embodiments of the present invention may further include:
and carrying out compression processing on encrypted data needing to perform full cloud backup or incremental cloud backup.
In order to save the storage space in the cloud and accelerate the uploading speed of the data to the cloud, in this embodiment, after the data to be uploaded to the cloud is encrypted, the encrypted data is also compressed, and the data obtained after the compression is uploaded to the cloud; and the concrete implementation mode of the compression processing can be set according to the actual requirement.
Before performing full cloud backup or incremental cloud backup, the method for intelligent timed cloud backup provided in the embodiments of the present invention may further include:
sending the backup request carrying the identity information to the cloud, and receiving a verification result returned by the cloud for verifying the identity information;
and if the verification result shows that the identity information is verified to be passed, determining that the full cloud backup or the incremental cloud backup is allowed to be executed, otherwise, outputting prompt information that the identity information is not verified to be passed.
In order to further ensure the validity of the terminal or the system for uploading data, in this embodiment, the backup request is sent to the cloud, and the identity information is also sent to the cloud while being carried in the backup request, where the identity information may include information such as an identifier and a password of the terminal or the system for uploading data, and then the full cloud backup or the incremental cloud backup is allowed to be executed only after the cloud passes the authentication of the identity information, and then the full cloud backup or the incremental cloud backup is performed, otherwise, prompt information that the authentication of the identity information fails is output to a corresponding management terminal of an administrator, or the prompt information is directly displayed, and the administrator can timely know the condition to realize corresponding operations.
In conclusion, the cloud backup execution type can be intelligently determined according to the variable quantity of the data between two times of cloud backup, and the defect that the timed cloud backup is established according to the established type in the prior art is overcome; namely, when the data variation is large after the cloud backup is executed last time, the full cloud backup is executed to ensure the integrity of the data; when the data variation is small after the cloud backup is executed last time, incremental cloud backup is executed, the transmission quantity of data is reduced, and the occupation of system resources is reduced.
An embodiment of the present invention further provides an intelligent timed cloud backup apparatus, as shown in fig. 2, which may specifically include:
a determining module 11, configured to: determining any volume needing to be subjected to timed cloud backup as a source volume;
an obtaining module 12, configured to: before cloud backup is performed on a source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time;
a first determining module 13, configured to: and judging whether the proportion of the number of the changed data in the source volume to the total number of the data in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume.
The intelligent timing cloud backup device provided by the embodiment of the invention can further comprise:
a second determination module configured to: before performing full cloud backup on the source volume, judging whether the total number of data in the source volume reaches a preset number threshold value, if so, performing incremental cloud backup on the source volume, and if not, performing full cloud backup on the source volume.
The intelligent timing cloud backup device provided by the embodiment of the invention can further comprise:
a third judging module, configured to: judging whether the time interval between the time of executing the full cloud backup last time and the current time reaches a time threshold before judging whether the total number of the data in the source volume reaches a preset number threshold, if so, executing the full cloud backup on the source volume, and if not, executing the step of judging whether the total number of the data in the source volume reaches the preset number threshold.
In the intelligent timed cloud backup device provided in the embodiment of the present invention, the obtaining module may include:
an acquisition unit configured to: and acquiring a bitmap in a snapshot used when the cloud backup is executed last time, and counting the number of bits with a preset value in the bitmap as the number of data changed in the source volume since the cloud backup is executed last time.
The intelligent timing cloud backup device provided by the embodiment of the invention can further comprise:
an encryption module to: before the full cloud backup or the incremental cloud backup is executed, data needing to be executed are encrypted.
The intelligent timing cloud backup device provided by the embodiment of the invention can further comprise:
a compression module to: before the full cloud backup or the incremental cloud backup is executed, the encrypted data which needs to be executed with the full cloud backup or the incremental cloud backup is compressed.
The intelligent timing cloud backup device provided by the embodiment of the invention can further comprise:
a request validation module to: before full cloud backup or incremental cloud backup is executed, a backup request carrying identity information is sent to a cloud, and a verification result returned by the cloud for verifying the identity information is received; and if the verification result shows that the identity information is verified to be passed, determining that the full cloud backup or the incremental cloud backup is allowed to be executed, otherwise, outputting prompt information that the identity information is not verified to be passed.
An embodiment of the present invention further provides an intelligent timed cloud backup device, which may include:
a memory for storing a computer program;
a processor for implementing the steps of the intelligent timed cloud backup method as described in any one of the above when executing a computer program.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program can realize the steps of any one of the intelligent timing cloud backup methods.
It should be noted that for the description of the relevant parts in the intelligent timed cloud backup apparatus, the device and the storage medium provided in the embodiment of the present invention, reference is made to the detailed description of the corresponding parts in the intelligent timed cloud backup method provided in the embodiment of the present invention, and details are not described herein again. In addition, parts of the technical solutions provided in the embodiments of the present invention that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail, so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An intelligent timed cloud backup method is characterized by comprising the following steps:
determining any volume needing to be subjected to timed cloud backup as a source volume;
before cloud backup is performed on the source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time;
and judging whether the proportion of the changed data number in the source volume to the total data number in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume.
2. The method of claim 1, wherein prior to performing the full cloud backup on the source volume, further comprising:
and judging whether the total number of the data in the source volume reaches a preset number threshold value, if so, executing incremental cloud backup on the source volume, and if not, executing full cloud backup on the source volume.
3. The method of claim 2, wherein before determining whether the total number of data in the source volume reaches a preset number threshold, the method further comprises:
and judging whether the time interval between the time of executing the full cloud backup last time and the current time reaches a time threshold, if so, executing the full cloud backup on the source volume, and if not, executing the step of judging whether the total number of data in the source volume reaches a preset number threshold.
4. The method of claim 3, wherein obtaining the number of data changed in the source volume since the last cloud backup was performed comprises:
and acquiring a bitmap in a snapshot used when cloud backup is executed last time, and counting the number of bits with preset values in the bitmap as the number of data changed in the source volume since the cloud backup is executed last time.
5. The method of claim 4, further comprising, prior to performing the full cloud backup or the incremental cloud backup:
and encrypting data needing to perform full cloud backup or incremental cloud backup.
6. The method of claim 5, further comprising, prior to performing the full cloud backup or the incremental cloud backup:
and carrying out compression processing on encrypted data needing to perform full cloud backup or incremental cloud backup.
7. The method of claim 6, further comprising, prior to performing the full cloud backup or the incremental cloud backup:
sending a backup request carrying identity information to a cloud, and receiving a verification result returned by the cloud for verifying the identity information;
and if the verification result shows that the identity information is verified to be passed, determining that full cloud backup or incremental cloud backup is allowed to be executed, otherwise, outputting prompt information that the identity information is not verified to be passed.
8. An intelligent timed cloud backup device, comprising:
a determination module to: determining any volume needing to be subjected to timed cloud backup as a source volume;
an acquisition module to: before cloud backup is performed on the source volume, acquiring the number of data changed in the source volume since the cloud backup was performed last time;
a first determining module, configured to: and judging whether the proportion of the changed data number in the source volume to the total data number in the source volume reaches a preset proportion threshold value, if so, executing full cloud backup on the source volume, and if not, executing incremental cloud backup on the source volume.
9. An intelligent timed cloud backup device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the intelligent timed cloud backup method according to any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the intelligent timed cloud backup method according to any one of claims 1 to 7.
CN201911207157.0A 2019-11-29 2019-11-29 Intelligent timing cloud backup method, device, equipment and storage medium Withdrawn CN111104255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911207157.0A CN111104255A (en) 2019-11-29 2019-11-29 Intelligent timing cloud backup method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911207157.0A CN111104255A (en) 2019-11-29 2019-11-29 Intelligent timing cloud backup method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111104255A true CN111104255A (en) 2020-05-05

Family

ID=70421159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911207157.0A Withdrawn CN111104255A (en) 2019-11-29 2019-11-29 Intelligent timing cloud backup method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111104255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023006024A1 (en) * 2021-07-30 2023-02-02 北京字跳网络技术有限公司 Image processing method and apparatus, and electronic device and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486023A (en) * 2002-09-28 2004-03-31 华为技术有限公司 Method for serially implementing data backup of multiple device
CN101025702A (en) * 2006-02-17 2007-08-29 深圳奇峰创智科技有限公司 Method for automatic backup using computer network
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
CN105224424A (en) * 2015-10-28 2016-01-06 广州杰赛科技股份有限公司 A kind of backup method and system
CN105528368A (en) * 2014-09-30 2016-04-27 北京金山云网络技术有限公司 A database migration method and device
US20160267007A1 (en) * 2014-06-16 2016-09-15 Samsung Electronics Co., Ltd. Computing system with adaptive back-up mechanism and method of operation thereof
CN107643962A (en) * 2017-09-27 2018-01-30 郑州云海信息技术有限公司 A kind of backup method of data storage, device, equipment and readable storage medium storing program for executing
CN109271461A (en) * 2018-09-30 2019-01-25 广州鼎甲计算机科技有限公司 The increment synthesized backup method and device of SQL Server database

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486023A (en) * 2002-09-28 2004-03-31 华为技术有限公司 Method for serially implementing data backup of multiple device
CN101025702A (en) * 2006-02-17 2007-08-29 深圳奇峰创智科技有限公司 Method for automatic backup using computer network
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
US20160267007A1 (en) * 2014-06-16 2016-09-15 Samsung Electronics Co., Ltd. Computing system with adaptive back-up mechanism and method of operation thereof
CN105528368A (en) * 2014-09-30 2016-04-27 北京金山云网络技术有限公司 A database migration method and device
CN105224424A (en) * 2015-10-28 2016-01-06 广州杰赛科技股份有限公司 A kind of backup method and system
CN107643962A (en) * 2017-09-27 2018-01-30 郑州云海信息技术有限公司 A kind of backup method of data storage, device, equipment and readable storage medium storing program for executing
CN109271461A (en) * 2018-09-30 2019-01-25 广州鼎甲计算机科技有限公司 The increment synthesized backup method and device of SQL Server database

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023006024A1 (en) * 2021-07-30 2023-02-02 北京字跳网络技术有限公司 Image processing method and apparatus, and electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
EP3934165B1 (en) Consensus method of consortium blockchain, and consortium blockchain system
WO2020151323A1 (en) Data slicing-based data storage method, device, and medium
EP3287910A1 (en) Data backup method and data processing system
US20150112941A1 (en) Backup management system and method thereof
CN110825420A (en) Configuration parameter updating method, device, equipment and storage medium for distributed cluster
CN114564446B (en) File storage method, device, system and storage medium
US20190227710A1 (en) Incremental data restoration method and apparatus
CN112035472B (en) Data processing method, device, computer equipment and storage medium
CN110659151A (en) Data verification method and device and storage medium
CN110618974A (en) Data storage method, device, equipment and storage medium
CN110209529A (en) The guard method of radio frequency parameter and electronic equipment
CN112527562A (en) Data backup method and device of distributed storage system and computer equipment
CN114661607A (en) Point burying method and device applied to vehicle-mounted machine system, vehicle and storage medium
CN112684982A (en) Data migration method, system, equipment and computer readable storage medium
CN117349085B (en) Data storage method, data backup method and device
CN111104255A (en) Intelligent timing cloud backup method, device, equipment and storage medium
CN111026711A (en) Block chain based data storage method and device, computer equipment and storage medium
CN108133026B (en) Multi-data processing method, system and storage medium
CN112948169A (en) Data backup method, device, equipment and storage medium
CN105007286B (en) Coding/decoding method and device and cloud storage method and system
CN111241594B (en) Method, device, computer equipment and storage medium for signing transaction information
CN107291909B (en) Data processing method and system
CN115935414A (en) Block chain based data verification method and device, electronic equipment and storage medium
CN106326310B (en) Resource encryption updating method for mobile phone client software
US10102052B2 (en) Dumping resources

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200505

WW01 Invention patent application withdrawn after publication