Backup set recovery method and device, electronic equipment and storage medium

By obtaining tape identifiers to generate recovery sets and performing data recovery sequentially, the problem of frequent loading and unloading in tape backup is solved, improving recovery efficiency and equipment lifespan, and enhancing the reliability of the disaster recovery backup system.

CN121523974APending Publication Date: 2026-02-13INFORMATION2 SOFTWARE SHANGHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511659554.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-13
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

In tape backup scenarios, frequent tape loading and unloading operations lead to longer recovery times and increased mechanical wear, affecting the reliability and efficiency of disaster recovery backup systems.

Method used

By obtaining the tape identifiers of the backup set, a recovery set is generated, and data recovery operations are performed according to the tape identifiers in a grouped and sequential manner, ensuring that each tape is loaded and unloaded only once.

Benefits of technology

It significantly shortens data recovery time, improves recovery efficiency, reduces mechanical wear on tape drives, extends the lifespan of hardware equipment, and enhances the stability of the disaster recovery backup system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121523974A_ABST
    Figure CN121523974A_ABST
Patent Text Reader

Abstract

The invention discloses a backup set recovery method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a backup set; wherein the backup set is a data set generated by backing up target data in advance; determining a tape identifier associated with the backup set; wherein the tape identifier is a unique identifier of the tape; the backup set is stored on a magnetic tape; and generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and executing data recovery operation on the backup set in the recovery set. According to the technical scheme, it is ensured that in the whole recovery process, a disk of magnetic tape only needs to be loaded and unloaded once, data recovery time consumption is remarkably shortened, the overall recovery efficiency is improved, mechanical abrasion of the magnetic tape unit is effectively reduced, the service life of hardware equipment is prolonged, and the cost is reduced. And finally, powerful support is provided for stable operation and reliable upgrading of the disaster recovery backup system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer disaster backup, and in particular to a backup set recovery method and device, an electronic device and a storage medium. BACKGROUND

[0002] In the current computer disaster backup field, with the expansion of enterprise business scale and the acceleration of digital transformation, the daily business data and user data are growing exponentially, resulting in a continuous increase in backup data volume. As a storage medium with high storage density, low unit storage cost, strong offline storage anti-interference and other advantages, magnetic tape is gradually applied more and more widely in the field of disaster backup, and becomes one of the important choices for long-term archiving and disaster recovery backup of large-scale data.

[0003] In the actual magnetic tape backup scene, in order to improve the backup efficiency, a multi-concurrent mechanism (set the concurrency number as n) is usually set for a single backup task, that is, data needs to be written to n magnetic tapes at the same time during backup, and each concurrent channel corresponds to an independent magnetic tape, resulting in that a single backup task will occupy n different tape names, and the backup set generated thereby will be stored in the n magnetic tapes in a scattered manner. At the same time, when multiple unrelated backup tasks are executed at the same time, the magnetic tape allocation mechanism usually adopts a random allocation strategy, that is, a magnetic tape may be randomly allocated to the concurrent channels of different backup tasks, resulting in that a magnetic tape will store the backup sets generated by multiple unrelated backup tasks in a mixed manner.

[0004] Frequent magnetic tape loading and unloading operations not only greatly prolong the recovery time and reduce the disaster recovery efficiency, but also increase the mechanical wear of the tape drive and shorten the service life of the hardware, which seriously affects the overall reliability of the disaster backup system. SUMMARY

[0005] The present application provides a backup set recovery method, device, electronic device and storage medium, which ensures that a magnetic tape only needs to be loaded and unloaded once during the entire recovery process, not only significantly shortens the data recovery time and improves the overall recovery efficiency, but also effectively reduces the mechanical wear of the tape drive and prolongs the service life of the hardware device, thereby providing strong support for the stable operation and reliability upgrade of the disaster backup system.

[0006] According to an aspect of the present application, a backup set recovery method is provided, which comprises:

[0007] obtaining a backup set; wherein the backup set is a data set generated by pre-backup of target data;

