CN112286733B - Method, device and equipment for determining backup data recovery time and storage medium - Google Patents

Method, device and equipment for determining backup data recovery time and storage medium Download PDF

Info

Publication number
CN112286733B
CN112286733B CN202011545018.1A CN202011545018A CN112286733B CN 112286733 B CN112286733 B CN 112286733B CN 202011545018 A CN202011545018 A CN 202011545018A CN 112286733 B CN112286733 B CN 112286733B
Authority
CN
China
Prior art keywords
recovery
backup
backup data
task
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011545018.1A
Other languages
Chinese (zh)
Other versions
CN112286733A (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.)
Shenzhen Clerware Technology Co ltd
Original Assignee
Shenzhen Clerware 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 Shenzhen Clerware Technology Co ltd filed Critical Shenzhen Clerware Technology Co ltd
Priority to CN202011545018.1A priority Critical patent/CN112286733B/en
Publication of CN112286733A publication Critical patent/CN112286733A/en
Application granted granted Critical
Publication of CN112286733B publication Critical patent/CN112286733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for determining backup data recovery time, and belongs to the technical field of data security. According to the method and the device, when a recovery time determining instruction is received, the backup data to be recovered and the current recovery mode are extracted from the recovery time determining instruction, then the corresponding backup task to be recovered is determined according to the backup data to be recovered, and finally the corresponding target recovery time is determined according to the backup task to be recovered and the current recovery mode.

Description

