System and method for accelerating data access
By using backup storage devices and global application data mapping technology in distributed systems, we can identify and restore virtual disk-level backups associated with applications, solving the problems of large backup data storage space and high recovery costs, and achieving high efficiency and low cost. Cost of data recovery.
Patent Information
- Application Number
- CN202010316497.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-04-21
AI Technical Summary
When the existing technology backs up data in a distributed system, the storage space is large and the recovery cost is high, making it difficult to effectively manage and recover the data, especially when data is lost, the application cannot be quickly and efficiently restored.
Using backup storage and global application data mapping, by identifying virtual disk-level backups associated with applications, only necessary backup data is obtained to speed up recovery and reduce the total amount of recovered data and computational costs.
It achieves efficient storage and recovery of data in distributed systems, reduces computing costs, improves the efficiency and reliability of data protection services, and can quickly restore applications to their previous state.
Smart Images

Figure CN111831477B_ABST
Abstract
Description
Background Art
[0001] Computing devices may generate data during their operation. For example, applications hosted by a computing device may generate data used by the applications to perform their functions. This data may be stored in the computing device's persistent storage. Failure of the persistent storage may result in data loss.
[0002] To prevent data loss, copies of the data can be stored in multiple locations. For example, a copy of the data from a first computing device can be stored on a second computing device. Depending on the size of the data, the computational cost of maintaining copies of the data and providing copies of the data to address failures of the first computing device can be high. Summary of the Invention
[0003] In one aspect, a backup storage device according to one or more embodiments of the present invention includes a persistent storage device and a backup manager. The persistent storage device stores backups of entities and a global application data map. The backup manager receives a restore request to restore an application hosted by one of the entities; determines, based at least in part on the application, to accelerate the restore; and responsive to the determination: identifies a virtual disk-level backup of an entity associated with the application using the global application data map; retrieves the virtual disk-level backup from the backup of the entity; and restores the application using the virtual disk-level backup.
[0004] In one aspect, a method for restoring an application to a previous state using a backup of an entity and a global application data map according to one or more embodiments of the present invention includes: obtaining a restore request for restoring an application hosted by one of the entities; determining an accelerated restore based at least in part on the application; in response to the determination: using a global application data map to identify a virtual disk-level backup of an entity associated with the application; obtaining the virtual disk-level backup from the backup of the entity; and restoring the application using the virtual disk-level backup.
[0005] In one aspect, a non-transitory computer-readable medium according to one or more embodiments of the present invention includes computer-readable program code that, when executed by a computer processor, enables the computer processor to perform a method for restoring an application to a previous state using backups of entities and a global application data map. The method includes: obtaining a restore request for restoring an application hosted by one of the entities; determining, based at least in part on the application, to accelerate the restore; responsive to the determination: identifying, using the global application data map, a virtual disk-level backup of an entity associated with the application; obtaining the virtual disk-level backup from the backup of the entity; and restoring the application using the virtual disk-level backup. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Certain embodiments of the present invention will be described with reference to the accompanying drawings. However, the accompanying drawings only illustrate certain aspects or embodiments of the present invention by way of example and are not intended to limit the scope of the claims.
[0007] Figure 1 A diagram of a system in accordance with one or more embodiments of the present invention is shown.
[0008] Figure 2.1 A diagram of an exemplary production host is shown in accordance with one or more embodiments of the present invention.
[0009] Figure 2.2 A diagram of an exemplary virtual machine is shown in accordance with one or more embodiments of the present invention.
[0010] Figure 3 A diagram of an exemplary backup storage device is shown in accordance with one or more embodiments of the present invention.
[0011] Figure 4 A flowchart of a method for performing recovery of an application program according to one or more embodiments of the present invention is shown.
[0012] Figure 5 A flowchart of a method for responding to a backup generation request according to one or more embodiments of the present invention is shown.
[0013] Figures 6.1 to 6.7 A non-limiting example of a system according to an embodiment of the present invention is shown.
[0014] Figure 7 A diagram of a computing device is shown in accordance with one or more embodiments of the invention. DETAILED DESCRIPTION
[0015] Specific embodiments will now be described with reference to the accompanying drawings. In the following description, numerous details are set forth as examples of the present invention. Those skilled in the art will appreciate that one or more embodiments of the present invention may be practiced without these specific details without departing from the scope of the present invention, and that numerous variations or modifications are possible. To avoid obscuring the description, certain details known to those of ordinary skill in the art have been omitted.
[0016] In the following description of the drawings, in various embodiments of the present invention, any component described with respect to a particular drawing may be equivalent to one or more components of the same name described with respect to any other drawing. For the sake of brevity, the description of these components will not be repeated with respect to each drawing. Therefore, each and every embodiment of the components of each drawing is incorporated by reference and is assumed to be optionally present in each other drawing having one or more components of the same name. In addition, according to various embodiments of the present invention, any description of a component of a particular drawing will be interpreted as an optional embodiment, which can be implemented in addition to, in combination with, or in place of the embodiment described with respect to the corresponding component of the same name in any other drawing.
[0017] In general, embodiments of the present invention relate to systems, devices, and methods for providing data protection services in a distributed system. Distributed systems according to embodiments of the present invention can back up data in a small storage format. By doing so, the system can increase the total amount of backup data that can be stored compared to systems that do not store backup data in a small storage format.
[0018] Additional embodiments of the present invention may provide a method for performing selective recovery of an entity using portions of backup data stored in a small storage footprint format. For example, an embodiment of the present invention may provide a method for identifying limited portions of backup data associated with an application. The method may further include selectively retrieving only those portions of the backup data, providing high-performance access to the retrieved portions of the backup data, and restoring the application to a previous state using the portions of the backup data. By using only limited portions of the backup data for recovery purposes, the computational cost of performing the recovery may be reduced compared to methods that perform the recovery using larger amounts of backup data. Thus, embodiments of the present invention may improve computational efficiency for providing data protection services in a distributed system.
[0019] Figure 1 An exemplary 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 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 of 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).
[0020] To increase the likelihood that data stored in the production hosts (130) will be available for future use, a backup of the production hosts (130) can be generated and stored in the backup storage device (120). The backup of one of the production hosts (130) can include data that can be used to restore all or a portion of the production host, or all or a portion 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 can be restored by restoring all or a portion of the production host using the information stored in the backup storage device (120).
[0021] 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 coordinating the generation and storage of backups in the backup storage device and / or coordinating recovery using data stored in the backup storage device (120). Performing a recovery may return the production host or an entity hosted by the production host to a previous state.
[0022] In order to maximize the amount of backup data that can be stored in the backup storage device (120), the backups can be stored in an unindexed format and / or the data stored in the backup storage device (120) can be deduplicated against other data stored in the backup storage device (120). By doing so, the footprint of the data stored in the backup storage device (120) can be reduced, which allows a greater amount of backup data to be stored using the same amount of storage resources. However, due to a lack of metadata that would otherwise provide computationally efficient searching of the data, the data stored in all or a portion of the backup storage device (120) may not be locally searchable in a computationally efficient manner.
[0023] To provide efficient recovery of portions of data stored in the backup storage (120), the remote agent (110) and / or the backup storage (120) may maintain an index (e.g., Figure 3 The index relates to a global application data map (discussed in more detail herein) that associates portions of the data stored in the backup storage device with applications hosted by the production host. The index can be used to selectively restore portions of the backup stored in the backup storage device (120) in an accelerated and / or computationally efficient manner. By doing so, restoration of the application can be performed more quickly and / or at a reduced computational cost compared to contemporary methods.
[0024] 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 1 Each component of the system is shown.
[0025] 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 this application and / or Figures 4 and 5 The client (140) may be any other type of computing device without departing from the present invention. For further details on the computing device, please refer to Figure 7 .
[0026] 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.
[0027] 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 these 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).
[0028] 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 some point in the future, the client that uploaded the image or another entity may wish to retrieve a copy of the image from the production host (130) and thereby present data, i.e., a copy of the type of image of the production host (130) stored in the production host (130) that is related to the client (140). One or more embodiments of the present invention may increase the likelihood that data related to the client (140) and stored in the production host (130) can be retrieved 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 portion of the production host in a backup storage device (120).
[0029] In one or more embodiments of the present invention, the production host (130) is a computing device. The computing device can 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 the processor of the computing device, causes the computing device to perform the functions described in this application and / or Figures 4 and 5 The production host (130) may be any other type of computing device without departing from the present invention. For further details on the computing device, please refer to Figure 7 .
[0030] 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 the computing resources of one or more independent 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 independent and / or different computing devices. In such cases, the functionality of the production host (130) can be performed by multiple different computing devices without departing from the present invention.
[0031] 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).
[0032] 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 related to the client (140) can be stored in a permanent storage device of the production host (130).
[0033] In one or more embodiments of the present invention, the production host (130) performs backup services, such as, for example, generating a backup and storing it in the backup storage device (120). By storing the backup in the backup storage device (120), a copy of the data stored in the permanent storage device of the production host (130) can be redundantly stored in the backup storage device (120). By redundantly storing copies of the data in both the production host (130) and the backup storage device (120), it is more likely that the stored data will be able to be retrieved at some point in the future. 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 device of the production host may be lost. However, because a copy of the data can be stored in the backup storage device (120), it is possible to retrieve the data for use after the catastrophic failure. Therefore, embodiments of the present invention can improve the reliability of data storage in a distributed system.
[0034] The backup service may also include generating a data map of the data included in the backup stored in the backup storage. The remote agent (110) and / or the backup storage (120) may utilize the data map to generate a global application data map that enables the application data included in the backup stored in the backup storage (120) to be restored in a computationally efficient manner. For example, the global application data map may be used to identify portions of the data included in the backup storage (120) that are associated with each application without having to crawl or otherwise index all of the data stored in the backup storage (120). For additional details regarding the production host (130), see Figure 2.1 .
[0035] In one or more embodiments of the present invention, the backup storage device (120) is a computing device. The computing device can 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 the processor of the computing device) causes the computing device to perform the functions of the backup storage device (120) described herein and / or Figures 4 and 5 The backup storage device (120) may be any other type of computing device without departing from the present invention. For further details on the computing device, please refer to Figure 7 .
[0036] In one or more embodiments of the present invention, the backup storage device (120) 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 independent and / or different computing devices. For example, in one or more embodiments of the present invention, the backup storage device (120) is a distributed device that includes components distributed across any number of independent and / or different computing devices. In this case, the functionality of the backup storage device (120) can be performed by multiple different computing devices without departing from the present invention.
[0037] In one or more embodiments of the present invention, a backup storage device (120) provides data storage services to a production host (130). The data storage services may include storing data provided by the production host (130), as well as providing previously stored data to the production host (130). The data so provided may be used for recovery (and / or other) purposes. A system may include any number of backup storage devices (e.g., 120.2, 120.4) without departing from the present invention. For example, a system according to an embodiment of the present invention may include only a single backup storage device (e.g., 120.2), or may include multiple backup storage devices (e.g., 120.2, 120.4).
[0038] In one or more embodiments of the present invention, the data stored by the backup storage device (120) includes backups of virtual machines and / or applications hosted by the production host (130). For example, the production host (130) may host a virtual machine that hosts a database application. To generate a backup of the database, a backup of the virtual machine that hosts the database may be generated and sent to the backup storage device (120) for storage. At some point in the future, it may be desirable to restore the state of the database managed by the database application to a previous state. To do this, a previously stored backup of the virtual machine stored in the backup storage device (120) may be retrieved. The retrieved backup may be used to restore the application data hosted by the virtual machine that hosts the database to a state associated with the backup, i.e., a desired previous state.
[0039] One or more embodiments of the present invention provide a method for retrieving only a portion of a backup associated with a virtual machine for application recovery. For example, a virtual machine may store data on many different virtual disks. A method for recovery according to an embodiment of the present invention can facilitate identifying and recovering only those virtual disks that include data related to a particular application. By doing so, the total amount of data retrieved from a backup storage device (120) for recovery purposes can be reduced compared to current methods for performing recovery.
[0040] Although described above as storing backups of virtual machines, applications, and / or production hosts (130), the backup storage device (120) may store other types of data from the production hosts (130) or other entities without departing from the present invention. For example, the backup storage device (120) may store archives or other data structures from the clients (140) and / or other entities. For additional details on the backup storage device (120), please refer to Figure 3
[0041] In one or more embodiments of the present 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 permanent storage (e.g., a disk drive, a solid-state drive, etc.). The permanent storage may store computer instructions, such as computer code, that, when executed by the processor of the computing device, cause the computing device to perform the functions and / or the functions of the remote agent (110) described herein. Figures 4 and 5 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 further details about the computing device, please refer to Figure 7 .
[0042] 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 independent and / or different computing devices. For example, in one or more embodiments of the present invention, the remote agent (110) can be a distributed device that includes components distributed across any number of independent and / or different computing devices. In this case, the functionality of the remote agent (110) can be performed by multiple different computing devices without departing from the present invention.
[0043] In one or more embodiments of the present invention, the backup storage device (120) provides the functionality of the remote agent. For example, the backup storage device (120) may host an application that provides all or part of the functionality of the remote agent (110).
[0044] In one or more embodiments of the present invention, a remote agent (110) coordinates the provision of backup services to a production host (130). For example, the remote agent (110) may initiate the generation of a backup for the production host (130) and the storage of the generated backup in a backup storage device (120). Additionally, the remote agent (110) may use the backup stored in the backup storage device (120) to coordinate the recovery of the production host (130) and / or entities hosted by the production host. For example, the remote agent (110) may initiate the copying of a backup from the backup storage device to the production host (130), and may use the copied backup to initiate a recovery. Figure 1 The system may include any number of remote agents (eg, 110.2, 110.4).
[0045] Although for the sake of brevity Figure 1 The system is described and shown as including a limited number of components, but without departing from the invention, the system according to the embodiment of the present invention may include more than Figure 1 More, fewer and / or different components may be shown.
[0046] As discussed above, a production host may host virtual machines, applications, or other entities that provide services to clients. Figure 2.1 A diagram of an exemplary production host (200) according to one or more embodiments of the present invention is shown. The exemplary production host (200) can be similar to any production host ( Figure 1 130). As discussed above, the exemplary 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.
[0047] To provide the aforementioned functionality of the exemplary production host (200), the exemplary production host (200) may include a virtual machine (210), a hypervisor (220), and a production agent (230). Each component of the exemplary production host (200) is discussed below.
[0048] The virtual machines (210) can be application programs. For example, the virtual machines (210) can be application programs that are executed using the physical computing resources of the exemplary production host (200) and / or other entities. In other words, each virtual machine (210) can be implemented as computer instructions stored on a persistent storage device that, when executed by a processor and / or other entity of the exemplary production host (200), causes the functionality of the corresponding virtual machine. The exemplary production host (200) can host any number of virtual machines (e.g., 210.2, 210.4) without departing from the present invention.
[0049] Each virtual machine (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 virtual machine (210) can host any number of applications without departing from the present invention.
[0050] Each application can perform similar or different functions. For example, the first application can be a database application, and the second application can be an electronic communication application. In another example, the first application can be a first instance of a database application, and the second application can be a second instance of the database application.
[0051] In one or more embodiments of the present invention, all or a portion of an application provides application services to a client. The provided services may correspond to an application type for each application. When providing application services to a client, data related to the client may be received and / or generated by the application. The application may store such relevant data as part of the application data associated with the corresponding application in a persistent storage device of the exemplary production host (200) and / or other entity.
[0052] In some embodiments of the present 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 on a second production host or another entity that does not host the application. The application data may be stored in other locations without departing from the present invention.
[0053] Although the application has been described above as being hosted by the virtual machine (210), the application may not be hosted by the virtual machine without departing from the present invention. For example, the application may be executed locally on the exemplary production host (200) rather than in a virtualized entity (e.g., one of the virtual machines (210)).
[0054] Each virtual machine (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 the data stored by the backup storage device that corresponds to previously stored application data. The information included in the application data map may be used to selectively restore data associated with an application while minimizing the amount of restored data that is not useful for restoring a particular application. For further details on the virtual machine (210), see Figure 2.2 .
[0055] The hypervisor (220) can manage the execution of the virtual machines (210). The hypervisor (220) can instantiate and / or terminate any virtual machine (210). The hypervisor (220) can also allocate computing resources of the exemplary production host (200) to each virtual machine (e.g., 210.2, 210.4).
[0056] For example, the hypervisor (220) may allocate a portion of the persistent storage of the exemplary production host (200). Any amount of storage resources of the persistent storage may be allocated among the virtual machines (eg, 210.2, 210.4) in any manner.
[0057] 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 exemplary 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 exemplary production host (200).
[0058] In one or more embodiments of the present invention, the hypervisor (220) is a hardware device that includes 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.
[0059] In one or more embodiments of the present invention, the hypervisor (220) is implemented as computer code stored on a persistent storage device that, when executed by a processor, performs the functions of the hypervisor (220). The processor may be a hardware processor that includes circuitry such as, for example, a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the present invention.
[0060] 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 coordinate the generation of backups and the storage of the generated backups on the backup storage device ( Figure 1120). To coordinate 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 between one state and 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 discussed in more detail below, the application data map can include information that associates the virtual disk level backup with a different application. By doing so, information related to selectively identifying backups stored in the backup storage device can be created and saved for application level recovery.
[0061] In one or more embodiments of the present invention, a production agent (230) manages the provision of backup services for a virtual machine (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 coordinate data protection services, including generating backups and performing restores across the entire system.
[0062] In one or more embodiments of the present invention, the production agent (230) includes functionality for reporting backup generation activity to a remote agent. For example, the production agent (230) can monitor generated backups and send notifications of generated backups to the remote agent. By doing so, the remote agent can be notified of backup generation for entities hosted by the exemplary production host (200).
[0063] The production agent (230) may also provide a recovery service. The recovery service may enable an entity that is now inaccessible due to, for example, a failure of a host entity (such as a production host) to be instantiated elsewhere and placed in a predetermined state. To provide the recovery service, the production agent (230) may retrieve any number of backups from a backup storage device and use the backups to restore the entity. For example, the production agent (230) may retrieve a virtual machine-level backup and use the retrieved backup to instantiate a copy of the virtual machine. By doing so, the virtual machine may be restored in a state in which it is hosting an application in a predetermined state. Once in the predetermined state, the application may then provide the desired application services and / or enable access to the application data of the application. By using different combinations of previously generated backups and / or backup portions, the entity may be restored to different desired states. For example, a portion of a backup corresponding to application data may be used to selectively restore the application hosted by the virtual machine by modifying the data of the virtual machine using that portion of the backup. In this manner, both virtual machine-level and application-level recovery may be performed. Any combination of backups may be used to restore the entity to any number of states without departing from the present invention.
[0064] To provide the above functionality of the production agent (230), the production agent (230) may execute Figures 4 and 5 All or part of the method shown in .
[0065] In one or more embodiments of the present invention, the production agent (230) is a hardware device that includes circuitry. The production agent (230) can be, for example, a digital signal processor, a field programmable gate array, or an application-specific integrated circuit. The production agent (230) can be other types of hardware devices without departing from the present invention.
[0066] In one or more embodiments of the present invention, the production agent (230) is implemented as computer code stored on a permanent storage device that, when executed by a processor, performs the functions of the production agent (230). The processor may be a hardware processor that includes circuitry such as, for example, a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the present invention.
[0067] Although for the sake of brevity Figure 2.1 The exemplary production host (200) of FIG. 1 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.
[0068] As discussed above, virtual machines hosted by production hosts can provide services to clients. Figure 2.2 A diagram of an exemplary virtual machine (250) is shown in accordance with one or more embodiments of the present invention.
[0069] The exemplary virtual machine (250) can host an operating system (252) that manages the operation of the exemplary virtual machine (250). For example, the operating system (252) can manage access to resources such as a persistent storage device (260). The persistent storage device (260) can include logical partitions, such as virtual disks (e.g., 262, 264). When managing resource access, the operating system can provide storage resources to an application (254) for storing application data (e.g., 262.2, 264.2) in the virtual disks (262, 264). Without departing from the present invention, the operating system (252) can manage resource access for storing other types of data in the virtual disks (262, 264).
[0070] The exemplary virtual machine (250) can host any number and type of applications (254). The applications (254) can provide services to clients and / or other entities. The applications (254) can generate application data (e.g., 262.2, 264.2), which is stored in virtual disks (262, 264) stored in persistent storage (260).
[0071] The exemplary virtual machine (250) may also host a virtual machine integrated backup agent (256). The virtual machine integrated backup agent (256) may provide data protection services including (i) generating an application data map (266) and (ii) restoring the application (254) using a previously generated backup. 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) storing application data associated with each application (254). The backup storage device may use the application data map (266) to selectively retrieve data from a previously stored backup that may be used to restore different applications.
[0072] To generate the application data map (266), the virtual machine integrated backup agent (256) may: (i) query the operating system (252) to determine where the application data (e.g., 262.2, 264.2) associated with each application is stored, and (ii) when generating a backup for the exemplary virtual machine (250), create an association between each virtual drive-level backup storing a backup of the application data and the corresponding application.
[0073] For example, consider a scenario where a first application (254) of an application stores application data in virtual disk A (262). When a backup of the exemplary virtual machine (250) is generated, the backup may include a first portion and a second portion, the first portion including information associated with virtual disk A (262) and the second portion including information associated with virtual disk N (264). To generate the association, the virtual machine integrated backup agent (256) may obtain a universally unique identifier (UUID) from the backup storage device where the first portion of the backup will be stored. The backup storage device may utilize the (UUID) for the purpose of indexing all backup data. Once obtained, an association may be generated by correlating the obtained UUID with the application. The generated relationship may be used to update the application data map (266). Thus, the application data map (266) may be used to identify the UUID associated with a particular application as well as any other UUIDs. Subsequently, the identified UUID may be used to retrieve only the virtual disk-level backup from the backup storage device for recovery purposes. The application data map (266) may be generated via other methods without departing from the present invention. For example, the virtual machine integrated backup agent (256) may provide the UUID to the backup storage device rather than obtaining the UUID from the backup storage device or other entity.
[0074] In one or more embodiments of the present invention, when a backup of the exemplary virtual machine (250) is performed, one or more application data maps (266) are sent along with the backup to the backup storage device. Figure 3 As discussed in greater detail, the application data map (266) may be used to generate an index of all portions of a backup (e.g., a virtual disk-level backup) in a backup storage device, including the data associated with the backup storage device. Figure 1 Information associated with each application of the system.
[0075] In one or more embodiments of the present invention, the persistent storage device (260) is a logical storage device (e.g., a virtualized storage device) that utilizes any amount of hardware storage resources of the production host (and / or other entity) hosting the exemplary virtual machine (250). For example, the persistent storage device (260) can 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 can be used to host any number of virtual disks (262, 264), application data maps (266), and / or other data structures.
[0076] As discussed above, the backup and / or data map may be sent to a backup storage device for data integrity purposes. Figure 3A diagram of an exemplary backup storage device (300) according to one or more embodiments of the present invention is shown. The exemplary backup storage device (300) can be similar to any backup storage device ( Figure 1 120). As discussed above, the exemplary backup storage device (300) can store data, such as backups that can be used for recovery purposes. Additionally, the exemplary backup storage device (300) can use the stored backups for recovery purposes.
[0077] To provide the aforementioned functionality of the exemplary backup storage device (300), the exemplary backup storage device (300) may include a backup manager (310) and a persistent storage device (320). Each component of the exemplary backup storage device (300) is discussed below.
[0078] In one or more embodiments of the invention, the backup manager (310) provides data storage services. For example, the backup manager (310) can coordinate the storage of backups from a production host in a persistent storage device (320), thereby causing the storage of backups. As discussed above, each backup can include any number of virtual disk-level backups, which in turn store different portions of application data and / or other types of data.
[0079] When providing data storage services, the backup manager (310) can deduplicate backups against already stored backups. To deduplicate backups for storage, the backup manager (310) can divide the backup into any number of portions, compare the portions with existing portions of data stored in the deduplicated repository (322), and store only portions of the backup that do not duplicate the existing portions stored in the deduplicated repository (322). Additionally, the exemplary backup storage device (300) can store instructions on how to combine different portions of data stored in the deduplicated repository (322) to obtain a backup stored in the deduplicated repository (322) in a deduplicated manner. By doing so, more backups can be stored in the exemplary backup storage device (300).
[0080] Additionally, to further improve the efficiency of storing data, the backup manager (310) may store backups in a containerized format. For example, after deduplication, the containerized backups (322.2) may be stored in the deduplicated repository (322). The containerized format may not include metadata or other information about the contents of each container having the containerized format. Instead, the containerized format may store bulk data in discrete containers without including information about the structure of the data inside each container. By doing so, the containerized format may have a smaller storage footprint compared to other formats (e.g., file systems). Therefore, more backups may be stored as containerized backups (322.2) than if the backups were stored in other formats that included metadata about the data. However, the information included in the containerized backups may not be locally indexable.
[0081] To provide a certain level of indexability, the backup manager (310) can generate a backup catalog (321) that stores information that enables backups to be retrieved at the virtual disk level. In other words, file-level access may not be available, but virtualized disk-level indexing can be provided. In other words, the backup catalog (321) can be used to retrieve the portion of data associated with each virtual disk-level backup stored in the deduplicated repository (322). By doing so, the total amount of metadata can be minimized while still being able to index the virtual drive-level aggregate of the data to be provided.
[0082] When a backup is obtained from a production host, a backup catalog (321) may be generated by the backup manager (310). Figure 2.2 As discussed, the data for each virtual machine can be logically divided into any number of virtual disks. Thus, when acquiring a backup, appropriate location information can be added to the backup catalog (321) so that all data for any virtual disk-level backup can be selectively acquired from the deduplicated repository (322) in a computationally efficient manner, e.g., without crawling the deduplicated repository (322) to identify data associated with any particular virtual disk.
[0083] To provide the ability to selectively retrieve data from a deduplicated repository to restore an application, the backup manager (310) can use the application data maps retrieved from the production host to generate a global application data map (326). Once the application data maps are received, they can be stored in the application data map repository (324). The backup manager (310) can use each application data map to construct the global application data map (326).
[0084] The global application data map (326) may specify associations between applications and backups of virtual disks stored in the deduplicated repository (322). After identifying all backups of virtual disks associated with a particular application, the backup catalog (321) may be used to retrieve the backups of the virtual disks from the deduplicated repository (322). By doing so, all data relevant to restoring a particular application may be selectively retrieved from the deduplicated repository (322). Such data may be used for recovery purposes, as will be discussed below and with respect to Figure 4 Described in more detail.
[0085] In one or more embodiments of the present invention, the backup manager (310) provides recovery services for virtual machines and applications hosted by the virtual machines. The recovery services may include providing data stored in a deduplicated repository (322) that can be used to restore the virtual machines and / or applications to a desired state. When providing application recovery services, the backup manager (310) may perform Figures 4 and 5 All or part of the method.
[0086] When providing recovery services for an application, the backup manager (310) can selectively retrieve data from the deduplicated repository (322) using the global application data map (326) and the backup catalog (321), locally mount the retrieved data to obtain temporarily mounted application data (328), and provide the temporarily mounted application data (328) to a production host to restore the application using the temporarily mounted application data (328). The temporarily mounted application data (328) can include only a portion of the backup of the virtual machine hosting the application when the backup was generated (from which the data currently being used to restore the application was retrieved). Specifically, the temporarily mounted application data (328) can include only data from the virtual disk of the virtual machine that stores data associated with the application, rather than data from all virtual disks of the virtual machine. By doing so, the total amount of data used to restore the application is reduced compared to restoring data from all backups of the virtual drives of the virtual machine.
[0087] In one or more embodiments of the present invention, the backup manager (310) is a hardware device that includes 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.
[0088] In one or more embodiments of the present invention, the backup manager (310) is implemented as computer code stored on a persistent storage device that, when executed by a processor, performs the functions of the backup manager (310). The processor may be a hardware processor that includes circuitry such as, for example, a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the present invention.
[0089] In one or more embodiments of the present invention, the permanent storage device (320) is a data storage device. For example, the permanent storage device (320) can be any combination of a hard disk drive, a solid-state disk drive, a tape drive, and / or any other physical storage medium for storing data. The permanent storage device (320) can store a deduplicated data repository (322), a backup catalog (321), an application data map repository (324), a global application data map (326), and temporarily mounted application data (328). Each of these data structures is described below.
[0090] The deduplicated repository (322) can be a data structure that includes deduplicated data. As discussed above, deduplicating data can reduce the space occupied by the data. However, duplication can be a computationally expensive process, and retrieving data from the deduplicated repository (322) can also be computationally expensive. For example, the process of determining whether a portion of data is a duplicate of data in the deduplicated repository (322) can consume significant processing, memory, and storage resources. Similarly, the process of retrieving data by splicing together any number of portions of data stored in the deduplicated repository (322) can be computationally expensive. Therefore, it may not be computationally reasonable to crawl data stored in the deduplicated repository (322) for search purposes, such as to identify only those portions of data in the deduplicated repository (322) that are useful to a recovery application.
[0091] The deduplicated data repository (322) can also store deduplicated backups in a containerized format, e.g., containerized backups (322.2). As discussed above, a containerized format can be a data storage format that reduces the overhead of storing data by minimizing metadata. Data in a containerized format can be stored in logical containers, which can increase the amount of data that can be stored compared to other methods of storing data, such as via a file system that includes metadata that provides local searchability of the stored data.
[0092] The backup catalog (321) can be a data structure as described above that enables virtual disk-level backups to be retrieved from a deduplicated repository. For example, the backup catalog (321) can be a list that associates each backup of a virtual disk with (i) a unique identifier and (ii) information that can be used to retrieve the backup of the virtual disk from the deduplicated repository (322). The information can be, for example, a container storing parts of each virtual disk backup and a list of all parts of those parts. Without departing from the present invention, the backup catalog (321) can store other types of information that can be used to retrieve the backup of each virtual disk from the deduplicated repository (322).
[0093] The application data map repository (324) can be a data structure that includes application data maps from a production host. The application data map repository (324) can include any number of application data maps. After being used to update the global application data map (326), the application data map can be deleted or retained.
[0094] The global application data map (326) can be a data structure that includes information from the application data map repository (324) that enables the backup catalog (321) to be used to selectively obtain virtual drive level backups from the deduplicated repository (322) that stores application data associated with each application.
[0095] The temporarily mounted application data (328) can be application data obtained from any number of virtual drive-level backups associated with a particular application. The temporarily mounted application data (328) can include information necessary to restore the application to a previous state. The exemplary backup storage device (300) can include any number and / or amount of temporarily mounted application data (328) associated with any number of applications. By doing so, the temporarily mounted application data (328) can be used to restore any number of different applications. The content of the temporarily mounted application data (328) can change as different applications are restored.
[0096] Although for the sake of brevity Figure 3 The exemplary backup storage device (300) is described and shown as including a limited number of components, but without departing from the present invention, a backup storage device according to an embodiment of the present invention may include more than Figure 3 More, fewer and / or different components may be shown.
[0097] return Figure 1, backup storage devices can provide data storage and recovery services. Figure 4 Shows that when providing such services, Figure 1 A method performed by a component of a system.
[0098] Figure 4 1 is a flow chart showing a method according to one or more embodiments of the present invention. Figure 4 The method shown in can be used to provide recovery services. Figure 4 The method shown can be implemented by, for example, a backup storage device (e.g. Figure 1 120) is executed. Without departing from the present invention, Figure 1 Other components of the system shown may perform Figure 4 All or part of the method.
[0099] although Figure 4 Shown as a series of steps, 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 parallel and / or in a partially overlapping manner without departing from the invention.
[0100] In step 400, a request to resume an application is obtained.
[0101] In one or more embodiments of the present invention, a restore request is obtained from a remote agent. The remote agent may be coordinating the restore of an application. The application may already be hosted by a virtual machine on a production host. One or more backups associated with the virtual machine may be stored on a backup storage device. Each of the one or more backups associated with the virtual machine may include one or more virtual driver-level backups. At least one of the one or more virtual driver-level backups includes information that can be used to restore the application to a desired state.
[0102] In step 402, it is determined whether to accelerate the recovery.
[0103] In one or more embodiments of the present invention, recovery can be accelerated by utilizing only a portion of the backup data associated with a virtual machine for recovery. In other words, not all of the backup data associated with the virtual machine can be used to restore the application. Therefore, when performing an accelerated recovery, a smaller amount of data can be used for recovery purposes.
[0104] In one or more embodiments of the present invention, the determination is made based on the type of application. For example, a list of applications that are accelerated for recovery purposes may be used to make the determination.
[0105] In one or more embodiments of the present invention, the determination is made based on an indication included in the recovery request. For example, the recovery request may specify whether to accelerate the recovery.
[0106] If it is determined that the restoration is to be accelerated, the method may proceed to step 404. If it is determined that the restoration is not to be accelerated, the method may proceed to step 408.
[0107] In step 404, the global application data map is used to identify a virtual disk-level copy associated with the application.
[0108] In one or more embodiments of the present invention, virtual disk-level backups associated with an application are identified by searching a global application data map based on the application. Searching the global application data map may provide one or more (UUIDs) associated with the application. The one or more UUIDs may be used to search a backup directory. Searching the backup directory using the UUIDs may provide retrieval information associated with one or more virtual disk-level backups stored in a backup storage device. The retrieval information may be used to obtain one or more virtual disk-level backups that at least partially include information that can be used to restore the application to a previous state, and the virtual disk-level backup may be any of the one or more virtual disk-level backups obtained.
[0109] In step 406, the application is restored using the identified virtual disk-level backup.
[0110] In one or more embodiments of the present invention, an application is restored by locally mounting an identified virtual disk-level backup. Once mounted, remote access to the virtual disk-level backup can be provided to a production host hosting a virtual machine. The virtual machine can host an instance of the application. Once remote access is provided, the virtual disk-level backup can be used to retrieve backup data for the application. The backup data can be used to restore the application instance hosted by the virtual machine to a state associated with the backup data.
[0111] In one or more embodiments of the present invention, an application is restored by sending a copy of a virtual disk-level backup to a production host. The production host can use the copy of the virtual disk-level backup to retrieve backup data associated with the application. The backup data can be used to restore the instance of the application to a predetermined state associated with the backup data.
[0112] Although steps 404 and 406 have been described with respect to a single virtual disk level copy, multiple virtual disk level copies may be obtained and used to restore an application without departing from the invention.
[0113] The method may end after step 406 .
[0114] Returning to step 402 , if it is determined that recovery is not to be accelerated, the method may proceed to step 408 .
[0115] In step 408, the application is restored using all virtual disk-level backups associated with the virtual machine. The virtual machine may be the entity for which all virtual legal disk-level backups are generated. In other words, the application may be restored using all virtual disk-level backups, rather than just those that store information related to the application.
[0116] In one or more embodiments of the present invention, all virtual disk-level backups associated with a virtual machine are used to recover an application by sending copies of all virtual disk-level backups to a production host. The production host can use all virtual disk-level backups during application recovery.
[0117] The method may end after step 408 .
[0118] By implementing Figure 4 The method can perform application-level recovery by selectively obtaining backup data. Compared with a method for performing recovery services without selectively obtaining backup data, this can reduce the amount of computation used to provide application-level recovery services.
[0119] As discussed above, the production host may generate backups and / or application data maps. Figure 5 1 is a flow chart showing a method according to one or more embodiments of the present invention. Figure 5 The method shown in can be used to respond to a backup generation request. Figure 5 The method shown can be used by, for example, a production host (e.g. Figure 1 120) is executed. Without departing from the present invention, Figure 1 Other components of the system shown may perform Figure 5 All or part of the method.
[0120] although Figure 5 Shown as a series of steps, 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 parallel and / or in a partially overlapping manner without departing from the invention.
[0121] In step 500, a backup request for an entity is obtained.
[0122] In one or more embodiments of the present invention, a backup request may be obtained from a remote agent. The remote agent may send the request according to the entity's backup schedule.
[0123] In one or more embodiments of the present invention, the entity is a virtual machine. The entity can host an application. The application can store application data in one or more virtual disks of the virtual machine.
[0124] In step 502, a virtual disk-level backup is generated for each virtual disk associated with the entity. As described above, an entity can have any number of associated virtual disks. One or more virtual disks can include application data associated with an application hosted by the entity.
[0125] In step 504, each application hosted by the entity that generates the aggregate data structure is identified.
[0126] In one or more embodiments of the present invention, an aggregate data structure is a repository of data utilized by an application. For example, a database may be an aggregate data structure for a database application. In another example, an email archive may be an aggregate data structure for an email application.
[0127] In step 506, the virtual disks associated with the aggregate data structure utilized by each application are identified. In other words, the associations between the virtual disks in the applications that utilize the storage resources of the virtual disks are identified.
[0128] In step 508 , an application data map is generated that associates each application, a corresponding aggregate data structure, and a corresponding virtual disk-level backup.
[0129] In one or more embodiments of the present invention, a data map is generated by obtaining a UUID associated with a virtual disk-level backup from a backup storage device. The data map can be generated by creating a list including entries. Each entry can include an application identifier and one or more UUIDs. The one or more UUIDs can be associated with a virtual disk-level backup that includes any amount of application data for the application identified by the application identifier.
[0130] The virtual disk level backup and data map can be provided to the backup storage device in response to a backup request for the entity.The aforementioned data structure can be used to perform a restore and selectively retrieve backup data associated with the application.
[0131] The method may end after step 508 .
[0132] In order to further illustrate the embodiments of the present invention, Figures 6.1 to 6.7 Non-limiting examples are provided in FIG. Each of these figures may show the same Figure 1 For simplicity, the system shown in Figures 6.1 to 6.7Each of the Figure 1 A system with a finite number of components.
[0133] Example
[0134] Consider Figure 6.1 1. The production host (600) is providing a computer-implemented service to a client (not shown). To provide the computer-implemented service, the production host (600) hosts a virtual machine (602). The virtual machine (602) hosts a database application (602.2) and an email application (602.4). Each of these applications stores corresponding application data in a first virtual disk (604) and a second virtual disk (606). Specifically, the database application (602.2) stores database application data (604.2) in the first virtual disk (604). Similarly, the email application (602.4) stores email application data (606.2) in the second virtual disk (606).
[0135] In order to provide data protection services, the backup storage device (620) is assigned the task of storing backups from the production host (600). To this end, the backup storage device (620) includes a deduplicated data repository (622).
[0136] exist Figure 6.2 At a first point in time, a production host (600) receives an instruction from a remote agent (not shown) to generate a backup for a virtual machine (602). In response to the instruction, the production host (600) generates a virtual machine backup (610) for the virtual machine (602). The virtual machine backup (610) includes a first virtual disk backup for a first virtual disk (604) and a second virtual disk backup associated with a second virtual disk (606).
[0137] In addition, the production host (600) generates an application data map (608). To generate the application data map (608), the production host (600) contacts the backup storage device (620) to obtain UUID 1, which the backup storage device (620) will associate with the first virtual disk copy, and UUID 2, which the backup storage device (620) will associate with the second virtual disk copy. Using the obtained identifiers, the production host (600) adds associations to the application data map to specify that the database application (602.2) is associated with UUID 1 and the email application (602.4) is associated with UUID 2.
[0138] After generating the application data map (608) and the virtual machine backup (610), the production host (600) sends the above data structure to the backup storage device (620). By using the above data structure, the backup storage device (620) can backup the virtual machine ( Figure 6.2 610) and store it in a containerized format in a deduplicated repository (622) to generate a containerized backup (622.2), such as Figure 6.3 In addition, the backup storage device (620) uses the application data map ( Figure 6.2 608) generates a global application data map (624). Figure 6.3 In the state shown, the system is able to perform application level backups using both containerized backups and (622.2) and global application data mapping.
[0139] like Figure 6.4 At the second time point shown, the production host (600) fails. As a result, the client that is currently accessing services from the production host (600) cannot obtain the desired services. However, the database services provided by the production host (600) are very valuable. Therefore, the client requests to restore access to the database services.
[0140] In order to restore access to the database service, the remote agent (not shown) initiates a recovery process for the database application. To this end, the remote agent (not shown) sends a command to the second production host (630), such as Figure 6.5 To perform a recovery of the database application. Figure 6.5 As can be seen in FIG, the second production host (630) already has a second virtual machine (632) hosting a copy (632.2) of the database application. However, the copy (632.2) of the database application does not have the application data that allows it to provide database services.
[0141] To place the replica of the database application (632.2) in a state where it can provide the desired database service, the second production host (630) performs an application-level recovery on the replica of the database application (632.2). To perform the application-level recovery, the second production host (630) sends a request to the backup storage device (620) for data that can be used to perform the application-level recovery.
[0142] In response to the request, the backup storage device (620) uses the global application data map to identify that such data is included in the first virtual drive copy included in the containerized backup (622.2). The backup storage device (620) achieves this identification by searching the global application data map (624) for all UUIDs associated with the database application. The backup storage device (620) identifies that UUID 1 is associated with the database application. The backup storage device (620) further identifies that the global application data map (624) includes first access information associated with UUID 1. Using the first access information, the backup storage device (620) obtains the first virtual disk copy from the containerized backup (622.2), mounts the first virtual disk copy locally, and provides remote access to the first virtual disk.
[0143] like Figure 6.6 As shown, by using remote access, the second production host (630) obtains a copy of the first virtual disk copy (636). By using the first virtual disk copy (636), the second production host (630) restores the application data for the copy (632.2) of the database application and stores the restored database application (634.2) in the third virtual disk (634), as shown. Figure 6.7 shown.
[0144] After obtaining the recovered database application data (634.2), the replica of the database application (632.2) is able to connect to the now unavailable production host ( Figure 6.1 600) hosted database applications ( Figure 1 602.2) provides database services in the same manner as previously done.
[0145] End of the example
[0146] As from Figures 6.1 to 6.7 As can be seen, embodiments of the present invention can provide a computationally efficient method for obtaining a limited amount of data from a deduplicated repository that can be used to selectively restore an application to a previous state. By doing so, the computational cost of restoring an application can be reduced compared to recovery methods that may use larger amounts of data.
[0147] Figure 1 Any component of can 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 independent and / or different computing devices. As discussed above, embodiments of the present invention can be implemented using computing devices. Figure 7A diagram of a computing device according to one or more embodiments of the present invention is shown. The computing device (700) may include one or more computer processors (702), non-persistent storage (704) (e.g., volatile memory such as random access memory (RAM), cache memory), persistent storage (706) (e.g., a hard disk, an optical drive (such as a compact disc (CD) drive or a digital versatile disc (DVD) drive), flash memory, etc.), a communication interface (712) (e.g., a Bluetooth interface, an infrared interface, a network interface, an optical interface, etc.), an input device (710), an output device (708), and many other elements (not shown) and functions. Each of these components is described below.
[0148] In one embodiment of the present invention, the computer processor (702) 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 (700) may also include one or more input devices (710), 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 (712) may include an integrated circuit for connecting the computing device (700) 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 to another device (such as another computing device).
[0149] In one embodiment of the present invention, the computing device (700) may include one or more output devices (708), such as a screen (e.g., a liquid crystal display (LCD), a plasma display, a touch screen, a cathode ray tube (CRT) display, a projector, or other display device), a printer, an external storage device, or any other output device. The one or more 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 (702), the non-persistent storage device (704), and the permanent storage device (706). Many different types of computing devices exist, and the aforementioned input and output devices may take other forms.
[0150] Embodiments of the present invention can provide a system that provides data protection services across an entire distributed architecture. By providing data protection services, failures in any component of the system can be repaired without causing a failure of the entire system. Furthermore, embodiments of the present invention can provide a computationally efficient method for performing recovery on entities in a distributed system. Specifically, embodiments of the present invention reduce the total amount of data required for recovery by selectively retrieving portions of backup data.
[0151] Another embodiment of the present invention may provide a method for storing backup data in a small storage footprint format while still being able to achieve a degree of selectivity in retrieving a portion of the backup data while storing in the small storage footprint format. By doing so, the computational cost of performing selective restores may be reduced while still achieving the benefits of storing the backup data in the small storage footprint format.
[0152] Therefore, embodiments of the present invention can solve the problem of limited availability of computing resources. Specifically, embodiments of the present invention can improve the efficiency of providing backup services for entities in a distributed system.
[0153] 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 other than those discussed herein.
[0154] 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.
[0155] 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 can be designed which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the present invention should be limited only by the appended claims.
Claims
1. A backup storage device, comprising: Persistent storage device, which is used to store: Backup of the entity, and Global application data mapping; and A backup manager that is programmed to: obtaining a restore request for restoring an application hosted by one of the entities; determining to accelerate the recovery based at least in part on the application; In response to the determination: identifying a virtual disk-level copy of an entity associated with the application using the global application data map; Retrieving the virtual disk-level backup from the backup of the entity; Mounting the virtual disk-level backup to a backup storage device; providing remote access to the mounted virtual disk-level backup for a virtual machine hosted by a production host and hosting a copy of the application; instantiating a new virtual disk using the remote access, the new virtual disk including only data from the virtual disk-level backup and associated with the application in the production host; and The application is restored using the new virtual disk.
2. The backup storage device of claim 1 , wherein using the global application data map to identify the virtual disk-level backup of the entity associated with the application comprises: The global application data map is searched using the identification of the application as a key to obtain a unique identifier associated with the virtual disk-level copy.
3. The backup storage device of claim 2, wherein obtaining the virtual disk-level backup from the backup of the entity comprises: Using the unique identifier associated with the virtual disk-level copy, a plurality of segments are identified, the plurality of segments: is stored in the permanent storage device, and associated with the virtual disk-level backup; and The plurality of fragments are combined to obtain the virtual disk-level copy. The backup storage device of claim 3 , wherein the plurality of segments are stored in a containerized format.
5. The backup storage device according to claim 1, wherein one of the backups comprises: The virtual disk level backup; and Second virtual disk level backup, wherein the virtual disk-level backup is associated with a first virtual disk of one of the entities; The second virtual disk-level copy is associated with the second virtual disk of the entity.
6. The backup storage device of claim 5, wherein the global application data map specifies: The application is associated with the virtual disk level backup; and The application is not associated with the second virtual disk level copy.
7. A method for restoring an application to a previous state using a backup of an entity and a global application data map, comprising: obtaining a restore request for restoring the application hosted by one of the entities; determining to accelerate the recovery based at least in part on the application; In response to the determination: identifying, using the global application data map, a virtual disk-level copy of the entity associated with the application; obtaining said virtual disk-level backup from said backup of said entity; Mounting the virtual disk-level backup to a backup storage device; providing remote access to the mounted virtual disk-level backup for a virtual machine hosted by a production host and hosting a copy of the application; instantiating a new virtual disk using the remote access, the new virtual disk including only data from the virtual disk-level backup and associated with the application in the production host; and The application is restored using the new virtual disk.
8. The method of claim 7, wherein using the global application data map to identify the virtual disk-level copy of the entity associated with the application comprises: The global application data map is searched using the identification of the application as a key to obtain a unique identifier associated with the virtual disk-level copy.
9. The method of claim 8, wherein obtaining the virtual disk-level backup from the backup of the entity comprises: Using the unique identifier associated with the virtual disk-level copy, a plurality of segments are identified, the plurality of segments: is stored in permanent storage, and associated with the virtual disk-level backup; and The plurality of fragments are combined to obtain the virtual disk-level copy.
10. The method of claim 9, wherein the plurality of fragments are stored in a containerized format.
11. The method of claim 7, wherein one of the backups of the entity comprises: The virtual disk level backup; and Second virtual disk level backup, wherein the virtual disk-level backup is associated with a first virtual disk of one of the entities; The second virtual disk-level copy is associated with the second virtual disk of the entity.
12. The method of claim 11, wherein the global application data map specifies: The application is associated with the virtual disk level backup; and The application is not associated with the second virtual disk level copy.
13. A non-transitory computer readable medium comprising computer readable program code which, when executed by a computer processor, enables the computer processor to perform a method for restoring an application to a previous state using a backup of an entity and a global application data map, the method comprising: obtaining a restore request for restoring the application hosted by one of the entities; determining to accelerate the recovery based at least in part on the application; In response to the determination: identifying, using the global application data map, a virtual disk-level copy of the entity associated with the application; obtaining said virtual disk-level backup from said backup of said entity; Mounting the virtual disk-level backup to a backup storage device; providing remote access to the mounted virtual disk-level backup for a virtual machine hosted by a production host and hosting a copy of the application; instantiating a new virtual disk using the remote access, the new virtual disk including only data from the virtual disk-level backup and associated with the application in the production host; and The application is restored using the new virtual disk.
14. The non-transitory computer-readable medium of claim 13, wherein using the global application data map to identify the virtual disk-level copy of the entity associated with the application comprises: The global application data map is searched using the identification of the application as a key to obtain a unique identifier associated with the virtual disk-level copy.
15. The non-transitory computer-readable medium of claim 14, wherein obtaining the virtual disk-level backup from the backup of the entity comprises: Using the unique identifier associated with the virtual disk-level copy, a plurality of segments are identified, the plurality of segments: is stored in permanent storage, and associated with the virtual disk-level backup; and The plurality of fragments are combined to obtain the virtual disk-level copy.
16. The non-transitory computer-readable medium of claim 15, wherein the plurality of segments are stored in a containerized format.
17. The non-transitory computer-readable medium of claim 13, wherein one of the backups of the entity comprises: The virtual disk level backup; and Second virtual disk level backup, wherein the virtual disk-level backup is associated with a first virtual disk of one of the entities; The second virtual disk-level copy is associated with the second virtual disk of the entity.
Citation Information
Patent Citations
Application and file system data virtualization from image backup
US8510271B1
Systems and methods for restoring application data
US9658925B1