[0008] determine a tape identifier associated with the backup set; wherein the tape identifier is a unique identifier of a tape; and wherein the backup set is stored on the tape;

[0009] generate a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and perform a data recovery operation on the backup set in the recovery set.

[0010] According to another aspect of the present application, there is provided a backup set recovery apparatus, comprising:

[0011] a backup set obtaining module configured to obtain a backup set; wherein the backup set is a data set generated by pre-backup of target data;

[0012] a tape identifier determining module configured to determine a tape identifier associated with the backup set; wherein the tape identifier is a unique identifier of a tape; and wherein the backup set is stored on the tape;

[0013] a backup set recovery module configured to generate a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and perform a data recovery operation on the backup set in the recovery set.

[0014] According to another aspect of the present application, there is provided an electronic device, comprising:

[0015] at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform a backup set recovery method according to any one of the embodiments of the present application.

[0016] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to perform a backup set recovery method according to any one of the embodiments of the present application.

[0017] The technical solution of the embodiments of the present application comprises the following steps: obtaining a backup set; determining a tape identifier associated with the backup set; generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and performing a data recovery operation on the backup set in the recovery set. The technical solution ensures that a tape only needs to be loaded and unloaded once in the entire recovery process, which not only significantly shortens the data recovery time and improves the overall recovery efficiency, but also effectively reduces the mechanical wear of the tape drive and prolongs the service life of the hardware device, thereby providing strong support for the stable operation and reliability upgrade of the disaster recovery backup system.

[0018] It is to be understood that the details set forth herein do not limit the scope of the embodiments of the application to the specific embodiments described. Rather, the scope of the embodiments of the application is to be defined by the claims. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0020] Figure 1 is a flow chart of a backup set recovery method according to the first embodiment of the present application;

[0021] Figure 2 is a flow chart of a backup set recovery process according to the second embodiment of the present application;

[0022] Figure 3 is a schematic diagram of a backup set sorted by tape identification during recovery according to the second embodiment of the present application;

[0023] Figure 4 is a schematic diagram of a backup set recovery process according to the third embodiment of the present application;

[0024] Figure 5 is a schematic diagram of tape occupancy during backup according to the third embodiment of the present application;

[0025] Figure 6 is a schematic diagram of a backup set recovery device according to the fourth embodiment of the present application;

[0026] Figure 7 is a schematic diagram of an electronic device implementing a backup set recovery method according to the embodiments of the present application. DETAILED DESCRIPTION

[0027] In order to make the technical personnel in the art better understand the present application, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present application.

[0028] It is to be understood that the terminology "target" and the like used in the specification and the claims of the application and the above-listed drawings is used to describe specific embodiments and is not intended to limit the scope of the application to a particular device or particular order among others. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0029] Embodiment one

[0030] Figure 1 It is a flowchart of a backup set recovery method according to an embodiment of the application. The embodiment can be applied to the case of recovering the backup set in the tape. The method can be executed by a backup set recovery device, which can be realized in the form of hardware and / or software, and can be configured in a device. For example, the device can be a background server or other device with communication and computing capabilities. As shown in the figure, the method comprises: Figure 1

[0031] S110, obtaining a backup set; wherein the backup set is a data set generated by pre-backup of target data.

[0032] In the embodiment, the backup set is a data set generated by pre-backup of target data.

[0033] In the scheme, when performing the backup set recovery operation, the backup set to be recovered needs to be selected from the database. For example, m backup sets to be recovered are selected.

[0034] Among them, the backup set is divided into full backup set and incremental backup set. For example, if m backup sets need to be recovered, the m backup sets can include 1 full backup set and m-1 incremental backup sets.

[0035] S120, determining the tape identifier associated with the backup set; wherein the tape identifier is the unique identifier of the tape; and the backup set is stored on the tape.

[0036] In the scheme, the tape identifier is the unique identifier of the tape, for example, the tape identifier is tapename0, tapename1, etc.

