USPatent applicationPatented

Method of restoring backup data

Granted 23 Jun 2015 · 7 office actions

Application· this page
10/997,020
filed 23 Nov 2004
Publication
Not published
not published
Patent
US 9,063,898
granted 23 Jun 2015

Life of the application

24 dated events
⤢ drag to zoom2006200820102012201420162018202020222024ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

An embodiment of a method of restoring backup data comprises first and second steps that preferably are executed at least partially in parallel. The first step restores an incremental backup. The second step selectively restores a full backup. The selective restoration of the full backup disregards units of data that were restored from the incremental backup and restores a remainder of the full backup. In an alternative embodiment, the first step precedes the second step. In another alternative embodiment, the selective restoration of the full backup accesses a table that indicates the units of data contained in the incremental backup to determine which units of data to disregard in the full backup.

Description

6 parts
›FIELD OF THE INVENTION

The present invention relates to the field of data storage. More particularly, the present invention relates to the field of data storage where backup copies of data are used to restore corrupted or lost data.

›BACKGROUND OF THE INVENTION

Data is frequently protected by making a backup of the data. A full backup copies an entire data set. A cumulative incremental backup copies data modified since the most recent full backup. A differential incremental backup copies data modified since the most recent backup of any kind. Typically, the storage media for backups is tape. However, other media such as disks can be used. If data is lost, it may be restored using the most recent full backup and appropriate incremental backups that follow it. If data is corrupted or it is desired to obtain previously deleted data, a full backup and appropriate incremental backups may be used to restore data to its state at some point-in-time.

To restore data from a full backup and one or more incremental backups, the full backup is restored and then the incremental backups are restored in the order that they were made. For example, consider a backup technique that makes a full backup on Sunday, differential incremental backups on Monday, Tuesday, Thursday, and Friday, and a cumulative incremental backup on Wednesday. If data is lost on Friday before the Friday incremental backup, the Sunday full backup is restored followed by the Wednesday cumulative incremental backup and then the Thursday differential incremental backup. This may take a considerable amount of time. It may also include restoring particular data blocks or files multiple times if they are opened and saved often. While the need to restore backup data is rare, when the need does arise there is often a desire to accomplish the restoration quickly.

What is needed is a method of efficiently restoring backup data.

›SUMMARY OF THE INVENTION

The present invention comprises a method of restoring backup data. According to an embodiment, the method comprises first and second steps that preferably are executed at least partially in parallel. The first step restores an incremental backup. The second step selectively restores a full backup. The selective restoration of the full backup disregards units of data that were restored from the incremental backup and restores a remainder of the full backup. In an alternative embodiment, the first step precedes the second step. In another alternative embodiment, the selective restoration of the full backup accesses a table that indicates the units of data contained in the incremental backup to determine which units of data to disregard in the full backup.

According to another embodiment, the method of restoring the backup data begins with a step of accessing units of data from a plurality of incremental backups and a full backup at least partially in parallel. For each unit of data accessed from the incremental backups, the method employs a step of writing an incremental timestamp and restoring the unit of data if a later incremental timestamp for the unit of data is not present. For each unit of data accessed from the full backup, the method employs a step of restoring the unit of data if the incremental timestamp for the unit of data is not present.

According to embodiments, the units of data comprise data blocks, files, database records, or some other unit of data.

These and other aspects of the present invention are described in more detail herein.

›BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is described with respect to particular exemplary embodiments thereof and reference is accordingly made to the drawings in which:

FIG. 1 schematically illustrates an embodiment of a storage system that employs a method of restoring backup data of the present invention;

FIG. 2 illustrates an embodiment of a method of restoring backup data of the present invention as a flow chart;

FIG. 3 illustrates an embodiment of a method of restoring backup data of the present invention as a flow chart; and

FIG. 4 illustrates an embodiment of a method of restoring backup data of the present invention as a flow chart.

›DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT · 1 of 2

The present invention comprises a method of restoring backup data. The backup data comprises a full backup and one or more incremental backups. The full backup is a copy of a data set. For example, the data set may be a storage volume. Alternatively, the data set may be a portion of a storage volume or multiple storage volumes. The incremental backups are copies of modified data within the data set. An incremental backup may be a cumulative incremental backup or a differential incremental backup. The cumulative incremental backup is a copy of data that was modified after making the full backup. The differential incremental backup is a copy of data that was modified after making a prior backup, regardless of whether it was a full backup, a differential incremental backup, or a cumulative incremental backup.