Method, device and equipment for determining backup data recovery time and storage medium
Technical Field
The present invention relates to the field of data security technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining backup data recovery time.
Background
With the development of internet technology, the degree of dependence of production, office, management and operation of an organization on an IT application system is higher and higher, and the application system and data become core assets of the organization. In order to deal with the challenge of data loss caused by host faults, system errors, virus attacks and the like, backup protection with different backup frequency strategies needs to be executed on all IT application systems to ensure that data is not lost and can be returned to the previous backup time point.
The backup aims to recover an application system and data when a fault or disaster occurs, but the recovery time of each backup task in different modes is lack of cognition and understanding in advance, the time required by the system or data recovery is basically known after the recovery is finished after the fault or disaster occurs, the consistency and the recovery time of backup data are unknown, the difficulty of operation and maintenance of a disaster recovery system is greatly increased, and the evaluation judgment capability of the capability of an organization for resisting the system service stopping and data loss risks caused by system fault, host fault, virus attack and misoperation is lost.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for determining backup data recovery time, and aims to solve the technical problem that in the prior art, a user cannot evaluate the system out-of-service and data loss risks because the time required for the system or data recovery is known only after a fault or disaster occurs.
In order to achieve the above object, the present invention provides a method for determining backup data recovery time, including the following steps:
when a recovery time determining instruction is received, extracting backup data to be recovered and a current recovery mode from the recovery time determining instruction;
determining a corresponding backup task to be restored according to the backup data to be restored;
and determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode.
Optionally, the step of determining the corresponding target restoration time according to the backup task to be restored and the current restoration mode specifically includes:
and searching for target recovery time corresponding to the backup task to be recovered and the current recovery mode in a preset mapping relation, wherein the preset mapping relation comprises the corresponding relation among the backup tasks, the recovery modes and the recovery time.
Optionally, before the step of extracting the backup data to be restored and the current restoration mode from the restoration time determination instruction when the restoration time determination instruction is received, the method for determining the restoration time of the backup data further includes:
performing recovery drilling on a plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result;
and generating a preset mapping relation according to the recovery drilling result.
Optionally, the recovering the drilling result comprises: a plurality of historical backup data corresponding to each backup task are respectively subjected to recovery time length corresponding to recovery drilling according to different recovery modes;
the step of generating a preset mapping relationship according to the drill recovery result specifically includes:
the recovery time length corresponding to the same backup task and the same recovery mode is counted from the recovery drilling result;
calculating the average value of the recovery time lengths corresponding to the same backup task and the same recovery mode, and taking the calculated average value as the recovery time corresponding to the same backup task and the same recovery mode;
and generating a preset mapping relation according to the recovery time corresponding to the same backup task and the same recovery mode.
Optionally, before the step of performing the recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes to obtain the recovery drilling result, the method for determining the recovery time of the backup data further includes:
respectively carrying out file consistency verification on a plurality of historical backup data corresponding to each backup task to obtain a file consistency verification result;
and when the file consistency result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
Optionally, before the step of performing the recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes to obtain the recovery drilling result, the method for determining the recovery time of the backup data further includes:
respectively performing system application verification on a plurality of historical backup data corresponding to each backup task to obtain a system application verification result;
and when the system application verification result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
Optionally, the current recovery mode is volume mount recovery, file recovery, virtual machine takeover recovery, small computer system interface ISCSI recovery, or full scene recovery.
In addition, to achieve the above object, the present invention also provides a backup data recovery time determination device, including: a memory, a processor and a backup data recovery time determining program stored on the memory and executable on the processor, the backup data recovery time determining program being configured to implement the steps of the backup data recovery time determining method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a backup data restoration time determination program that, when executed by a processor, implements the steps of the backup data restoration time determination method as described above.
In addition, to achieve the above object, the present invention further provides a backup data recovery time determination device, including:
the data extraction module is used for extracting backup data to be restored and a current restoration mode from the restoration time determination instruction when the restoration time determination instruction is received;
the task determination module is used for determining a corresponding backup task to be restored according to the backup data to be restored;
and the time determining module is used for determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode.
According to the method and the device, when a recovery time determining instruction is received, the backup data to be recovered and the current recovery mode are extracted from the recovery time determining instruction, then the corresponding backup task to be recovered is determined according to the backup data to be recovered, and finally the corresponding target recovery time is determined according to the backup task to be recovered and the current recovery mode.
Drawings
Fig. 1 is a schematic structural diagram of a backup data recovery time determination device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for determining backup data recovery time according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for determining backup data recovery time according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for determining backup data recovery time according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for determining backup data recovery time according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for determining backup data recovery time according to a fifth embodiment of the present invention;
fig. 7 is a block diagram of a backup data recovery time determining apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the backup data restoration time determination device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the backup data restoration time determination apparatus, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a backup data restoration time determination program.
In the backup data restoration time determination apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with an external network; the user interface 1003 is mainly used for receiving input instructions of a user; the backup data restoration time determination device calls the backup data restoration time determination program stored in the memory 1005 by the processor 1001, and performs the following operations:
when a recovery time determining instruction is received, extracting backup data to be recovered and a current recovery mode from the recovery time determining instruction;
determining a corresponding backup task to be restored according to the backup data to be restored;
and determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode.
Further, the processor 1001 may call the backup data restoration time determination program stored in the memory 1005, and also perform the following operations:
and searching for target recovery time corresponding to the backup task to be recovered and the current recovery mode in a preset mapping relation, wherein the preset mapping relation comprises the corresponding relation among the backup tasks, the recovery modes and the recovery time.
Further, the processor 1001 may call the backup data restoration time determination program stored in the memory 1005, and also perform the following operations:
performing recovery drilling on a plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result;
and generating a preset mapping relation according to the recovery drilling result.
Further, the processor 1001 may call the backup data restoration time determination program stored in the memory 1005, and also perform the following operations:
the step of generating a preset mapping relationship according to the drill recovery result specifically includes:
the recovery time length corresponding to the same backup task and the same recovery mode is counted from the recovery drilling result;
calculating the average value of the recovery time lengths corresponding to the same backup task and the same recovery mode, and taking the calculated average value as the recovery time corresponding to the same backup task and the same recovery mode;
and generating a preset mapping relation according to the recovery time corresponding to the same backup task and the same recovery mode.
Further, the processor 1001 may call the backup data restoration time determination program stored in the memory 1005, and also perform the following operations:
respectively carrying out file consistency verification on a plurality of historical backup data corresponding to each backup task to obtain a file consistency verification result;
and when the file consistency result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
Further, the processor 1001 may call the backup data restoration time determination program stored in the memory 1005, and also perform the following operations:
respectively performing system application verification on a plurality of historical backup data corresponding to each backup task to obtain a system application verification result;
and when the system application verification result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
According to the scheme, when a recovery time determining instruction is received, the backup data to be recovered and the current recovery mode are extracted from the recovery time determining instruction, then the corresponding backup task to be recovered is determined according to the backup data to be recovered, finally the corresponding target recovery time is determined according to the backup task to be recovered and the current recovery mode, and as the recovery time is related to the backup task to be recovered and the current recovery mode, the corresponding target recovery time can be determined through the backup task to be recovered and the current recovery mode, so that a user can evaluate the system service stopping and the data loss risk based on the target recovery time.
Based on the hardware structure, the embodiment of the method for determining the recovery time of the backup data is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for determining backup data recovery time according to a first embodiment of the present invention.
In a first embodiment, the backup data recovery time determination method includes the steps of:
s10: and when a recovery time determining instruction is received, extracting the backup data to be recovered and the current recovery mode from the recovery time determining instruction.
It should be noted that, the user may trigger the recovery time determination instruction through a key on the keyboard, may trigger the recovery time determination instruction through a mouse, and may trigger the recovery time determination instruction through a touch screen, which is not limited in this embodiment.
It can be understood that, as for the recovery time determining instruction, it can be understood that the instruction is an instruction for acquiring time required by the backup data to be recovered when the backup data to be recovered is recovered through the current recovery mode, and therefore, as for the recovery time determining instruction, the backup data to be recovered and the current recovery mode are carried, and therefore, the backup data to be recovered and the current recovery mode can be extracted from the recovery time determining instruction.
S20: and determining a corresponding backup task to be restored according to the backup data to be restored.
In a specific implementation, the backup data to be restored may be understood as a certain backup point of the backup source device, and for the backup source device, it usually has a continuous backup process, such as: the backup mode of the backup source device is one backup for each hour, and if the backup start time is set to be 9 am at 5/3/2020, then normally, one backup needs to be performed every hour, and the continuous backup process needs to be implemented by one backup task, so that one backup task corresponds to one backup source device, and one backup task generates a plurality of backup data, so that after the backup data to be restored is determined, the corresponding backup task to be restored can be determined according to the backup data to be restored.
S30: and determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode.
It should be noted that, after determining the backup task to be restored and the current restoration mode, the corresponding target restoration time may be determined, and therefore, in this embodiment, the corresponding target restoration time may be determined according to the backup task to be restored and the current restoration mode.
In this embodiment, when a recovery time determination instruction is received, the to-be-recovered backup data and the current recovery mode are extracted from the recovery time determination instruction, then a corresponding to-be-recovered backup task is determined according to the to-be-recovered backup data, and finally a corresponding target recovery time is determined according to the to-be-recovered backup task and the current recovery mode.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for determining a recovery time of backup data according to a second embodiment of the present invention, and the method for determining a recovery time of backup data according to the second embodiment of the present invention is proposed based on the embodiment illustrated in fig. 2.
In the second embodiment, step S30 specifically includes:
s31: and searching for target recovery time corresponding to the backup task to be recovered and the current recovery mode in a preset mapping relation, wherein the preset mapping relation comprises the corresponding relation among the backup tasks, the recovery modes and the recovery time.
It should be noted that, in order to improve the efficiency of obtaining the target recovery time, in this embodiment, a preset mapping relationship may be established in advance, where the preset mapping relationship includes a corresponding relationship between each backup task, the recovery mode, and the recovery time, and when the target recovery time needs to be determined, the target recovery time corresponding to the backup task to be recovered and the current recovery mode may be searched in the preset mapping relationship.
It is understood that the recovery modes can be generally classified into volume mount recovery, file recovery, virtual machine takeover recovery, Small Computer System Interface (ISCSI) recovery, and full scene recovery, and thus the current recovery modes are usually volume mount recovery, file recovery, virtual machine takeover recovery, ISCSI recovery, or full scene recovery.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for determining a recovery time of backup data according to a third embodiment of the present invention, and the method for determining a recovery time of backup data according to the third embodiment of the present invention is proposed based on the embodiment shown in fig. 3.
In the third embodiment, before step S10, the method further includes:
s01: and performing recovery drilling on a plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
It can be understood that, when the current recovery mode is volume mount recovery, the corresponding recovery drilling mode is to mount data backed up in a volume backup mode in backup data to a host for drilling, and determine the corresponding recovery time;
when the current recovery mode is file recovery, the corresponding recovery drilling mode is to recover a single file in the backup data to the original application system and data to perform simulated disaster drilling and determine the corresponding recovery time;
when the current recovery mode is virtual machine recovery, the corresponding recovery drilling mode is to start the backup data in a virtual machine mode for drilling, and determine the corresponding recovery time;
when the current recovery mode is the small computer system interface ISCSI recovery, the corresponding recovery drilling mode is to drill the backup data in an ISCSI mounting mode and determine the corresponding recovery time;
when the current recovery mode is full-scene recovery, the corresponding recovery drilling mode is drilling by using backup data and adopting a full-scene recovery mode, the operation system, the application system, the database, the data and the like are recovered and set up, and the corresponding recovery time is determined.
S02: and generating a preset mapping relation according to the recovery drilling result.
In a specific implementation, the recovering the drilling result includes: and the plurality of historical backup data corresponding to each backup task are respectively subjected to recovery time lengths corresponding to recovery drilling according to different recovery modes.
In order to quickly generate the preset mapping relationship, in this embodiment, the recovery durations corresponding to the same backup task and the same recovery mode may be counted from the recovery drilling result; calculating the average value of the recovery time lengths corresponding to the same backup task and the same recovery mode, and taking the calculated average value as the recovery time corresponding to the same backup task and the same recovery mode; and generating a preset mapping relation according to the recovery time corresponding to the same backup task and the same recovery mode.
For example: a backup task a corresponds to 5 pieces of historical backup data, at this time, it is assumed that recovery drilling is performed on the 5 pieces of historical backup data according to a volume mount recovery mode, and recovery time durations are respectively 10min, 11min, 12min, 10min and 12min, at this time, since the 5 pieces of recovery time durations correspond to the same backup task (i.e., backup task a) and the same recovery mode (i.e., volume mount recovery), an average value 11min of the 5 pieces of recovery time durations can be calculated, and the calculated average value 11min can be used as recovery time for volume mount recovery of the backup task a;
certainly, it is assumed that the 5 pieces of historical backup data are subjected to recovery drilling in a full-scene recovery mode, and the obtained recovery time durations are 21min, 30min, 25min, 24min and 20min, at this time, since the 5 recovery time durations correspond to the same recovery mode (i.e., full-scene recovery) of the same backup task (i.e., backup task a), an average value 11min of the 5 recovery time durations can be calculated, and the calculated average value 11min can be used as the recovery time of the full-scene recovery of the backup task a.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for determining a recovery time of backup data according to a fourth embodiment of the present invention, and the fourth embodiment of the method for determining a recovery time of backup data according to the present invention is proposed based on the embodiment shown in fig. 3.
In the fourth embodiment, before step S01, the method further includes:
s001: respectively carrying out file consistency verification on a plurality of historical backup data corresponding to each backup task to obtain a file consistency verification result; and when the file consistency result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
It should be noted that, since the backup task may have formed a plurality of corresponding historical backup data, but the historical backup data may cause inconsistency between the historical backup data and the data in the backup source device due to problems such as network reasons or data transmission reasons, in order to ensure the security of the data, in this embodiment, before step S01, a file consistency verification may be performed.
In a specific implementation, in order to ensure the validity of the file consistency verification, in this embodiment, the file consistency verification may be performed with the backup source device when the historical backup data is generated.
It can be understood that the file consistency verification can be realized by a file browsing and comparing manner, that is, files in the historical backup data can be browsed, and the browsed files are compared with files of the backup source device, so that the file consistency verification is realized.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for determining a recovery time of backup data according to a fifth embodiment of the present invention, and the method for determining a recovery time of backup data according to the fifth embodiment of the present invention is proposed based on the embodiment shown in fig. 3.
In the fifth embodiment, before step S01, the method further includes:
s003: respectively performing system application verification on a plurality of historical backup data corresponding to each backup task to obtain a system application verification result; and when the system application verification result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
It should be noted that, since the backup task may have formed a plurality of corresponding historical backup data, but the corresponding systems and applications in the historical backup data may not be normally used, in order to ensure that the systems and applications in the historical backup data can be normally used, in this embodiment, before step S01, system application verification may be performed.
In a specific implementation, the system application verification may be performed by determining whether the system can be started, whether a service/process related to the system can be started, whether an application can be started, whether the application can be normally used, and the like.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a backup data recovery time determination program is stored on the computer-readable storage medium, and when executed by a processor, the backup data recovery time determination program implements the following operations:
when a recovery time determining instruction is received, extracting backup data to be recovered and a current recovery mode from the recovery time determining instruction;
determining a corresponding backup task to be restored according to the backup data to be restored;
and determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode.
The backup data recovery time determining program of this embodiment may also be used to implement the steps of the backup data recovery time determining method, which are not described herein again.
In addition, an embodiment of the present invention further provides a device for determining backup data recovery time, and referring to fig. 7, the device includes:
the data extraction module 701 is configured to, when receiving a recovery time determination instruction, extract backup data to be recovered and a current recovery mode from the recovery time determination instruction;
a task determining module 702, configured to determine, according to the backup data to be restored, a corresponding backup task to be restored;
a time determining module 703, configured to determine a corresponding target recovery time according to the backup task to be recovered and the current recovery mode.
Each module of this embodiment may also be configured to implement each step of the above method for determining backup data recovery time, which is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method for determining backup data recovery time is characterized by comprising the following steps:
performing recovery drilling on a plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result;
generating a preset mapping relation according to the recovery drilling result;
when a recovery time determining instruction is received, extracting backup data to be recovered and a current recovery mode from the recovery time determining instruction;
determining a corresponding backup task to be restored according to the backup data to be restored;
determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode;
the step of determining the corresponding target recovery time according to the backup task to be recovered and the current recovery mode specifically includes:
searching for target recovery time corresponding to the backup task to be recovered and the current recovery mode in a preset mapping relation, wherein the preset mapping relation comprises the corresponding relation among the backup tasks, the recovery modes and the recovery time;
the recovering the drilling result comprises: a plurality of historical backup data corresponding to each backup task are respectively subjected to recovery time length corresponding to recovery drilling according to different recovery modes;
the step of generating a preset mapping relationship according to the drill recovery result specifically includes:
the recovery time length corresponding to the same backup task and the same recovery mode is counted from the recovery drilling result;
calculating the average value of the recovery time lengths corresponding to the same backup task and the same recovery mode, and taking the calculated average value as the recovery time corresponding to the same backup task and the same recovery mode;
and generating a preset mapping relation according to the recovery time corresponding to the same backup task and the same recovery mode.
2. The method for determining backup data recovery time according to claim 1, wherein before the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task in accordance with different recovery modes to obtain the results of the recovery drilling, the method for determining backup data recovery time further comprises:
respectively carrying out file consistency verification on a plurality of historical backup data corresponding to each backup task to obtain a file consistency verification result;
and when the file consistency result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
3. The method for determining backup data recovery time according to claim 2, wherein before the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task in accordance with different recovery modes to obtain the results of the recovery drilling, the method for determining backup data recovery time further comprises:
respectively performing system application verification on a plurality of historical backup data corresponding to each backup task to obtain a system application verification result;
and when the system application verification result is that the verification is passed, executing the step of performing recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result.
4. The method for determining the recovery time of backup data according to any one of claims 1 to 3, wherein the current recovery mode is volume mount recovery, file recovery, virtual machine takeover recovery, small computer system interface ISCSI recovery or full scene recovery.
5. A backup data restoration time determination device characterized by comprising: a memory, a processor and a backup data recovery time determination program stored on the memory and executable on the processor, the backup data recovery time determination program being configured to implement the steps of the backup data recovery time determination method according to any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that a backup data restoration time determination program is stored thereon, which when executed by a processor implements the steps of the backup data restoration time determination method according to any one of claims 1 to 4.
7. A backup data restoration time determination apparatus, characterized by comprising:
the data extraction module is used for extracting backup data to be restored and a current restoration mode from the restoration time determination instruction when the restoration time determination instruction is received;
the task determination module is used for determining a corresponding backup task to be restored according to the backup data to be restored;
the time determining module is used for determining corresponding target recovery time according to the backup task to be recovered and the current recovery mode;
the time determining module is further configured to search for target recovery time corresponding to the backup task to be recovered and the current recovery mode in a preset mapping relationship, where the preset mapping relationship includes a correspondence relationship among the backup tasks, the recovery modes, and the recovery time;
the time determining module is further configured to perform recovery drilling on the plurality of historical backup data corresponding to each backup task according to different recovery modes respectively to obtain a recovery drilling result; generating a preset mapping relation according to the recovery drilling result;
the recovering the drilling result comprises: a plurality of historical backup data corresponding to each backup task are respectively subjected to recovery time length corresponding to recovery drilling according to different recovery modes; the time determining module is further configured to count recovery durations corresponding to the same backup task and the same recovery mode from the recovery drilling result; calculating the average value of the recovery time lengths corresponding to the same backup task and the same recovery mode, and taking the calculated average value as the recovery time corresponding to the same backup task and the same recovery mode; and generating a preset mapping relation according to the recovery time corresponding to the same backup task and the same recovery mode.
CN202011545018.1A 2020-12-23 2020-12-23 Method, device and equipment for determining backup data recovery time and storage medium Active CN112286733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011545018.1A CN112286733B (en) 2020-12-23 2020-12-23 Method, device and equipment for determining backup data recovery time and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011545018.1A CN112286733B (en) 2020-12-23 2020-12-23 Method, device and equipment for determining backup data recovery time and storage medium

Publications (2)

Publication Number Publication Date
CN112286733A CN112286733A (en) 2021-01-29
CN112286733B true CN112286733B (en) 2021-04-06

Family

ID=74426603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011545018.1A Active CN112286733B (en) 2020-12-23 2020-12-23 Method, device and equipment for determining backup data recovery time and storage medium

Country Status (1)

Country Link
CN (1) CN112286733B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116322B (en) * 2022-01-27 2022-05-24 深圳市科力锐科技有限公司 Data recovery method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184218A (en) * 2011-05-05 2011-09-14 华中科技大学 Repeated data delete method based on causal relationship
CN104679614A (en) * 2015-03-31 2015-06-03 成都文武信息技术有限公司 Database disaster backup system
CN106209422A (en) * 2016-06-28 2016-12-07 中国银联股份有限公司 Reduce the method and apparatus of Disaster Preparation Center's system switching unavailable time
CN107885616A (en) * 2017-09-29 2018-04-06 上海爱数信息技术股份有限公司 A kind of mass small documents back-up restoring method based on file system parsing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346259B2 (en) * 2012-12-28 2019-07-09 Commvault Systems, Inc. Data recovery using a cloud-based remote data recovery center
US20200159624A1 (en) * 2018-04-25 2020-05-21 Cloud Daddy, Inc. System, Method and Process for Protecting Data Backup from Cyberattack
CN111666179B (en) * 2020-06-12 2023-03-28 重庆云海时代信息技术有限公司 Intelligent replication system and server for multi-point data disaster tolerance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184218A (en) * 2011-05-05 2011-09-14 华中科技大学 Repeated data delete method based on causal relationship
CN104679614A (en) * 2015-03-31 2015-06-03 成都文武信息技术有限公司 Database disaster backup system
CN106209422A (en) * 2016-06-28 2016-12-07 中国银联股份有限公司 Reduce the method and apparatus of Disaster Preparation Center's system switching unavailable time
CN107885616A (en) * 2017-09-29 2018-04-06 上海爱数信息技术股份有限公司 A kind of mass small documents back-up restoring method based on file system parsing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于数据资产管理的营销数据智能化归档研究;高琳等;《黑龙江电力》;20191031;第41卷(第5期);第465-470页 *