[0037] ​The backup set is stored on a tape. For example, the backup set backupset0 is stored on the tapes tapename0 and tapename1; the backup set backupset1 is stored on the tapes tapename2 and tapename3.

[0038] In this embodiment, the tape identifiers associated with the backup set are determined by reading the tape identifier information recorded in each backup set, and all the tape identifiers are recorded.

[0039] Optionally, determining the tape identifiers associated with the backup set comprises:

[0040] According to the backup set, the tape identifiers associated with the backup set are determined by querying a pre-constructed association relationship between backup sets and tape identifiers.

[0041] In this embodiment, the association relationship between the backup set and the tape identifier has been pre-constructed.

[0042] Further, the backup set is used as a query basis to retrieve information from the pre-set association relationship between the backup set and the tape identifier, and then the tape identifier associated therewith is determined.

[0043] By querying and locking the corresponding tape identifier in the pre-constructed association relationship between the backup set and the tape identifier, the corresponding link between the backup set and the tape identifier can be directly established, the problem of difficult backup data positioning or mis-matching caused by identification confusion can be avoided, and the time-consuming operation can be shortened to quickly find the tape in the data recovery scenario.

[0044] S130, based on the backup set stored on the tape corresponding to the tape identifier, a recovery set is generated, and a data recovery operation is performed on the backup set in the recovery set.

[0045] In this scheme, grouping is performed according to the tape identifier, and the backup set stored on the tape corresponding to each tape identifier is determined as a recovery set.

[0046] In this embodiment, each recovery set is called in turn, and a data recovery operation is performed on the backup set in each recovery set by using a data recovery technology.

[0047] The technical scheme of the embodiment of the present application comprises the following steps: obtaining a backup set; determining a tape identifier associated with the backup set; generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and performing a data recovery operation on the backup set in the recovery set. By executing the technical scheme, it is ensured that a tape only needs to be loaded and unloaded once in the entire recovery process, which not only significantly shortens the data recovery time and improves the overall recovery efficiency, but also effectively reduces the mechanical wear of the tape drive and prolongs the service life of the hardware device, thereby providing strong support for the stable operation and reliability upgrade of the disaster recovery backup system.

[0048] Embodiment two

[0049] Figure 2 A flowchart of a backup set recovery process provided by the second embodiment of the present application is shown in FIG. 2B. The relationship between the present embodiment and the above-mentioned embodiments is a detailed description of the backup set recovery process. Figure 2 As shown in FIG. 2B, the method comprises the following steps.

[0050] S210, obtaining a backup set; wherein the backup set is a data set generated by pre-backup of target data.

[0051] S220, determining a tape identifier associated with the backup set; wherein the tape identifier is a unique identifier of a tape; and the backup set is stored on the tape.

[0052] S230, generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier.

[0053] In the present embodiment, Figure 3 A backup set grouping and sorting diagram according to a tape identifier in the recovery process provided by the second embodiment of the present application is shown in FIG. 2C. Figure 3 As shown in FIG. 2C, the backup sets stored on the tapes corresponding to each tape identifier are determined as a recovery set according to the grouping by the tape identifier.

[0054] Specifically, when grouping by the tape identifier, it is assumed that the backup sets backupset0 and backupset1 are stored on the tape tapename0, and the backup sets backupset0 and backupset2 are stored on the tape tapename1. When the backup task is set to a multi-concurrent mode, the generated backup sets will occupy multiple different tape identifiers. In this scenario, after grouping the backup sets according to the tape identifier, the corresponding backup sets of each group need to be counted; wherein the multiple backup sets stored on the same tape identifier are collectively referred to as a recovery set.

[0055] S240, determining the execution order of the recovery set.

[0056] The execution order refers to the order followed when performing the data recovery operation. For example, when there are multiple recovery sets, the data recovery operation can be performed in the order of recovery set 1, recovery set 2, recovery set 3, and recovery set 4.

[0057] Optionally, the execution order of the recovery sets is determined, including:

[0058] The arrangement order of the tape identifiers is obtained.

