System and method for accelerating application service recovery
Solve the problem of data loss caused by computing device permanent storage failure by identifying failures, instantiating application instances, and using virtual disk-level backups to achieve fast recovery and high-reliability applications through backup storage and remote agent systems. Serve.
Patent Information
- Application Number
- CN202010319669.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-23
- Filing Date
- 2020-04-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-21
AI Technical Summary
Persistent memory failures of computing devices may result in data loss, making it difficult to quickly restore application services with existing technologies, especially in distributed systems.
Use backup storage and remote agent systems to restore application services by identifying failures, instantiating application instances, extracting virtual disk-level backups, converting application sessions, and using backup data.
It achieves rapid recovery of application services after application service failures, improves the data storage reliability and recovery speed of distributed systems, and reduces storage resource usage.
Smart Images

Figure CN111831478B_ABST
Abstract
Description
Background Art
[0001] A computing device may generate data during its operation. For example, an application hosted by a computing device may generate data used by the application to perform its functions. Such data may be stored in the computing device's persistent storage. Failure of the persistent storage may result in loss of data. Summary of the invention
[0002] In one aspect, a system for providing application services to a client according to one or more embodiments of the present invention includes a backup storage and a remote agent. The backup storage includes a permanent storage for storing a backup processed by deduplication. The remote agent identifies a failure of the application service that causes the application service to be suspended; in response to identifying the failure: instantiating an instance of an application for providing the application service in a production host; identifying at least one virtual disk-level backup, the at least one virtual disk-level backup being associated with the application and being part of the backup processed by deduplication; extracting the at least one virtual disk-level backup from the backup processed by deduplication to obtain a copy of the at least one virtual disk-level backup; identifying application data associated with the application within the copy of the at least one virtual disk-level backup; converting an application service session of one of the clients to the instance of the application; and restoring the application service for the client using the instance of the application and the application data.
[0003] In one aspect, a method for providing an application service to a client according to one or more embodiments of the present invention includes: identifying a failure of the application service that causes the application service to be suspended; in response to identifying the failure: instantiating an instance of an application for providing the application service in a production host; identifying at least one virtual disk-level backup, the at least one virtual disk-level backup being associated with the application and being part of a deduplicated backup; extracting the at least one virtual disk-level backup from the deduplicated backup to obtain a copy of the at least one virtual disk-level backup; identifying application data associated with the application within the copy of the at least one virtual disk-level backup; converting an application service session of one of the clients to the instance of the application; and restoring the application service for the client using the instance of the application and the application data.
[0004] In one aspect, a non-transitory computer-readable medium according to one or more embodiments of the present invention includes a computer-readable program code that, when executed by a computer processor, enables the computer processor to perform a method for providing an application service to a client. The method includes: identifying a failure of the application service that caused the application service to be suspended; in response to identifying the failure: instantiating an instance of an application for providing the application service in a production host; identifying at least one virtual disk-level backup associated with the application and part of a deduplicated backup; extracting the at least one virtual disk-level backup from the deduplicated backup to obtain a copy of the at least one virtual disk-level backup; identifying application data associated with the application within the copy of the at least one virtual disk-level backup; converting an application service session of one of the clients to the instance of the application; and restoring the application service for the client using the instance of the application and the application data. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Certain embodiments of the present invention will be described with reference to the accompanying drawings. However, the accompanying drawings only depict certain aspects or embodiments of the present invention by way of example and are not intended to limit the scope of the claims.
[0006] Figure 1 A diagram of a system in accordance with one or more embodiments of the invention is shown.
[0007] Figure 2.1 A diagram of an example production host is shown in accordance with one or more embodiments of the invention.
[0008] Figure 2.2 A diagram of an example virtual machine is shown in accordance with one or more embodiments of the invention.
[0009] Figure 2.3 The invention shows a method for Figure 1 A relationship diagram of the relationships associated with a system.
[0010] Figure 3 A diagram of an example backup storage is shown in accordance with one or more embodiments of the invention.
[0011] Figure 4 A flow chart illustrating a method of providing access to application data according to one or more embodiments of the present invention.
[0012] Figure 5A flowchart of a method for restoring application service according to one or more embodiments of the present invention is shown.
[0013] Figure 6 A flowchart of a method for generating a backup according to one or more embodiments of the present invention is shown.
[0014] Figure 7.1 to Figure 7.6 A non-limiting example of a system according to an embodiment of the present invention is shown.
[0015] Figure 8 A diagram of a computing device in accordance with one or more embodiments of the invention is shown. DETAILED DESCRIPTION
[0016] Specific embodiments will now be described with reference to the accompanying drawings. In the following description, many details are set forth as examples of the present invention. It will be appreciated by those skilled in the art that one or more embodiments of the present invention may be practiced without these specific details, and that many variations or modifications may be made without departing from the scope of the present invention. In order to avoid making the description unclear, certain details known to those of ordinary skill in the art have been omitted.
[0017] In the following description of the accompanying drawings, any component described with respect to the accompanying drawings in various embodiments of the present invention may be equivalent to one or more components described with respect to any other accompanying drawings of the same name. For the sake of brevity, the description of these components will not be repeated for each accompanying drawing. Therefore, each and each embodiment of the components of each figure is incorporated herein by reference and is assumed to be optionally present in each other figure with one or more components with the same name. In addition, according to various embodiments of the present invention, any description of the components of the accompanying drawings should be interpreted as an optional embodiment, which can be combined with or replace the embodiment described with respect to the corresponding components with the same name in any other accompanying drawings to achieve.
[0018] In general, embodiments of the present invention relate to systems, devices, and methods for providing data protection services in a distributed system. Specifically, embodiments of the present invention may provide a system for providing data protection by storing multiple copies of data throughout the system. By doing so, failure of any component of the system will not result in data loss.
[0019] In addition, embodiments of the present invention can use copies of data that are replicated throughout the system for data protection purposes to provide rapid recovery of application services. In one or more embodiments of the present invention, the copies of data stored throughout the system, i.e., the backup data, are stored in a low-memory footprint format. Storing data in a low-memory footprint format can limit the amount of storage resources required to store the data, while also limiting the indexing and / or searchability of the backup data.
[0020] In one or more embodiments of the invention, the system includes limited indexing functionality to index disk-level backup data. Thus, while the backup data may not be granularly indexed, the backup data may include some level of indexing.
[0021] Other embodiments of the present invention may enable selectively obtaining application data of the backup data using a limited index of the stored backup data. The application data may be used by the application to provide application services to the client. The application data may be selectively obtained to facilitate rapid recovery of the application services. By doing so, embodiments of the present invention may recover application services in a faster manner than current methods that rely on recovering the application in its entirety.
[0022] Figure 1 An example system according to one or more embodiments of the present invention is shown. The system may include a client (140) that obtains services from a virtual machine and / or an application hosted by a production host (130). For example, the production host (130) may host a virtual machine that hosts an application. The client (140) may utilize application services provided by the application. The application may be, for example, a database application, an electronic communication application, a file storage application, and / or any other type of application that can provide services to the client (140). By utilizing such services, data related to the client (140) may be stored in the production host (130).
[0023] To increase the likelihood that data stored in the production hosts (130) will be available for future use, backups of the production hosts (130) may be generated and stored in the backup storage (120). The backup of one of the production hosts (130) may include data that can be used to restore all or part of the production host or all or part of an entity hosted by the production host to a previous state. Thus, if data hosted by one of the production hosts (130) is lost, access to the data may be restored by restoring all or part of the production host using the information stored in the backup storage (120).
[0024] In addition to recovery purposes, the data stored in the backup storage (120) can be used to quickly restore the functionality of the application. In one or more embodiments of the present invention, the backup storage (120) can locally load a portion of the data (e.g., a database) and provide remote access to the locally loaded portion of the data to the application. Once access is provided, the application can use the remote portion of the data instead of the locally available portion of the data to provide application services. By doing so, the application service can be quickly restored after an application service failure without immediately restoring the local copy of the application data used by the application to provide the application service.
[0025] The system may also include a remote agent (110) that provides data protection services to the production host (130). The data protection services may include orchestrating the generation and storage of backups in backup storage, coordinating recovery using data stored in backup storage (120), and / or providing rapid remote access to data stored in backup storage (120) to restore production of application services.
[0026] In order to maximize the amount of backup data that can be stored in the backup storage (120), the backups may be stored in a format that is indexed at the disk level, and / or the data stored in the backup storage (120) may be deduplicated relative to other data stored in the backup storage (120). By doing so, the footprint of the data stored in the backup storage (120) may be reduced, thereby allowing a greater amount of backup data to be stored using the same amount of storage resources. However, the data stored in all or a portion of the backup storage (120) may not be locally searchable in a computationally efficient manner due to a lack of metadata that may be used for indexing purposes, which would otherwise provide for computationally efficient searching of the data.
[0027] In order to provide fast remote access to portions of the data in the backup storage (120), the remote agent (110) can orchestrate the storage of data in the production host (130) and the backup storage (120), so that data related to the application stored in the backup storage (120) can be identified, can be mounted for remote access, and can be used to restore the application service to the client (140). Such data may include information about the data stored in the backup storage (120), the association between the application and the access information of the data stored in the backup storage (120).
[0028] Figure 1 The components of the illustrated systems may be operatively connected to each other and / or to other entities (not shown) via any combination of wired and / or wireless networks. Figure 1Each component of the system is shown.
[0029] The client (140) may be a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, or a cloud resource. The computing device may include one or more processors, memory (e.g., random access memory), and permanent storage (e.g., a disk drive, a solid-state drive, etc.). The permanent storage may store computer instructions, such as computer code, which, when executed by the processor of the computing device, causes the computing device to perform the functions described in the present application and / or in the Figures 4 to 6 All or part of the method shown in . Without departing from the present invention, the client (140) can be other types of computing devices. For additional details about the computing device, please refer to Figure 8 .
[0030] Without departing from the present invention, the client (140) may be a logical device. For example, the client (140) may be a virtual machine that utilizes the computing resources of any number of physical computing devices to provide the functionality of the client (140). Without departing from the present invention, the client (140) may be other types of logical devices.
[0031] In one or more embodiments of the present invention, the client (140) utilizes application services provided by the production host (130). For example, the client (140) may utilize database services, electronic communication services, file storage services, or any other type of computer-implemented services provided by the application hosted by the production host (130). By utilizing the above services, data associated with the client (140) may be stored as part of the application data of the application hosted by the production host (130).
[0032] For example, consider a scenario in which a client utilizes a file storage service provided by an application hosted by a production host (130) by uploading an image to the application hosted by the production host (130). In response to receiving the uploaded image, the application may store a copy of the image locally in the production host (130). At a future point in time, the client or another entity that uploaded the image may wish to retrieve a copy of the image from the production host (130), and thereby present the data stored in the production host (130) (i.e., a copy of the image category of the production host (130)) as being relevant to the client (140). One or more embodiments of the present invention may improve the likelihood that data associated with the client (140) and stored in the production host (130) may be retrievable from the production host (130) at a future point in time. Embodiments of the present invention may provide such functionality by generating and storing a backup of the production host or a portion of the production host in a backup storage (120).
[0033] In one or more embodiments of the invention, the production host (130) is a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, a distributed computing system, or a cloud resource. The computing device may include one or more processors, memory (e.g., random access memory), and permanent storage (e.g., a disk drive, a solid-state drive, etc.). The permanent storage may store computer instructions, such as computer code, which, when executed by a processor of the computing device, causes the computing device to perform the functions described in the present application and / or in a manner similar to that described in the present application. Figures 4 to 6 The production host (130) may be other types of computing devices without departing from the present invention. For additional details on the computing device, please refer to Figure 8 .
[0034] In one or more embodiments of the present invention, the production host (130) is a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logical device that utilizes computing resources of one or more separate and / or different physical computing devices. For example, in one or more embodiments of the present invention, the production host (130) can be a distributed device that includes components distributed across any number of separate and / or different computing devices. In such a scenario, the functionality of the production host (130) can be performed by multiple different computing devices without departing from the present invention.
[0035] Without departing from the present invention, a system according to one or more embodiments of the present invention may include any number of production hosts (e.g., 130.2, 130.4). For example, a system may include a single production host (e.g., 130.2) or multiple production hosts (e.g., 130.2, 130.4).
[0036] In one or more embodiments of the present invention, the production host (130) provides services to the client (140). The service can be any type of computer-implemented service, such as a database service, an electronic communication service, a data storage service, and / or an instant messaging service. When providing such services to the client (140), data associated with the client (140) can be stored in the permanent storage of the production host (130).
[0037] In one or more embodiments of the present invention, the production host (130) performs backup services, such as generating backups and storing the backups in the backup storage (120). By storing the backups in the backup storage (120), copies of the data stored in the permanent storage of the production host (130) can be redundantly stored in the backup storage (120). By redundantly storing copies of the data in both the production host (130) and the backup storage (120), it may be more likely that the stored data can be retrieved at a future point in time. For example, if the production host (e.g., 130.2) suffers a catastrophic failure or other type of data loss / corruption event, the data on the permanent storage of the production host may be lost. However, because a copy of the data can be stored in the backup storage (120), the data can be retrieved for use after the catastrophic failure. Therefore, embodiments of the present invention can improve the reliability of data storage in a distributed system.
[0038] The backup service may also include generating an application data map (120) that associates the application with the backup stored in the backup storage. The remote agent (110) and / or the backup storage (120) may utilize the application data map to selectively provide remote access to data. For example, the application data map may be used to identify portions of the data included in the backup storage (120) that are associated with each of the applications without crawling or otherwise indexing all of the data stored in the backup storage (120). By doing so, rapid remote access to data that may be used by the application to provide application services may be identified, may be in a state that is available to the application, and may be placed in a location that is easily accessible to the application. For additional details regarding the production host (130), refer to Figure 2.1 .
[0039] In one or more embodiments of the invention, the backup storage (120) is a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, a distributed computing system, or a cloud resource. The computing device may include one or more processors, memory (e.g., random access memory), and permanent storage (e.g., a disk drive, a solid-state drive, etc.). The permanent storage may store computer instructions, such as computer code, which (when executed by a processor of the computing device) causes the computing device to provide the functionality of the backup storage (120) described herein and Figures 4 to 6 All or part of the method shown in . Without departing from the present invention, the backup storage (120) can be other types of computing devices. For additional details about the computing device, please refer to Figure 8 .
[0040] In one or more embodiments of the present invention, the backup storage (120) is a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logic device that utilizes computing resources of one or more separate and / or different computing devices. For example, in one or more embodiments of the present invention, the backup storage (120) is a distributed device that includes components distributed across any number of separate and / or different computing devices. In such a scenario, the functionality of the backup storage (120) may be performed by multiple different computing devices without departing from the present invention.
[0041] In one or more embodiments of the present invention, the backup storage (120) provides data storage services to the production host (130). The data storage service may include storing data provided by the production host (130) and providing previously stored data to the production host (130). Such provided data may be used for recovery (and / or other) purposes. Without departing from the present invention, the system may include any number of backup storages (e.g., 120.2, 120.4). For example, a system according to an embodiment of the present invention may include only a single backup storage (e.g., 120.2) or may include multiple backup storages (e.g., 120.2, 120.4).
[0042] In one or more embodiments of the present invention, the data stored by the backup storage (120) includes a backup of a virtual machine. For example, a production host (130) may host a virtual machine that hosts a database application. In order to generate a backup of the database, a backup of the virtual machine that hosts the database may be generated, and the backup may be sent to the backup storage (120) for storage. At a future point in time, it may be desirable to restore the state of a database managed by the database application to a previous state. To this end, a previously stored backup of the virtual machine stored in the backup storage (120) may be retrieved. The retrieved backup may be used to restore application data hosted by the virtual machine that hosts the database to a state associated with the backup, i.e., a desired previous state.
[0043] In addition to providing data storage services, the backup storage (120) may also provide fast remote access to portions of previously stored data in the backup storage (120). To this end, the backup storage (120) may maintain a limited index of the data stored in the backup storage (120). The limited index may include a list of each of the virtual disk-level backups stored in the backup storage (120) and access information for each of the virtual disk-level backups. Such information may be used to retrieve the virtual disk-level backups while limiting the storage footprint of metadata (i.e., the limited index) about the data stored in the backup storage (120).
[0044] Once the virtual disk level backup is taken, the virtual disk level backup can be mounted for remote access by the application. The application can use the remote virtual disk level backup to provide application services. By doing so, access to application data can be quickly provided to applications that are in a state that prevents them from providing application services due to lack of access to such application data. The above process can be much faster than restoring the application data of the application locally.
[0045] Although described above as storing backups of virtual machines, the backup storage (120) may store other types of data from the production host (130) or other entities without departing from the present invention. For example, the backup storage (120) may store archives or other data structures from the client (140) and / or other entities. For additional details on the backup storage (120), please refer to Figure 3 .
[0046] In one or more embodiments of the invention, the remote agent (110) is a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, a distributed computing system, or a cloud resource. The computing device may include one or more processors, memory (e.g., random access memory), and persistent storage (e.g., a disk drive, a solid-state drive, etc.). The persistent storage may store computer instructions, such as computer code, which (when executed by a processor of the computing device) causes the computing device to provide the functionality of the remote agent (110) described herein as well as Figures 4 to 6 All or part of the method shown in . Without departing from the present invention, the remote agent (110) can be other types of computing devices. For additional details about the computing device, please refer to Figure 8 .
[0047] In one or more embodiments of the present invention, the remote agent (110) is a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logical device that utilizes computing resources of one or more separate and / or different computing devices. For example, in one or more embodiments of the present invention, the remote agent (110) is a distributed device that includes components distributed across any number of separate and / or different computing devices. In such a scenario, the functionality of the remote agent (110) may be performed by multiple different computing devices without departing from the present invention.
[0048] In one or more embodiments of the present invention, the backup storage (120) provides the functionality of the remote agent. For example, the backup storage (120) may host an application that provides all or part of the functionality of the remote agent (110).
[0049] In one or more embodiments of the invention, the remote agent (110) orchestrates the provision of backup services to the production host (130). For example, the remote agent (110) may initiate a process of generating a backup of the production host (130) and storing the generated backup in the backup storage (120). The remote agent (110) may initiate such a process based on a backup policy that specifies when to generate a backup, where to store the backup, and / or other characteristics of the backup generation process. Such a policy may specify the behavior of the system at any level of granularity for the purpose of backup generation.
[0050] Additionally, the remote agent (110) may orchestrate a recovery of the production host (130) and / or entities hosted by the production host using the backup stored in the backup storage (120). For example, the remote agent (110) may initiate a copy of the backup from the backup storage to the production host (130), and may initiate a recovery using the copied backup. Figure 1 The system may include any number of remote agents (eg, 110.2, 110.4).
[0051] In addition, the remote agent (110) can orchestrate the process of restoring application services using data stored in the backup storage (120). For example, the remote agent (110) can send instructions to the backup storage (120) to locally mount the virtual machine-level backup for remote access by the production host (130). Once remote access is provided, the remote agent (110) can instruct the application hosted by the production host (130) to use the application data of the virtual machine-level backup using the remotely accessed data hosted by the backup storage (120) to provide application services. By doing so, if any of the applications cannot continue to provide application services, Figure 1 The system can switch between applications to provide backup services to the client (140).
[0052] In some embodiments of the present invention, the remote agent (110) can orchestrate the instantiation of a new instance of an application in a production host (130). Once instantiated, the remote agent (110) can instruct the instantiated instance of the application to use the application data remotely hosted by the backup storage (120). By doing so, a new instance of an application capable of providing the application services expected by the client (140) can be generated more quickly than performing a restore to generate such an application.
[0053] Although for the sake of brevity, Figure 1 The system described and shown as including a limited number of components, but without departing from the present invention, the system according to the embodiment of the present invention may include more Figure 1 More, fewer and / or different components may be shown.
[0054] As described above, a production host may host virtual machines, applications, or other entities that provide services to clients. Figure 2.1 A diagram of an example production host (200) according to one or more embodiments of the present invention is shown. The example production host (200) can be similar to any production host (130, Figure 1 As described above, the example production host (200) can provide: (i) application services to clients, (ii) backup services to entities that provide application services to clients, and (iii) recovery services.
[0055] To provide the above-described functionality of the example production host (200), the example production host (200) may include a virtual machine (210), a hypervisor (220), and a production agent (230). Each component of the example production host (200) is discussed below.
[0056] The virtual machines (210) may be application programs. For example, the virtual machines (210) may be application programs executed using physical computing resources and / or other entities of the example production host (200). In other words, each of the virtual machines (210) may be implemented as computer instructions stored on a persistent memory that, when executed by a processor and / or other entity of the example production host (200), produces the functionality of the corresponding virtual machine. The example production host (200) may host any number of virtual machines (e.g., 210.2, 210.4) without departing from the present invention.
[0057] Each of the virtual machines (210) can host any number of applications. The applications can provide application services to clients or other entities. For example, the applications can be database applications, electronic communication applications, file sharing applications, and / or other types of applications. Each of the virtual machines (210) can host any number of applications without departing from the present invention.
[0058] Each of the applications may perform similar or different functions. For example, the first application may be a database application, and the second application may be an electronic communication application. In another example, the first application may be a first instance of a database application, and the second application may be a second instance of a database application.
[0059] In one or more embodiments of the present invention, all or a portion of an application program provides application services to a client. The services provided may correspond to the application type of each of the application programs. When providing application services to a client, data associated with the client may be received and / or generated by the application program. The application program may store such associated data as part of the application data associated with the corresponding application program in a persistent storage of an example production host (200) and / or other entity.
[0060] In some embodiments of the invention, some or all of the application data may be stored remotely from the example production host (200). For example, the application data may be stored in a second production host that does not host the application, in a backup storage, or in another entity. The application data may be stored in other locations without departing from the invention.
[0061] Although the application is described above as being hosted by a virtual machine (210), the application program may not be hosted by a virtual machine without departing from the present invention. For example, the application program may be executed locally on the example production host (200) rather than in a virtualized entity (e.g., one of the virtual machines (210)).
[0062] Each of the virtual machines (210.2, 204.4) may also generate an application data map. The application data map may include information that enables identification of a portion of data stored by the backup storage that corresponds to previously stored application data. The information included in the application data map may be used to selectively restore application data associated with an application while minimizing the amount of restored data that is not useful for restoring a particular application. Additionally, the information included in the application data map may be used to selectively gain access to application data stored in the backup storage. By doing so, an application hosted by a production host may remotely use the application data hosted by the backup storage to provide application services. For additional details on the virtual machines (210), see Figure 2.2 .
[0063] The hypervisor (220) can manage the execution of the virtual machines (210). The hypervisor (220) can instantiate and / or terminate any of the virtual machines (210). The hypervisor (220) can also allocate computing resources of the example production host (200) to each of the virtual machines (e.g., 210.2, 210.4).
[0064] For example, the hypervisor (220) may allocate a portion of the persistent memory of the example production host (200). Any amount of storage resources of the persistent memory may be allocated between the virtual machines (eg, 210.2, 210.4) in any manner.
[0065] Although discussed with respect to storage resources, the hypervisor (220) may allocate other types of computing resources to the virtual machines (210) and / or other entities hosted by the example production host (200) without departing from the present invention. For example, the hypervisor (220) may allocate processor cycles, memory capacity, memory bandwidth, and / or network communication bandwidth among the virtual machines (210) and / or other entities hosted by the example production host (200).
[0066] In one or more embodiments of the present invention, the hypervisor (220) is a hardware device including circuitry. The hypervisor (220) may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The hypervisor (220) may be other types of hardware devices without departing from the present invention.
[0067] In one or more embodiments of the invention, the hypervisor (220) is implemented as computing code stored on a persistent memory that, when executed by a processor, performs the functions of the hypervisor (220). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0068] The production agent (230) can locally manage the provision of backup services to the virtual machine (210) and / or entities hosted by the virtual machine (210). For example, the production agent (230) can orchestrate the generation of backups and the storage of the generated backups in the backup storage (120, Figure 1 ) in storage. In order to orchestrate the generation of backups, the production agent (230) can generate virtual machine-level backups. A virtual machine-level backup can be a backup that represents the state of a virtual machine at a point in time (or the difference from one state to another state). The virtual machine-level backup can be discretized at the virtual disk level, that is, different parts of the generated backup can correspond to different virtual disks used by the virtual machine for data storage purposes. Therefore, multiple virtual disk-level backups can be part of a virtual machine backup. As will be discussed in more detail below, the application data mapping can include information that associates virtual disk-level backups with different applications. By doing so, information related to selectively identifying backups stored in backup storage can be created and saved for later use. Such information can be used to selectively obtain application data from backups stored in backup storage.
[0069] In one or more embodiments of the invention, the production agent (230) manages the provision of backup services for the virtual machines (210) based on instructions received from one or more remote agents. These instructions can cause the production agent (230) to take actions to provide backup services. In other words, the production agent (230) can orchestrate data protection services (including the generation of backups, the performance of restores across systems) and / or provide remote access to application data extracted from backups stored in backup storage.
[0070] In one or more embodiments of the invention, the production agent (230) includes functionality to report its activities to a remote agent. For example, the production agent (230) may monitor generated backups and send notifications of generated backups to the remote agent. By doing so, the remote agent may be notified of backup generation for entities hosted by the example production host (200).
[0071] The production agent (230) may also provide recovery services. The recovery service may enable an entity that is now inaccessible, for example due to a failure of a host entity (such as a production host), to be instantiated at another location and in a predetermined state. To provide the recovery service, the production agent (230) may obtain any number of backups from a backup storage and use the backups to restore the entity. For example, the production agent (230) may obtain a virtual machine-level backup and use the obtained backup to instantiate a copy of the virtual machine. By doing so, the virtual machine may be restored in a state that hosts an application in a predetermined state. Once in the predetermined state, the application may provide the desired application services and / or enable access to the application's application data. Different combinations of previously generated backups and / or portions of backups may be used to restore the entity to different desired states.
[0072] In order to provide the above functions of the production agent (230), the production agent (230) may execute Figure 4 and Figure 6 All or part of the method shown in .
[0073] In one or more embodiments of the present invention, the production agent (230) is a hardware device including circuitry. The production agent (230) may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The production agent (230) may be other types of hardware devices without departing from the present invention.
[0074] In one or more embodiments of the invention, the production agent (230) is implemented as a computing code stored on a persistent memory that, when executed by a processor, performs the functions of the production agent (230). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0075] Although for the sake of brevity, Figure 2.1 The example production host (200) is described and shown as including a limited number of components, but without departing from the present invention, a production host according to an embodiment of the present invention may include more than Figure 2.1 More, fewer and / or different components may be shown.
[0076] As described above, virtual machines hosted by production hosts can provide services to clients. Figure 2.2 A diagram of an example virtual machine (250) is shown in accordance with one or more embodiments of the invention.
[0077] The example virtual machine (250) may include, for example, a persistent memory (260) of logically stored resources that is logically divided into any number of virtual disks (262). A virtual disk may be a logical allocation of storage resources allocated to the example virtual machine (250).
[0078] The example virtual machine (250) may host any number and type of applications (252). The applications (252) may provide services to clients and / or other entities. The applications (252) may generate application data stored in virtual disks (262.2, 262.4) stored in persistent storage (260). For example, virtual disk A (262.2) may store disk A application data (264.2) and virtual disk N (262.4) may store disk N application data (264.4). The applications (252) may store any amount of application data in any virtual disk (262).
[0079] In some embodiments of the present invention, each of the applications (252) can store application data only in one of the virtual disks (262.2, 262.4). By doing so, the application data of each of the applications (252) can be located in one of the virtual disks (262).
[0080] The example virtual machine (250) may also host a virtual machine integrated backup agent (254). The virtual machine integrated backup agent (254) may provide data protection services including: (i) generating an application data map (266), (ii) restoring an application (252) using a previously generated backup, and / or (iii) directing an application to use remote application data hosted by a backup storage. The application data map (266) may be a data structure including information that may be used to identify a backup of a virtual disk (262, 264) that stores application data associated with each of the applications (252). The application data map (266) may also include information that may be used to identify relevant application data within a backup stored in the backup storage. Thus, the application data map (266) may be used by the backup storage to selectively obtain data from a previously stored backup that includes relevant application data. Thus, once remote access to application data is provided by the backup storage, the application may be directed to utilize such data to provide application services.
[0081] To generate the application data map (266), the VM-integrated backup agent (254) may (i) identify each virtual disk location in the application (252) that is storing data,
[0082] (ii) when a backup is generated for the example virtual machine (250), an association is created between each virtual drive level backup that stores application data to the backup of the corresponding application, and (iii) an association is created between each of the virtual drive level backups of the backup and a universally unique identifier (UUID) that can be used to identify access information for the respective virtual drive level backup in the backup storage. For additional information about these associations, see Figure 2.3 Such associations may be used to generate an application data map (266) and an associated backup storage directory (268), both of which are discussed in greater detail below.
[0083] In one or more embodiments of the invention, persistent storage (260) is logical storage (e.g., virtualized storage) that utilizes any number of hardware storage resources of a production host (and / or other entity) that hosts the example virtual machine (250). For example, persistent storage (260) may utilize portions of any combination of hard disk drives, solid-state disk drives, tape drives, and / or any other physical storage media of the production host and / or other entity to provide storage resources. Such storage resources may be used to host any number of virtual disks (262), application data (264.2, 264.4), and / or other data structures. Each of these data structures is discussed below.
[0084] In one or more embodiments of the invention, the application data map (266) is a data structure that stores information about the association between the application and the virtual machine level backup. The association (262) may be determined based on the storage location of the application data in the virtual disk.
[0085] For example, when a backup is generated, the backup may include any number of virtual disk-level backups corresponding to each of the virtual disks (262). Thus, when a virtual disk-level backup corresponding to a virtual disk is generated, the virtual disk-level backup may be associated with any application that stores application data in the associated virtual disk.
[0086] In one or more embodiments of the invention, the associated backup storage directory (268) is a data structure that stores information about the association between virtual disk-level backups stored in the backup storage and UUIDs.
[0087] For example, when a virtual disk-level backup is stored in a backup storage, the stored virtual disk-level backup may be assigned a UUID by the backup storage. The associated backup storage directory (268) may specify these associations. Figure 3 As discussed in more detail, the UUID assigned to each of the virtual disk-level copies may be used to obtain access information for the virtual disk-level copies stored in the backup storage.
[0088] Thus, using the application data map (266), the associated backup storage directory (268), and the access information associated with each UUID assigned by the backup storage, access information associated with each of the applications (252) can be obtained. The access information associated with each of the applications (252) can be used to extract all virtual machine-level backups that include application data associated with each of the applications (252). By doing so, the application data can be extracted from the data stored in the backup storage.
[0089] To further clarify the relationship between the application (252) and the data stored in the backup storage, Figure 2.3 A relationship diagram according to one or more embodiments of the present invention is shown in FIG.
[0090] The relationship diagram shows Figure 1 The relationships between different parts of the system's data.
[0091] As can be seen from the relationship diagram, a virtual machine backup (280) can be associated with any number of virtual disk-level backups (282.2, 282.4). In other words, each virtual machine backup can include any number of virtual disk-level backups.
[0092] Additionally, application data (284) may be associated with any number of virtual disk-level backups (282.2, 282.4). In other words, application data (284) generated by an application may be stored on any number of virtual disks. Thus, whenever a backup of a virtual machine is generated, any number of virtual disk-level backups associated with the virtual disk storing the application data (284) may be generated. However, in many scenarios, there may be a one-to-one association between application data (284) and the virtual disk-level backups associated with a particular virtual disk. For example, an application will frequently store application data on a single virtual disk.
[0093] In addition, each of the virtual disk level backups (e.g., 282.2, 282.4) may be associated with a corresponding backup directory identifier (286.2, 286.4). The backup directory identifier may be a UUID assigned by the backup storage. Each backup directory identifier (e.g., 286.2, 286.4) may be associated with corresponding access information. The access information may be used to retrieve the corresponding virtual disk level backup from the backup storage.
[0094] As mentioned above, the backup may be sent to backup storage for data integrity purposes. Figure 3 A diagram of an example backup memory (300) according to one or more embodiments of the present invention is shown. The example backup memory (300) can be similar to the backup memory (120, Figure 1 ). As described above, the example backup storage (300) can store data, such as backups that can be used for recovery purposes. Additionally, the example backup storage (300) can utilize the stored backups to obtain application data. The application data can be used to enable the application to provide application services without performing a recovery of the application and / or the virtual machine hosting the application.
[0095] To provide the above-described functionality of the example backup storage (300), the example backup storage (300) may include a backup manager (310) and a persistent storage (320). Each component of the example backup storage (300) is discussed below.
[0096] In one or more embodiments of the invention, the persistent storage (320) is a data storage device. For example, the persistent storage (320) can be any combination of a hard disk drive, a solid state drive, a tape drive, and / or any other physical storage medium for storing data.
[0097] The persistent storage (320) may include a mass storage (322) and a high performance storage (324). The mass storage (322) may be a portion of the persistent storage (320) that provides storage resources economically while providing reasonable storage service performance. For example, the mass storage (322) may be a storage resource provided by a hard disk drive or a tape drive. In contrast, the high performance storage (324) may be a portion of the persistent storage (320) that provides high performance storage service performance at a higher cost than the mass storage (322). For example, the high performance storage (324) may be a storage resource provided by a solid state drive (e.g., flash memory).
[0098] In one or more embodiments of the invention, the backup manager (310) provides data storage services. For example, the backup manager (310) can orchestrate the storage of backups from a production host in the persistent storage (320) so that the backups are stored. As described above, each backup can include any number of virtual disk-level backups that in turn store different portions of application data and / or other types of data.
[0099] When providing data storage services, the backup manager (310) may de-duplicate the backup against data already stored. To de-duplicate the backup for storage, the backup manager (310) may divide the backup into any number of portions (e.g., segments), compare the portions to existing portions of data stored in the de-duplicated repository (322.2), and store only portions of the backup that do not duplicate existing portions already stored in the de-duplicated repository (322.2). Additionally, the example backup storage (300) may store instructions on how to combine different portions of data stored in the de-duplicated repository (322.2) to obtain a de-duplicated backup stored in the de-duplicated repository (322.2). By doing so, more backups may be stored in the example backup storage (300).
[0100] In addition, to further improve the efficiency of storing data, the backup manager (310) can store backups in a containerized format. For example, after deduplication processing, the containerized backup (322.4) can be stored in the deduplication-processed repository (322.2). The containerized format may not include metadata or other information about the contents of each container of the containerized format. In contrast, the containerized format can store volume data in discrete containers without including information about the structure of the data inside each container. By doing so, the containerized format can have a smaller storage footprint compared to other formats (e.g., file systems). Therefore, more backups can be stored as containerized backups (322.4) compared to storing backups in other formats that include metadata about the data. However, the information included in the containerized backup (322.4) may not be locally indexed and / or searchable.
[0101] To provide a level of indexability, the backup manager (310) may generate a backup catalog (322.6) that stores information that enables retrieval of virtual disk-level backups. In other words, file-level access may not be available, but a virtualized disk-level index may be provided. Thus, the backup catalog (322.6) may be used to obtain the portion of data stored in the deduplicated repository (322.2) associated with each virtual disk-level backup. By doing so, the total amount of metadata may be minimized while still enabling indexing of the virtual drive-level aggregate of data to be provided.
[0102] When a backup is obtained from a production host, a backup catalog (322.6) may be generated by the backup manager (310). Figure 2.2 As discussed, the data for each virtual machine may be logically divided into any number of virtual disks. Thus, when a backup of a virtual machine is obtained, appropriate location information may be added to the backup catalog (322.6) so that all data for any virtual disk-level backup may be selectively obtained from the deduplicated repository (322.2) in a computationally efficient manner, e.g., without the need to crawl the data of the deduplicated repository (322.2) to identify data associated with any particular virtual disk. When the virtual disk-level backup is stored in the backup storage, a UUID may be associated with the virtual disk-level backup in the backup catalog (322.6) and its corresponding access information.
[0103] The access information for obtaining each of the virtual disk level copies in the backup storage may be, for example, an offset, length, etc. of the deduplicated repository (322.2). The access information may be other types of information that enable extraction of the virtual disk level copies from the deduplicated repository (322.2) without departing from the invention.
[0104] In one or more embodiments of the present invention, the backup manager (310) provides application data access services for the application. The application data access services may include: (i) extracting one or more virtual disk-level backups associated with the application from the backup storage, (ii) locally mounting the virtual disk-level backups as virtual disks (e.g., 324.2, 324.4) in the persistent storage (320), and (iii) providing remote access to the virtual disks (e.g., 324.2, 324.2). When providing application data access services, the backup manager (310) may perform Figures 4 to 6 All or part of the method.
[0105] In one or more embodiments of the present invention, the backup manager (310) is a hardware device including circuitry. The backup manager (310) may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The backup manager (310) may be other types of hardware devices without departing from the present invention.
[0106] In one or more embodiments of the invention, the backup manager (310) is implemented as a computing code stored on a persistent memory that, when executed by a processor, performs the functionality of the backup manager (310). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0107] Although for the sake of brevity, Figure 3 The example backup memory (300) is described and shown as including a limited number of components, but without departing from the present invention, the backup memory according to embodiments of the present invention may include more than Figure 3 More, fewer and / or different components may be shown.
[0108] return Figure 1 , the backup storage can provide application data access services. Figure 4 This shows how such services can be provided by Figure 1 A method performed by a component of a system.
[0109] Figure 4A flow chart of a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 4 The methods shown are used to provide application data access services. Figure 4 The method shown can be performed by, for example, backing up the memory (e.g., Figure 1 Without departing from the present invention, Figure 1 Other components of the system shown may perform Figure 4 All or part of the method.
[0110] Although Figure 4 Depicted as a series of steps, however, any steps may be omitted, performed in a different order, additional steps may be included, and / or any or all steps may be performed in a parallel and / or partially overlapping manner without departing from the invention.
[0111] In step 400, a restore request for an application is obtained.
[0112] In one or more embodiments of the invention, a resume request for an application is obtained from a remote agent. The remote agent may have determined that the application service of the application is no longer available.
[0113] At step 402, at least one virtual disk-level copy associated with an application is identified.
[0114] In one or more embodiments of the invention, an application data map is used to identify at least one virtual disk-level backup associated with an application (266). Figure 2.2 As described, the application data map (266) may specify an association between an application and a virtual disk-level copy stored in the copy storage.
[0115] At step 404, at least one virtual disk-level backup is obtained from the storage device that has been deduplicated. For example, the backup directory (322.6, Figure 3 ) to obtain access information for each of the one or more virtual disk-level backups. The access information can be used to retrieve the access information from the deduplicated storage (e.g., the deduplicated storage repository (322.2, Figure 3 )) to extract at least one virtual disk-level backup.
[0116] In step 406, at least one virtual disk level copy is loaded in a high performance memory. The virtual disk level copy is loaded in the high performance memory, and a copy of the at least one virtual disk level copy may be stored in the high performance memory.
[0117] At step 408, remote access to the mounted at least one virtual disk-level backup is provided to a production host hosting an instance of the application.
[0118] For example, an existing virtual machine hosting an instance of an application may be provided with remote access to a copy of at least one virtual disk-level backup stored in high-performance storage. In another example, an instance of an application may be instantiated in an existing virtual machine. After instantiation, the virtual machine may be provided with remote access to at least one virtual disk-level backup stored in high-performance storage. In yet another example, a virtual machine hosting an instance of an application may be restored in a production host. The restored virtual machine may be provided with access to at least one virtual disk-level backup stored in high-performance storage. Without departing from the present invention, remote access to at least one mounted virtual disk-level backup may be provided to an instance of an application by other methods.
[0119] In one or more embodiments of the present invention, remote access may be provided by enabling a production host to remotely mount a storage resource of a backup storage including at least one virtual disk-level backup. For example, a file system of the production host may mount at least one virtual disk-level backup as a virtual disk. As described above, the virtual disk-level backup may reflect the data of the virtual disk. Thus, the backup may be remotely mounted as a virtual disk.
[0120] In step 410, an application service is provided using an instance of an application and at least one virtual disk-level copy.
[0121] In one or more embodiments of the present invention, application services are provided by enabling an application to use application data within at least one virtual disk-level backup as its application data. In other words, an instance of an application can be instructed to use application data associated with the application included in at least one virtual disk-level backup as its application data.
[0122] To provide application services, an instance of an application can service one or more requests from a client. Thus, by doing so, access to application data included in at least one virtual disk-level backup can be provided to the client via the instance of the application.
[0123] The method may end after step 410 .
[0124] By implementing Figure 4 In a method, a remote application can utilize the application data carried by the backup storage to provide application services. This can provide a faster route to provide application services to the client than performing a recovery of the application and storing such application data locally for the application.
[0125] As discussed above, a remote agent can manage application services provided to clients. Figure 5 A flow chart of a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 5 The methods shown can be used to manage application services. Figure 5 The method shown can be implemented by, for example, a remote agent (e.g. Figure 1 Without departing from the present invention, Figure 1 Other components of the system shown may perform Figure 5 All or part of the method.
[0126] Although Figure 5 Depicted as a series of steps, however, any steps may be omitted, performed in a different order, additional steps may be included, and / or any or all steps may be performed in a parallel and / or partially overlapping manner without departing from the invention.
[0127] In step 502, an application service failure is identified that causes an application service provided to a client to be suspended.
[0128] In one or more embodiments of the invention, an application service failure is caused by a failure of an instance of an application that provides the application service.
[0129] In step 504, an instance of the application is instantiated in the production host. The instance of the application may be a type of application that provides the suspended application service.
[0130] In step 506, at least one virtual disk-level copy associated with the application and stored in the deduplicated memory is identified.
[0131] In one or more embodiments of the invention, at least one virtual disk-level copy is identified based on an association between the at least one virtual disk-level copy and the application. For example, as discussed above, the association between the application and the virtual disk-level copy may be continuously generated as the virtual disk-level copy is generated. The association may be based on the presence of application data associated with the application present in the at least one virtual disk-level copy.
[0132] In step 508, at least one virtual disk-level backup is extracted from the storage device that has undergone data deduplication processing to obtain a copy of at least one virtual disk-level backup.
[0133] In one or more embodiments of the invention, at least one virtual disk level backup is extracted using access information associated with at least one virtual disk level backup. For example, a UUID associated with at least one virtual disk level backup may be used as a key to obtain the associated access information. The access information may include information that enables the at least one virtual disk level backup to be extracted from the deduplicated storage.
[0134] At least one copy of the virtual disk-level backup is exposed to a production host in step 510. The production host may host an instance of an application.
[0135] In one or more embodiments of the invention, a copy of at least one virtual disk-level copy is exposed to a production host by providing the production host with remote access to the copy of the at least one virtual disk-level copy.
[0136] In one or more embodiments of the invention, remote access to a copy of at least one virtual disk-level backup is obtained by mapping at least one virtual disk-level backup as a remote virtual disk of a virtual machine hosted by a production host. The virtual machine hosted by the production host may host an instance of an application.
[0137] Remote access to the copy of at least one virtual disk-level backup enables an instance of the application to remotely access the copy of at least one virtual disk-level backup. For example, a file system of the virtual machine may map the at least one virtual disk-level backup as a remote virtual disk.
[0138] In step 512, application data associated with the application is identified within the copy of the at least one virtual disk-level copy. For example, when the at least one virtual disk-level copy is generated, information about the location of the application data within the at least one virtual disk-level copy may be saved. Such information may be used to access the application data.
[0139] The application data may be accessed by other methods without departing from the invention. For example, the contents of the copy of the at least one virtual disk-level backup may be interrogated to identify a portion of the copy of the at least one virtual disk-level backup representing the application data.
[0140] In step 514, the client's application service session is transferred to the instance of the application. For example, the client may have been conducting an application service session with a second instance of the application. The second instance of the application may have failed. To remedy the failure of the second instance of the application, the remote agent may provide instructions to the client to conduct the application service session using the new instance of the application. Transferring the application service session to the application instance may cause the client to begin utilizing the application instance to obtain application services.
[0141] In step 516, the client's application service is restored using the instance of the application and the application data. For example, once the client begins using the instance of the application for application services, the instance of the application can utilize the application data hosted by the remote storage to serve the client. By doing so, the application service provided by the instance of the application reflects the application data stored in the backup storage rather than the local application data.
[0142] The method may end after step 516 .
[0143] As discussed above, the production host can generate backups. Figure 6 A flow chart of a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 6 The methods shown are used to manage application services. Figure 6 The method shown can be used by, for example, a production host (e.g. Figure 1 Without departing from the present invention, Figure 1 Other components of the system shown may perform Figure 6 All or part of the method.
[0144] Although Figure 6 Depicted as a series of steps, however, any steps may be omitted, performed in a different order, additional steps may be included, and / or any or all steps may be performed in a parallel and / or partially overlapping manner without departing from the invention.
[0145] In step 600, a backup generation request of a virtual machine is obtained.
[0146] In one or more embodiments of the present invention, a backup generation request is obtained from a remote agent. The remote agent may send the backup generation request according to one or more backup generation policies. The backup generation request may request generation of a backup of a virtual machine.
[0147] In step 602, a virtual disk level backup is generated for each virtual disk of the virtual machine. The virtual disk level backup may be generated as part of a process of generating a backup for the virtual machine. The virtual disk level backup may be a distinguishable portion of a backup of the virtual machine.
[0148] The virtual disk-level backups may include information that can be used to restore the state of the virtual disk to reflect a previous point in time. One or more of the virtual disk-level backups may include application data.
[0149] In step 604, each of the virtual disk-level backups is associated with an application hosted by the virtual machine. For example, one or more of the virtual disks may include application data for one or more applications. The association may be performed by storing this relationship in an application data map. For each application, the application data map may specify each of the virtual disk-level backups of the backup of the virtual machine, the virtual disk-level backup including the application data for each corresponding application.
[0150] In step 606, each of the virtual disk level backups is associated with a corresponding backup directory identifier. For example, when one or more virtual disks are stored in the backup storage, they can each be assigned a corresponding UUID. The association can be performed by storing this relationship in an associated backup storage directory. Thus, using the associated backup storage directory and the application data map, an association between the application and the UUID can be generated. As previously discussed, the UUID can be used to obtain access information that enables each of the stored virtual disk level backups to be extracted from the backup storage.
[0151] In step 608, the virtual disk level backup is stored in the backup storage. Copies of the application data map and / or associated backup storage directories may also be stored in the backup storage. Copies of these data structures and / or the backup directory may be stored elsewhere (e.g., a remote agent) to enable any number of entities to efficiently obtain access information to the virtual machine level backup associated with the application.
[0152] The method may end after step 608 .
[0153] In order to further illustrate the embodiments of the present invention, Figure 7.1 to Figure 7.6 Non-limiting examples are provided in FIG. Each of these figures may illustrate a process similar to Figure 1 For simplicity, Figure 7.1 to Figure 7.6 In each of the drawings only Figure 1 A system with a finite number of components.
[0154] Example
[0155] Consider Figure 7.1 The scenario shown in FIG. 1 is a scenario in which a first production host (700) and a second production host (710) are providing services to a client (not shown). The first production host (700) may host a database application (702) that provides database services to the client. To provide database services to the client, the database application (702) may store data in a first virtual disk (704). Although Figure 7.1Not shown, but the database application (702) and the first virtual disk (704) are part of the virtual machine.
[0156] The second production host (710) hosts an email application (712) that provides electronic communication services to clients.
[0157] In order to provide data protection services to the first production host (700) and the second production host (710), the system includes a backup storage (720). The backup storage (720) provides data protection services by storing backups in a deduplicated repository (724) carried by a volume storage (722). In addition to the data protection services, the backup storage (720) also facilitates rapid recovery of application services by carrying a copy of the application data in a high-performance storage (730). Figure 7.1 In the system state shown, the backup storage (720) does not facilitate the recovery of application services because no application data is stored in the high performance storage (730). Therefore, these applications can utilize such data remotely.
[0158] When the client utilizes the services provided by the first production host (700), data related to the client is stored as database application data (704.2) in the first production host (700). When utilizing the services provided by the first production host (700), the client sends sales data to the database application (702) to be stored as part of the database application data (704.2).
[0159] At a first point in time, a remote agent (not shown) initiates a backup generation of a first production host (700). The backup generation is initiated because the backup policy indicates that a backup of the first production host (700) is to be generated at the first point in time. To initiate the backup generation, the remote agent sends a backup generation request (700) to the first production host.
[0160] In response to receiving the backup generation request, the first production host (700) generates a backup file including: Figure 7.2 The first production host (700) generates a copy of the first virtual disk copy (706) as shown. In addition, the first production host (700) generates an association between the database application and the first virtual disk copy (706). Once the first virtual disk copy (706) is generated, the first production host (700) sends a copy of the first virtual disk copy (706) to the backup storage (720) for storage.
[0161] In response to receiving the backup, the backup storage (720) stores a copy (726) of the first virtual disk backup in a manner such as Figure 7.3The backup storage (720) stores the first virtual disk copy (726) in a deduplicated storage repository (724) as shown. When storing the copy (726) of the first virtual disk copy, the backup storage (720) assigns an identifier to the copy, and the first production host (700) uses the identifier to form an association between the identifier and the database application (702). In addition, the backup storage (720) stores access information for the copy (726) of the first virtual disk copy and associates the access information with the identifier of the copy (726) of the first virtual disk copy.
[0162] exist Figure 7.3 In the state shown, the system is able to restore the database application (702) and the entire virtual machine that hosts the database application (702) and includes the first virtual disk (704). In addition, the system is able to extract the copy of the first virtual disk copy (726) using the association between the database application (702) and the access information of the copy of the first virtual disk copy (726).
[0163] After storing the copy (726) of the first virtual disk copy in the volume storage (722), the first production host (700) proceeds as follows: Figure 7.4 Due to the failure of the first production host (700), the database application (702) is no longer available to provide database services, and therefore the database services being provided to clients (not shown) are suspended.
[0164] In response to the failure of the first production host (700), the remote agent (not shown) initiates a process of restoring database services. To this end, the remote agent (not shown) sends an instruction to the backup storage (720) to extract the copy (726) of the first virtual disk backup from the volume storage (722) and to store the extracted copy of the first virtual disk backup in the high-performance storage (730).
[0165] In response to these instructions, the backup memory (720) stores the extracted copy (732) of the first virtual disk backup in the high performance memory (730), such as Figure 7.5 As shown. Figure 7.5 As shown, the extracted copy of the first virtual disk backup (732) includes a copy of the database application data (734).
[0166] To facilitate restoring database service using the copy of the database application data (734), the remote agent sends instructions to the second production host (710) to instantiate a new instance of the database application (702). In response to these instructions, the second production host (710) Figure 7.6 A new instance of the database application (714) is shown being instantiated.
[0167] Once instantiated, the copy of the database application data (734) is exposed to the second production host (710). The new instance (714) of the database application is booted to use the copy of the database application data (734) as its application data. When so booted, the new instance (714) of the database application begins providing database application services to the client, thereby resuming the provision of database application services to the client.
[0168] exist Figure 7.6 In the system state shown, the new instance of the database application (714) is able to provide similar database services to those provided by the database application (702) because both applications use similar application data. In addition, because the new instance of the database application (714) remotely accesses the copy of the database application data (734), the new instance of the database application (714) is able to provide database services without having to perform a restore based on the backup data stored in the deduplicated repository (724). Therefore, the new instance of the database application (714) is able to provide database services to the client more quickly than if a local copy of the application data was restored and then used to provide database services.
[0169] End of Example
[0170] Figure 1 Any component of may be implemented as a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logic device that utilizes computing resources of one or more separate and / or different computing devices. As discussed above, embodiments of the present invention may be implemented using computing devices. Figure 8 A diagram of a computing device according to one or more embodiments of the present invention is shown. The computing device (800) may include one or more computer processors (802), non-permanent memory (804) (e.g., volatile memory, such as random access memory (RAM), cache memory), permanent memory (806) (e.g., hard disk, optical drive such as compact disk (CD) or digital versatile disk (DVD), flash memory, etc.), communication interface (812) (e.g., Bluetooth interface, infrared interface, network interface, optical interface, etc.), input device (810), output device (808), and many other elements (not shown) and functions. Each of these components is described below.
[0171] In one embodiment of the present invention, the computer processor 802 may be an integrated circuit for processing instructions. For example, the computer processor may be one or more cores or microcores of a processor. The computing device (800) may also include one or more input devices (810), such as a touch screen, a keyboard, a mouse, a microphone, a touchpad, an electronic pen, or any other type of input device. In addition, the communication interface (812) may include an integrated circuit for connecting the computing device (800) to a network (not shown) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet (), a mobile network, or any other type of network) and / or another device (such as another computing device).
[0172] In one embodiment of the invention, the computing device (800) may include one or more output devices (808), such as a screen (e.g., a liquid crystal display (LCD), a plasma display, a touch screen, a cathode ray tube (CRT) monitor, a projector, or other display device), a printer, external storage, or any other output device. One or more of the output devices may be the same as or different from the input devices. The input and output devices may be connected locally or remotely to the computer processor (802), non-persistent storage (804), and permanent storage (806). There are many different types of computing devices, and the input and output devices described above may take other forms.
[0173] Embodiments of the present invention may provide a system that facilitates rapid recovery of application services. Application services may be rapidly recovered by extracting relevant application data from backup data that is neither stored in an easily searchable and / or locally searchable format nor in a granularly indexed format. Thus, embodiments of the present invention may facilitate recovery of application services while storing data that may be used to recover such services in a format that has a reduced storage footprint size compared to other formats that may provide granular indexing and / or searchability.
[0174] Therefore, embodiments of the present invention can solve the problem of limited availability of computing resources in distributed systems that rely on data redundancy for recovery purposes. Specifically, after a failure of an application providing application services, embodiments of the present invention can increase the speed at which these application services can be restored.
[0175] The problems discussed above should be understood as examples of problems solved by the embodiments of the invention disclosed herein, and the invention should not be limited to solving the same / similar problems. The disclosed invention is broadly applicable to solving a range of problems beyond those discussed herein.
[0176] One or more embodiments of the present invention may be implemented using instructions executed by one or more processors of a data management device. In addition, such instructions may correspond to computer-readable instructions stored on one or more non-transitory computer-readable media.
[0177] Although the present invention has been described above with respect to a limited number of embodiments, those skilled in the art having benefit of this disclosure will appreciate that other embodiments may be designed without departing from the scope of the invention disclosed herein. Therefore, the scope of the present invention shall be limited only by the appended claims.
Claims
1. A system for providing application services to a client, comprising: The backup memory includes a permanent memory, wherein the permanent memory includes: A volume storage for storing deduplicated backups; as well as High-performance memory; as well as Remote agents are programmed to: identifying a failure of the application service that caused the application service to be suspended; In response to identifying the fault: Instantiating an instance of the application for providing the application service in the production host; Identifying at least one virtual disk level backup, the at least one virtual disk level backup: is associated with said application; and is part of the deduplicated backup on volume storage; extracting the at least one virtual disk-level backup from the deduplicated backup on the volume storage to obtain a copy of the at least one virtual disk-level backup, wherein the copy of the at least one virtual disk-level backup is stored in the high-performance storage; exposing a copy of the at least one virtual disk-level backup to a production host by providing the production host with remote access to the high-performance storage; identifying application data associated with the application within the copy of the at least one virtual disk level copy on the high performance storage; transitioning an application service session of one of the clients to the instance of the application; as well as The application service is restored for the client using the instance of the application and the application data.
2. The system according to claim 1, wherein: The application service is restored when the application data is remote from the instance of the application.
3. The system according to claim 1, wherein: The at least one virtual disk level copy is identified using a universally unique identifier associated with the at least one virtual disk level copy and an association between the universally unique identifier and the application.
4. The system according to claim 1, wherein: The backup after deduplication processing includes multiple backups of the virtual machine.
5. The system according to claim 4, wherein: At least one of the plurality of backups of the virtual machine includes the virtual disk-level backup and a second virtual disk-level backup.
6. The system according to claim 4, wherein: The deduplicated backup is stored in a format that only supports virtual disk-level indexing locally.
7. The system according to claim 1, wherein: The at least one virtual disk level backup is extracted from the deduplicated backup by combining a plurality of segments of the deduplicated backup to obtain the copy of the at least one virtual disk level backup.
8. A method for providing an application service to a client, comprising: identifying a failure of the application service that caused the application service to be suspended; In response to identifying the fault: Instantiating an instance of the application for providing the application service in the production host; Identifying at least one virtual disk level backup in a volume storage of the backup storage, the at least one virtual disk level backup: is associated with said application; and is part of a deduplicated backup on the volume storage; extracting the at least one virtual disk-level backup from the deduplicated backup on the volume storage to obtain a copy of the at least one virtual disk-level backup, wherein the copy of the at least one virtual disk-level backup is stored in a high-performance storage of the backup storage; exposing a copy of the at least one virtual disk-level backup to a production host by providing the production host with remote access to the high-performance storage; identifying application data associated with the application within the copy of the at least one virtual disk level copy on the high performance storage; transitioning an application service session of one of the clients to the instance of the application; as well as The application service is restored for the client using the instance of the application and the application data.
9. The method according to claim 8, wherein: The application service is restored when the application data is remote from the instance of the application.
10. The method according to claim 8, wherein: The at least one virtual disk level copy is identified using a universally unique identifier associated with the at least one virtual disk level copy and an association between the universally unique identifier and the application.
11. The method according to claim 8, wherein: The backup after deduplication processing includes multiple backups of the virtual machine.
12. The method according to claim 11, wherein: At least one of the plurality of backups of the virtual machine includes the virtual disk-level backup and a second virtual disk-level backup.
13. The method according to claim 11, wherein: The deduplicated backup is stored in a format that only supports virtual disk-level indexing locally.
14. The method according to claim 8, wherein: The at least one virtual disk level backup is extracted from the deduplicated backup by combining a plurality of segments of the deduplicated backup to obtain the copy of the at least one virtual disk level backup.
15. A non-transitory computer readable medium containing computer readable program code, which when executed by a computer processor enables the computer processor to perform a method for providing an application service to a client, the method comprising: identifying a failure of the application service that caused the application service to be suspended; In response to identifying the fault: Instantiating an instance of the application for providing the application service in the production host; Identifying at least one virtual disk level backup in a volume storage of the backup storage, the at least one virtual disk level backup: is associated with said application; and is part of a deduplicated backup in the volume storage; extracting the at least one virtual disk-level backup from the deduplicated backup in the volume storage to obtain a copy of the at least one virtual disk-level backup, wherein the copy of the at least one virtual disk-level backup is stored in a high-performance storage of the backup storage; exposing a copy of the at least one virtual disk-level backup to a production host by providing the production host with remote access to the high-performance storage; identifying application data associated with the application within the copy of the at least one virtual disk level copy; transitioning an application service session of one of the clients to the instance of the application; as well as The application service is restored for the client using the instance of the application and the application data.
16. The non-transitory computer readable medium of claim 15, wherein: When the application data is removed from the instance of the application, the application service is restored.
17. The non-transitory computer readable medium of claim 15, wherein: The at least one virtual disk level copy is identified using a universally unique identifier associated with the at least one virtual disk level copy and an association between the universally unique identifier and the application.
18. The non-transitory computer readable medium of claim 15, wherein: The backup after deduplication processing includes multiple backups of the virtual machine.
19. The non-transitory computer readable medium of claim 18, wherein: At least one of the plurality of backups of the virtual machine includes the virtual disk-level backup and a second virtual disk-level backup.
20. The non-transitory computer readable medium of claim 18, wherein: The deduplicated backup is stored in a format that only supports virtual disk-level indexing locally.
Citation Information
Patent Citations
Creating host-level application-consistent backups of virtual machines
CN101421715A
Backup and recovery method of computer system, device and computer system
CN102567136A
Proxy backup of virtual disk image files on NAS devices
CN102576322A
Application intelligent snapshot backups
US10061657B1
Systems and methods for performing backup operations of virtual machine files
US20100011178A1
