A typical computer network may have a backup and recovery system for purposes of restoring data (data contained in one or multiple files, for example) on the network to a prior state should the data become corrupted, be overwritten, subject to a viral attack, etc. The backup and recovery system typically includes mass storage devices, such as magnetic tape drives and/or hard drives; and the system may include physical and/or virtual removable storage devices.
For example, the backup and recovery system may store backup data on magnetic tapes, and after a transfer of backup data to a given magnetic tape, the tape may be removed from its tape drive and stored in a secure location, such as in a fireproof safe. The backup and recovery system may alternatively be a virtual tape library-based system that emulates and replaces the physical magnetic tape drive system. In this manner, with a virtual tape library-based system, virtual cartridges, instead of magnetic tapes, store the backup data.
In accordance with example implementations, the backup and recovery system 4 includes a primary storage appliance 20 that stores backup data for the client(s) 90 and a secondary storage appliance 100 that stores copies of this backup data. In this manner, for such purposes of adding an additional layer of backup security, the primary storage appliance 20 may occasionally replicate backup data stored on the primary storage appliance 20 to produce corresponding replicated backup data stored by the secondary storage appliance 100.
Depending on the particular implementation, the primary storage appliance 20 and the secondary storage appliance 100 may be located at the same facility and share a local connection (a local area network (LAN) connection, for example) or may be disposed at different locations and be remotely connected (via a wide area network (WAN) connection, for example). In the example that is depicted in
The client(s) 90 communicate with the primary storage appliance 20 using a communication link 96, such as one or multiple buses or other fast interconnects. The communication link 96 represents one or multiple types of network fabric (i.e., WAN connections, LAN connections wireless connections, Internet connections, and so forth). In general, the client(s) 90 may communicate with the primary storage appliance 20 using one or multiple protocols, such as a serial attach Small Computer System Interface (SCSI) bus protocol, a parallel SCSI protocol, a Universal Serial Bus (USB) protocol, a Fibre Channel protocol, an Ethernet protocol, and so forth.
Depending on the particular implementation, the communication link 96 may be associated with a relatively high bandwidth (a LAN connection, for example), a relatively low bandwidth (a WAN connection, for example) or an intermediate bandwidth. Moreover, a given client 90 may be located at the same facility of the primary storage appliance 20 or may be located at a different location than the primary storage appliance 20, depending on the particular implementation. One client 90 may be local relative to the primary storage appliance 20, another client 90 may be remotely located with respect to the primary storage appliance, and so forth. Thus, many variations are contemplated, which are within the scope of the appended claims.
In accordance with some implementations, the primary storage appliance 20, the secondary storage appliance 100 and the client(s) 90 are “physical machines,” or actual machines that are made up of machine executable instructions (i.e., “software”) and hardware. Although each of the primary storage appliance 20, the secondary storage appliance 100 and the client(s) 90 is depicted in
In accordance with some implementations, the physical machine may be located within one cabinet (or rack); or alternatively, the physical machine may be located in multiple cabinets (or racks).
A given client 90 may include such hardware 92 as one or more central processing units (CPUs) 93 and a memory 94 that stores machine executable instructions 93, application data, configuration data and so forth. In general, the memory 94 is a non-transitory memory, which may include semiconductor storage devices, magnetic storage devices, optical storage devices, and so forth. The client 90 may include various other hardware components, such as one or more of the following: mass storage drives; a network interface card to communicate with the communication link 96; a display; input devices, such as a mouse and a keyboard; and so forth.
A given client 90 may include machine executable instructions 91 that when executed by the CPU(s) 93 of the client 90 form a backup application 97. In general, the backup application 97 performs various functions pertaining to the backing up and restoring of data for the client 90. As a non-exhaustive list of examples, the functions that are performed by the backup application 97 may include one or more of the following: generating backup data; communicating backup data to the primary storage appliance 20; accessing the backup data on the primary storage appliance 20; searching and organizing the storage of backup data on the primary storage appliance 20; reading, writing and modifying attributes of the backup data; monitoring and controlling one or multiple aspects of replication operations that are performed at least in part by the primary storage appliance 20 to replicate backup data onto the secondary storage appliance 100; performing one or more functions of a given replication operation; restoring data or system states on the client 20 during a recovery session; and so forth.
The client 90 may include, in accordance with exemplary implementations that are disclosed herein, a set of machine executable instructions that when executed by the CPU(s) 93 of the client 90 form an application programming interface (API) 98 for accessing the backup and recovery system 4. In general, the API 98 is used by the backup application 97 to communicate with the primary storage appliance 20 for purposes of performing one of the above-recited functions of the application 97.
In accordance with implementations, the client 90 may include a set of machine executable instructions that form an adapter for the backup application 97, which translates commands and requests issued by the backup application 97 into corresponding API commands/requests, and vice versa.
A given client 90 may include other various other sets of machine executable instructions that when executed by the CPU(s) 93 of the client 90 perform other functions. As examples, a given client 90 may contain machine executable instructions for purposes of forming an operating system; a virtual machine hypervisor; a graphical user interface (GUI) to control backup/restore operations; device drivers; and so forth. Thus, many variations are contemplated, which are within the scope of the appended claims.
Being a physical machine, the primary storage appliance 20 also contains hardware 60 and machine executable instructions 68. For example, the hardware 60 of the primary storage appliance 20 may include one or more CPUs 62; a non-transitory memory 80 (a memory formed from semiconductor storage devices, magnetic storage devices, optical storage devices, and so forth) that stores machines executable instructions, application data, configuration data, backup-related data, and so forth; and one or multiple random access drives 63 (optical drives, solid state drives, magnetic storage drives, etc.) that store, back-up related data, application data, configuration data, etc.; one or multiple sequential access mass storage devices (tape drives, for example); network interface cards; and so forth.
As also depicted in
Similar to the primary storage appliance 20, the secondary storage appliance 100 is also a physical machine that contains hardware, such as memory 120; one or more CPU(s); mass storage drives; network interface cards; and so forth. Moreover, the secondary storage appliance 100 also contains machine executable instructions to form various applications, device drivers, operating systems, components to control replication operations, and so forth.
In accordance with implementations that are disclosed herein, the backup and recovery system 4 manages the backup data as “objects” (as compared to managing the backup data as files pursuant to a file based system, for example). As can be appreciated by the skilled artisan, an “object” is an entity that is characterized by such properties as an identity, a state and a behavior; and in general, the object may be manipulated by the execution of machine executable instructions. In particular, the properties of the objects disclosed herein may be created, modified, retrieved and generally accessed by the backup application 97. In accordance with some implementations, the object may have an operating system-defined maximum size.
The objects that are stored in the backup and recovery system 4 may be organized in data containers, or “object stores.” In general, in accordance with exemplary implementations, an object store has a non-hierarchical, or “flat,” address space, such that the objects that are stored in a given object store are not arranged in a directory-type organization.
For the example that is depicted in
The secondary storage appliance 100 stores the replicated backup data in the form of one or multiple replicated objects 126, which are organized, or arranged, in one or multiple object stores 124. In other words, the replicated objects 126 are derived from the objects 86 that are stored on the primary storage appliance 20. Moreover, for the example that is depicted in
During a given backup session, the backup application 97 of a given client 90 accesses the primary storage appliance 20 over the communication link 96 to create, modify (append to, for example) or overwrite one or more of the backup objects 86 for purposes of storing or updating backup data on the primary storage appliance 20. Likewise, during a given restoration session, the backup application 97 of a given client 90 may access the primary storage appliance 20 to retrieve one or more of the backup objects 86. In accordance with some implementations, an object 86 on the primary storage appliance 20 may be restored from a corresponding replicated object 126 stored on the secondary storage appliance 100.
For purposes of reading from or writing to a given object 86, the backup application 97 opens the object 86 and then seeks to a given location of the opened object 86 to read/write a collection of bytes. Moreover, because the data stored in the object 86 may be compressed (as further disclosed herein), the read/writing of data may include reading/writing without first decompressing, or rehydrating, the data; or the reading/writing may alternatively involve first rehydrating the data.
The API 98, in general, provides a presentation of the object stores 84 and objects 86 to the backup application 97, which allows the backup application 97 to search for objects 86, modify objects 86, create objects 86, delete objects 86, retrieve information about certain objects 86, update information about certain objects 86, and so forth. Referring to
As examples, the metadata 150 may indicate one or more of the following for a given associated object 86: an object type; a time/date stamp; state information relating to a job history and the relation of the object 86 to the job history; an identifier for the associated object 86; a related object store for the associated object 86; information pertaining to equivalents to legacy-tape cartridge memory contents; keys; etc. As examples, the object type may refer to whether incremental or full backups are employed for the object 86; identify the backup application 97 that created the object 86; identify the client 90 associated with the object 86; a data type (header data, raw backup data, image data, as examples); and so forth.
Access and control of the objects 86 occurs via interaction with the primary storage appliance's engine 70, the resource manager 74, the store manager 76, the deduplication engine 73 and the tape attach engine 75. In accordance with some exemplary implementations, the engine 70 serves as an external service end point for the communication links 88 and 96 for data path and control. More specifically, in accordance with some implementations, the commands and requests that are issued by the client 90 are processed by the engine 70, and vice versa. As non-limiting examples, the commands that are processed by the engine 70 include commands to open objects, close objects, write to data to objects, overwrite objects, read objects, read object data, delete objects, modify/write metadata-related information about objects, read metadata-information about objects, set preferences and configuration parameters, and so forth. The requests may include, for example, status inquiry requests, such as a request, for example, concerning the status of a particular replication job. The engine 70 further controls whether the backup and recovery system 4 operates in a low bandwidth mode of operation (described below) or in a high bandwidth mode of operation (described below) and in general, controls, replication operations to create/modify the replicated objects 126 on the secondary storage appliance 100.
The resource manager 74 manages the locking of the objects 86 (i.e., preventing modification by more than one entity at a time), taking into account resource constraints (the physical memory available, for example). In general, the resource manager 74 preserves coherency pertaining to object access and modification, as access to a given object 86 may be concurrently requested by more than one entity.
The store manager 76 of the primary storage appliance 20 is responsible for retrieving given object stores 84, controlling entities that may create and delete object stores 84, controlling the access to the object stores, controlling how the object stores 84 are managed, and so forth.
The deduplication engine 73 of the primary storage appliance 20 controls hashing and chunking operations (described below) for the primary storage appliance 20 for the primary storage appliance's high bandwidth mode of operation (also described below). The deduplication engine 73 also checks whether a chunk has already been stored, and hence. decides whether to store the data or reference existing data. The deduplication engine 73 performs this checking for both low and high bandwidth modes, in accordance with exemplary implementations.
The tape attach engine 75 may be accessed by the client 90 for purposes of storing a replicated physical copy of one or more objects 86 onto a physical tape that is inserted into a physical tape drive (not shown in
Referring to
The objects 86 for this example include a header object 86-1, which contains the header information for the particular backup session. As a non-limiting example, the header object 86-1 may contain information that identifies the other objects 86 used in the backup session, identifies the backup session, indicates whether compression is employed, identifies a particular order for data objects, and so forth. The objects 86 for this example further include various data objects (data objects 86-2 . . . 86-P, being depicted in
It is noted that the backup application 97 may randomly access the objects 86. Therefore, unlike backup data stored on a physical or virtual sequential access device (such as a physical tape drive or a virtual tape drive), the backup application 97 may selectively delete data objects 86 associated with a given backup session as the objects 86 expire. Moreover, the backup application 97 may modify a given object 86 or append data to an object 86, regardless of the status of the other data objects 86 that were created/modified in the same backup session.
For purposes of generating the replicated objects 126 that are stored on the secondary storage appliance 100, the backup and recovery system 4 uses data replication operations, called “deduplication operations.” The deduplication operations, in general, reduce the amount of data otherwise communicated across the communication link 88 between the primary storage appliance 20 and the secondary storage appliance 100. Such a reduction may be particularly beneficial when the communication link 88 is associated with a relatively low bandwidth (such as a WAN connection, for example).
For purposes of reducing the amount of data communicated over the communication link 88, the chunk is not communicated across the communication link 88 if the same chunk (i.e., a chunk having a matching or identical byte pattern) is already stored on the secondary storage appliance 100. Instead, a reference to the previously stored chunk is stored in its place in the destination object, thereby resulting in data compression.
For purposes of determining whether a given chunk has already been stored on the secondary storage appliance 100, a signature of the chunk is first communicated to the secondary storage appliance 100. More specifically, in accordance with exemplary implementations, a cryptographic function may be applied to a given candidate chunk for purposes of determining (block 208 of
If a match occurs (decision block 216), the primary storage appliance 20 does not transmit the candidate chunk to the secondary storage appliance 100. Instead, the primary storage appliance 20 transmits a corresponding reference to the already stored chunk to be used in its place in the destination object, pursuant to block 220. Otherwise, if a match does not occur (pursuant to decision block 216), the primary storage appliance 20 transmits the candidate chunk across the communication link 88 to the secondary storage appliance 100, pursuant to block 224. The secondary storage appliance 100 therefore stores either a chunk or a reference to the chunk in the corresponding object 126.
If there is another chunk to process (decision block 228), control returns to block 208. The chunks are therefore processed in the above-described manner until the source data has been replicated in its compressed form onto the secondary storage appliance 100. The data reduction due to the above-described data deduplication operation 200 may be characterized by a data compression, or “deduplication,” ratio.
Referring back to
In the high bandwidth mode of operation, the chunking and hashing functions are performed by the primary storage appliance 20. The high bandwidth mode of operation may be particularly advantageous if the primary storage appliance 20 has a relatively high degree of processing power, the communication link 96 has a relatively high bandwidth (a LAN connection, for example); the deduplication ratio is relatively low; or a combination of one or more of these factors favor the chunking and hashing to be performed by the primary storage appliance 100.
In accordance with some implementations, the backup application 97 may specify a preference regarding whether the low bandwidth or the high bandwidth mode of operation is to be employed. As an example, the preference may be communicated via a command that is communicated between the client 90 and the engine 70. Based on this preference, the engine 70 either relies on the client 90 (for the low bandwidth mode of operation) or on the deduplication engine 73 (for the high bandwidth mode of operation) to perform the chunking and hashing functions.
Referring to
It is noted that replication may occur between differ object stores on the same storage appliance, or even data between two objects within a given object store. Although the entire object may be replicated, a given replication operation may involve replicating part of a given object, rather than the entire object. Moreover, a destination object may be constructed from one or multiple replicated regions from one or multiple source objects; and the destination object may be interspersed with one or multiple regions of data backed up from the client directly to the destination object. Thus, many variations are contemplated, which are within the scope of the appended claims.
The use of objects by the backup and recovery system 4 allows a relatively richer searching and grouping of backup data, as compared to, for example, a virtual tape drive-based system in which the backup data is arranged in files that are stored according to a tape drive format. More specifically, referring to
While a limited number of examples have been disclosed herein, those skilled in the art, having the benefit of this disclosure, will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US2012/029144 | 3/15/2012 | WO | 00 | 10/6/2014 |