[0059] The execution order of the recovery sets is determined according to the arrangement order, wherein the execution order is the same as the arrangement order.

[0060] In this scheme, the arrangement order of the tape identifiers is determined in advance. For example, the arrangement order of the tape identifiers is tapename0, tapename1, tapename2, and the like.

[0061] In this embodiment, the recovery sets are sorted according to the arrangement order of the identifiers, and the execution order of the recovery sets is determined according to the sorting result.

[0062] By determining the execution order of the recovery sets, tape calling errors and data recovery logic disorder caused by disordered execution order in the recovery process can be effectively avoided, ensuring that the recovery operation strictly follows the tape identifier arrangement logic and orderly proceeds. This not only improves the standardization and accuracy of the data recovery process, but also reduces the rework and troubleshooting time caused by disordered order, thereby improving the efficiency and reliability of the overall data recovery work and ensuring that the data recovery task is completed as expected.

[0063] S250, according to the execution order, sequentially performing data recovery operations on the backup sets in the recovery sets.

[0064] Specifically, the recovery sets on each tape are called in the execution order, and data recovery operations are performed on the backup sets in each recovery set.

[0065] Optionally, according to the execution order, sequentially performing data recovery operations on the backup sets in the recovery sets, includes:

[0066] For each recovery set, the corresponding write order in the process of writing the backup sets in the recovery set to the tape is obtained;

[0067] According to the write order, data recovery operations are performed on the backup sets in the recovery set.

[0068] In this embodiment, the write order of the backup sets in the recovery set in the process of writing to the tape is obtained by querying the data of the tape corresponding to the recovery set.

[0069] Further, the backup sets in the recovery set are called in turn according to the normal order of the write-in order, and the data recovery operation is performed on each backup set.

[0070] According to the execution order, the data recovery operation is performed on the backup sets in the recovery set in turn. In the whole recovery process, a tape only needs to be loaded and unloaded once, which not only significantly shortens the data recovery time and improves the overall recovery efficiency, but also effectively reduces the mechanical wear of the tape drive and prolongs the service life of the hardware device, thereby providing strong support for the stable operation and reliability upgrade of the disaster recovery backup system.

[0071] The technical scheme of the embodiment of the application comprises the following steps: obtaining a backup set; determining a tape identifier associated with the backup set; generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier; determining an execution order of the recovery set; and performing a data recovery operation on the backup sets in the recovery set in turn according to the execution order. By executing the technical scheme, in the whole recovery process, a tape only needs to be loaded and unloaded once, which not only significantly shortens the data recovery time and improves the overall recovery efficiency, but also effectively reduces the mechanical wear of the tape drive and prolongs the service life of the hardware device, thereby providing strong support for the stable operation and reliability upgrade of the disaster recovery backup system.

[0072] Embodiment three

[0073] Figure 4 A schematic diagram of a backup set recovery process is provided for the third embodiment of the application. The relationship between the present embodiment and the above-mentioned embodiments is a detailed description of the process of writing the backup set to the tape. As shown in the figure, the method comprises the following steps: Figure 4

[0074] S410, obtaining the number of concurrent tasks of the backup set; wherein the number of concurrent tasks is the number of tasks allowed to perform data transmission simultaneously in the backup process of the target data;

[0075] In the present embodiment, the number of concurrent tasks is the number of tasks allowed to perform data transmission simultaneously in the backup process of the target data. For example, the number of concurrent tasks can be set to n.

[0076] S420, allocating the tapes corresponding to the number of concurrent tasks according to the number of concurrent tasks, and writing the backup set into the tapes corresponding to the number of concurrent tasks.

[0077] In the present embodiment, when the number of concurrent tasks of the backup set is n, the backup set will occupy n tapes (tapename0, tapename1,..., tapenamen) with n tape identifiers.

[0078] The tape occupation information of the backup set is recorded in the configuration file Conf.

[0079] ​Specifically, the corresponding tape allocation operation is first completed according to the set concurrency number, and then the backup set is written to the allocated tape, so as to achieve the orderly connection of concurrency, tape resources and backup data.

[0080] In this scheme, the concurrency is set to n, meaning that backup sets need to be written to n tapes simultaneously during backup. Each concurrent channel corresponds to an independent tape, and a single backup task will occupy n different tape identifiers. The backup sets it generates will also be distributed and stored across these n tapes. Furthermore, when multiple unrelated backup tasks are executed simultaneously, the tape allocation mechanism typically adopts a random allocation strategy. That is, a tape may be randomly allocated to concurrent channels of different backup tasks, and a single tape will contain a mix of backup sets generated by multiple unrelated backup tasks. Figure 5 This is a schematic diagram of tape usage during backup provided in Embodiment 3 of this application, as shown below. Figure 5 As shown, this illustrates the tape usage when setting up two concurrent backup tasks.

[0081] Optionally, based on the number of concurrent processes, a magnetic tape corresponding to the number of concurrent processes is allocated, and the backup set is written to the magnetic tape corresponding to the number of concurrent processes, including:

[0082] Determine the tape identifier corresponding to the tape to which the backup set is written, and establish the association between the backup set and the tape identifier.

[0083] In this scheme, the tape identifier corresponding to the tape to which the backup set is written is read, and the association between the backup set and the tape identifier is established.

[0084] By establishing a corresponding link between backup sets and tape identifiers, we can avoid difficulties in locating backup data or mismatches caused by identifier confusion, ensuring that tapes can be found quickly in data recovery scenarios and shortening operation time.

[0085] S430. Obtain a backup set; wherein, the backup set is a dataset generated by backing up the target data in advance;

[0086] S440. Determine the tape identifier associated with the backup set; wherein the tape identifier is a unique identifier for the tape; the backup set is stored on the tape;

[0087] S450. Based on the backup set stored on the tape corresponding to the tape identifier, generate a recovery set and perform data recovery operation on the backup set in the recovery set.

[0088] The technical solution of this invention involves obtaining the concurrency of the backup set; allocating a tape corresponding to the concurrency based on the concurrency, and writing the backup set to the tape corresponding to the concurrency. The process includes obtaining the backup set; determining the tape identifier associated with the backup set; generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier; and performing data recovery operations on the backup sets in the recovery set. By implementing this technical solution, it is ensured that each tape only needs to be loaded and unloaded once during the entire recovery process. This significantly shortens the data recovery time, improves the overall recovery efficiency, and effectively reduces the mechanical wear of the tape drive, extending the service life of the hardware equipment. Ultimately, it provides strong support for the stable operation and reliability upgrade of the disaster recovery backup system.

[0089] Example 4

[0090] Figure 6 This is a schematic diagram of a backup set recovery device provided in Embodiment 4 of the present invention. Figure 6 As shown, the device includes:

[0091] Backup set acquisition module 610 is used to acquire a backup set; wherein, the backup set is a dataset generated by backing up the target data in advance;

[0092] Tape identification determination module 620 is used to determine the tape identifier associated with the backup set; wherein, the tape identifier is a unique identifier for the tape; the backup set is stored on the tape;

[0093] The backup set recovery module 630 is used to generate a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and to perform data recovery operations on the backup set in the recovery set.

[0094] Optional, the backup set recovery module 630 includes:

[0095] The recovery set generation unit is used to generate a recovery set based on the backup set stored on the tape corresponding to the tape identifier;

[0096] An execution order determination unit is used to determine the execution order of the recovery set;

[0097] The data recovery unit is used to perform data recovery operations on the backup sets in the recovery set sequentially according to the execution order.

[0098] Optionally, the execution order determination unit is used for:

[0099] Obtain the arrangement order of the tape identifiers;

[0100] The execution order of the recovery set is determined according to the arrangement order; wherein the execution order is the same as the arrangement order.

[0101] Optional, data recovery unit, specifically used for:

[0102] For each recovery set, obtain the writing order corresponding to each backup set in the recovery set during the tape writing process;

[0103] Data recovery operations are performed on each backup set in the recovery set according to the writing order.

[0104] Optionally, the tape identification module 620 is specifically used for:

[0105] Based on the backup set, a query is performed from the pre-built association between backup sets and tape identifiers to determine the tape identifier associated with the backup set.

[0106] Optionally, the device further includes:

[0107] The concurrency acquisition module is used to acquire the concurrency of the backup set; wherein, the concurrency is the number of tasks that are allowed to transmit data simultaneously during the backup process of the target data;

[0108] The tape writing module is used to allocate a tape corresponding to the number of concurrent users based on the number of concurrent users, and write the backup set to the tape corresponding to the number of concurrent users.

[0109] Optional, a tape writing module, specifically used for:

[0110] Determine the tape identifier corresponding to the tape to which the backup set is written, and establish the association between the backup set and the tape identifier.

[0111] The backup set recovery device provided in this embodiment of the invention can execute a backup set recovery method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0112] Example 5

[0113] Figure 7 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0114] like Figure 7As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0115] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0116] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as a backup set recovery method.

[0117] In some embodiments, a backup set recovery method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the backup set recovery method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform a backup set recovery method by any other suitable means (e.g., by means of firmware).

[0118] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.

[0119] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0120] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0121] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0122] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0123] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0124] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0125] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A backup set recovery method characterized by, The method comprises: acquiring a backup set; wherein the backup set is a data set generated by pre-backup of target data; determining a tape identifier associated with the backup set; wherein the tape identifier is a unique identifier of a tape; and the backup set is stored on the tape; generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and performing a data recovery operation on the backup set in the recovery set.

2. The method of claim 1, wherein, The method of generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and performing a data recovery operation on the backup set in the recovery set, comprises: generating a recovery set based on the backup set stored on the tape corresponding to the tape identifier; determining an execution order of the recovery set; performing a data recovery operation on the backup set in the recovery set in turn according to the execution order.

3. The method of claim 2, wherein, The method of determining an execution order of the recovery set, comprises: acquiring an arrangement order of the tape identifier; determining the execution order of the recovery set according to the arrangement order; wherein the execution order is the same as the arrangement order.

4. The method of claim 2, wherein, The method of performing a data recovery operation on the backup set in the recovery set in turn according to the execution order, comprises: for each recovery set, acquiring a corresponding write order in the process of writing the backup set in the recovery set to the tape; performing a data recovery operation on the backup set in the recovery set according to the write order.

5. The method of claim 1, wherein, The method of determining a tape identifier associated with the backup set, comprises: querying the tape identifier associated with the backup set from a pre-constructed association between backup sets and tape identifiers.

6. The method of claim 1, wherein, Before acquiring the backup set, the method further comprises: acquiring a number of concurrent backups of the backup set; wherein the number of concurrent backups is the number of tasks allowed to simultaneously perform data transmission in the backup process of the target data; allocating a tape corresponding to the number of concurrent backups, and writing the backup set into the tape corresponding to the number of concurrent backups according to the number of concurrent backups.

7. The method of claim 6, wherein, The method of allocating a tape corresponding to the number of concurrent backups, and writing the backup set into the tape corresponding to the number of concurrent backups according to the number of concurrent backups, comprises: determining a tape identifier corresponding to the tape to which the backup set is written, and constructing an association between the backup set and the tape identifier.

8. A backup set recovery apparatus characterized by comprising: The method comprises: a backup set acquisition module, configured to acquire a backup set; wherein the backup set is a data set generated by pre-backup of target data; a tape identifier determination module, configured to determine a tape identifier associated with the backup set; wherein the tape identifier is a unique identifier of a tape; and the backup set is stored on the tape; a backup set recovery module, configured to generate a recovery set based on the backup set stored on the tape corresponding to the tape identifier, and perform a data recovery operation on the backup set in the recovery set.

9. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the backup set recovery method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing the processor to implement the backup set recovery method of any one of claims 1-7 when executed.