Also Published As

Publication number Publication date
CN112286733A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN107220142B (en) Method and device for executing data recovery operation
US20180046606A1 (en) Form Checking Method and Apparatus
CN107451040B (en) Method and device for positioning fault reason and computer readable storage medium
CN112596951A (en) NAS data disaster tolerance method, device, equipment and storage medium
CN112597020A (en) Interface testing method and device, computer equipment and storage medium
CN112286733B (en) Method, device and equipment for determining backup data recovery time and storage medium
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN114024884A (en) Test method, test device, electronic equipment and storage medium
CN109361553B (en) Configuration rollback method and device
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
CN113703946A (en) Application recovery method and device, electronic equipment and computer readable storage medium
CN110908840B (en) Method, device, equipment and storage medium for restoring bak backup files
CN112528295A (en) Vulnerability repairing method and device of industrial control system
CN110232069B (en) Customer information intelligent input method and device based on big data
CN110955562A (en) Data recovery method, system, equipment and readable storage medium
CN111416857A (en) Client crash processing method, device, system, equipment and storage medium
CN104503829A (en) Method for detecting and maintaining management process
CN109246297B (en) Method, device and storage medium for determining factory reset time of mobile terminal
CN113495841A (en) Compatibility detection method, device, equipment, storage medium and program product
CN111770080A (en) Method and device for recovering device fingerprint
CN111240956A (en) Memory leakage monitoring method and device, electronic equipment and computer storage medium
CN115374488B (en) Vehicle-mounted terminal program checking method and device
CN112540929B (en) Detection method, detection device, detection equipment and storage medium
CN112165512A (en) File publishing method and device, terminal equipment and storage medium
CN112650569A (en) Timed task relation network graph generation method based on Oracle code and related equipment

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