The method of restoring backup data of the present invention may be employed on a range of computer systems. For example, it may be employed on an individual computer (e.g., a personal computer) that includes a storage device and one or more backup storage devices. It may be employed in a network environment that includes network-attached storage and one or more backup storage devices. Or, it may be employed in a storage system that includes disk arrays and a tape library.

An embodiment of a storage system that employs the method of restoring backup data of the present invention is illustrated schematically in FIG. 1 . The storage system 100 comprises host computers 102 , disk arrays 104 , a tape library 106 , a LAN (local area network) 108 , and a SAN (storage area network) 110 . The LAN 108 couples the host computers 102 together. The SAN 110 couples the host computers 102 to the disk arrays 104 and the tape library 106 . The disk arrays 104 may be divided into storage volumes. In normal operation, clients 112 , which couple to the LAN 108 directly or via a WAN 114 , access the disk arrays 104 . Periodically, the tape library 106 makes backups of data within the disk arrays 104 .

The tape library 106 comprises tape storage devices (i.e., tape drives) 116 and tapes 118 . A mechanism (not shown) moves the tapes 118 between a tape magazine 120 and the tape storage devices 116 . The tape library 106 may perform backups of multiple storage volumes simultaneously using the tape storage devices 116 . For example, four of the tape storage devices 116 may backup four storage volumes simultaneously. Alternatively, four of the tape storage devices 116 may backup four portions of one or more storage volumes simultaneously. (Note that while the tape library 106 is depicted with four of the tape storage devices it may include more or less of the tape storage devices 116 .)

An embodiment of a method of restoring backup data of the present invention is illustrated as a flow chart in FIG. 2 . The method 200 comprises first and second steps, 202 and 204 , which preferably take place at least partially in parallel. Alternatively, the first step 202 precedes the second step 204 . In the first step 202 , the method 200 restores an incremental backup, which comprises units of data. The units of data may be data blocks, files, database records, or some other data units such as bytes or words (i.e., a plurality of bytes). The first step 202 includes storing an indicator for each unit of data restored from the incremental backup. The indicator may be a bit, a flag, a timestamp, or some other indicator.

In the second step 204 , the method 200 selectively restores a full backup. This includes disregarding units of data that have been restored from the incremental backup and restoring a remainder of the full backup. The method 200 determines which units of data have been restored from the incremental backup by looking for the indicator for each of the units of data that is about to be restored. During a parallel instantiation of the first and second steps, 202 and 204 , the second step 204 may restore one or more particular units of data that are contained within both the full backup and the incremental backup but which have not yet been restored from the incremental backup. Since the first step 202 restores the incremental backup, the one or more particular units of data restored from the full backup in the second step 204 will be overwritten in the first step 202 .

The method 200 may be employed to restore a most recent incremental backup. For example, a failure of a storage array will generally be recognized as soon as it occurs. In such a situation, if the most recent incremental backup is a cumulative incremental backup, restoring it along with the full backup will restore data to its most recently backed up state. Alternatively, the method 200 may be employed to restore a point-in-time incremental backup. For example, a security attack may corrupt data over several incremental backups before the security attack is recognized. In such a situation, if the point-in-time incremental backup immediately preceding the security attack is a cumulative incremental backup, restoring it along with the full backup will restore data to a pre-attack backed up state.

Another embodiment of a method of restoring backup data of the present invention is illustrated in FIG. 3 as a flow chart. The method 300 comprises first through third steps, 302 . . . 306 . In an embodiment, the second and third steps, 304 and 306 , are performed at least partially in parallel. In other embodiments, the second step 304 precedes the third step 306 or the third step 306 precedes the second step 304 . While the second step 304 may precede the first step 302 , the third step 306 either executes in parallel with the first step 302 or follows the first step 302 .

In an embodiment, the method 300 begins with the first step 302 of accessing a table that indicates which units of data are contained within an incremental backup. Preferably, the table resides on the storage media that holds the incremental backup. More preferably, the table precedes the incremental backup so that it may be conveniently accessed prior to restoring the incremental backup. Alternatively, the table resides elsewhere. For example, the table may reside on the storage media that holds the full backup. In the second step 304 , the method restores the incremental backup. In the third step 306 , the method 300 selectively restores the full backup by disregarding the units of data indicated in the table and restoring a remainder of the units of data within the full backup.

›DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT · 2 of 2

Another embodiment of a method of restoring backup data of the present invention is illustrated as a flow chart in FIG. 4 . The method 400 comprises restoring a most recent incremental backup in first step 402 , selectively restoring a full backup in a second step 404 , and selectively restoring one or more interim incremental backups in a third step 406 or third through nth steps, 406 . . . 408 . The most recent incremental backup may be the most recently stored interim backup or it may be a backup that is most recent to some point-in-time. The one or more interim incremental backups comprise incremental backups made at times in between the time that the full backup was made and the time that the most recent incremental backup was made. In an embodiment, the first through nth steps, 402 . . . 408 , take place at least partially in parallel. In other embodiments, groups of the first through nth steps, 402 . . . 408 , take place at least partially in parallel. In another embodiment, the first through nth steps, 402 . . . 408 , take place serially: The most recent incremental backup is restored prior to restoring other backups (the first step 402 ), the interim incremental backups are restored in order of most recent to most distant (the first through nth steps, 404 . . . 408 ), and the full backup is restored last (the second step 404 ).

In the first step 402 , the method 400 restores the most recent incremental backup. In the third through nth steps, 406 . . . 408 , the method 400 selectively restores the one or more interim incremental backups by disregarding units of data that have been restored from a more recent incremental backup and restoring a remainder of the units of data within the interim incremental backups. In the second step 404 , the method 400 selectively restores the full backup by disregarding the units of data that have been restored from the incremental backups and restoring a remainder of the units of data within the full backup.

In an embodiment, the method 400 stores a timestamp for each unit of data restored from the incremental backups. The timestamp indicates which incremental backup restored the unit of data. Preferably, the timestamp indicates the hierarchy of incremental backups while avoiding superfluous information. (Alternatively, the timestamp indicates day of the week and time, or date and time, or some other unique timestamp.) For example, if any restoration of data by the method 400 restores data from the most recent incremental backup, two interim incremental backups, and a full backup, a two-bit timestamp suffices. In this example, backups may be made on a weekly schedule with a full backup on Sunday, differential incremental backups on Monday and Tuesday, a cumulative incremental backup on Wednesday, and differential incremental backups on Thursday and Friday.

If the restoration restores backup data to a time prior to the Wednesday backup, the Monday and Tuesday differential incremental backups may be indicated by zero and one (0 and 1), respectively. If the restoration restores backup data to a time subsequent to the Wednesday backup, the Wednesday cumulative incremental backup may be indicated by zero (00), and the Thursday and Friday differential incremental backups may be indicated by one and two (01 and 10). A similar scheme using the two-bit timestamp may be implemented in which a differential incremental backup is made on Wednesday, the cumulative backup is made on Thursday, and an additional differential incremental backup is made on Friday.

More generally, an n-bit unique identifier may be used for the timestamp where n is determined from log 2 (no. of incremental backups to be restored) rounded up to an integer. For example, if there are six incremental backups to be restored n log 2 (6)=2.585, which is rounded up to 3. Of course, more bits may be allotted for storing the n-bit unique identifiers. For example, three-bit unique identifiers could be stored in byte addresses for convenience. Further, if an n-bit unique identifier suffices and n is less than some number m, m-bit identifiers will also suffice. For example, if the three-bit identifiers suffice, byte identifiers will also suffice.

In another embodiment, a table is associated with each of the incremental backups. Each table indicates the units of data contained within a particular incremental backup. In this embodiment, the third through nth steps, 406 . . . 408 , of selectively restoring the interim incremental backups and the second step of selectively restoring the full backup refer to the tables for more recent incremental backups to determine which units of data to disregard. Preferably, the storage media for each incremental backup includes the table for the incremental backup on the storage media. More preferably, the table precedes the incremental backup so that it may be accessed prior to restoring the incremental backup. Alternatively, the tables are stored on a different storage media such as the storage media that holds the full backup or the storage media that holds the incremental or full backup that is just earlier than the incremental backup that the table lists (e.g., the table for a Tuesday differential incremental backup is placed on the storage media that holds the Monday incremental backup) or on a separate storage media that does not contain any of the backups (e.g., a different disk array).

The foregoing detailed description of the present invention is provided for the purposes of illustration and is not intended to be exhaustive or to limit the invention to the embodiments disclosed. Accordingly, the scope of the present invention is defined by the appended claims.

Claims as granted

20 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section G — Physics
  • G06F11/14
  • G06F7/00
USPC · US Patent Classification
1/1.

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoom20052006200720082009201020112012201320142015USPTOApplicantNon-final rejectionNotice of appeal filedResponse after non-finalNotice of appeal filedRequest for continued examinationResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
10.6 y
3,864 days filing → grant
Office actions
7
non-final + final
Responses
5
1 RCE
Appeals
3
notices of appeal
Examiner
Apu Mofiz
art unit 2161 · TC 2100
Citations: 23 back · 10 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2006200820102012201420162018202020222024Owner 1Owner 3
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock