×

Method and system of restoring items to a database while maintaining referential integrity

  • US 8,606,752 B1
  • Filed: 09/29/2010
  • Issued: 12/10/2013
  • Est. Priority Date: 09/29/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for restoring data to a database, the method comprising:

  • backing up at least a portion of the database, wherein the database stores information including a plurality of hierarchically organized list objects, wherein each of the list objects lists a plurality of items, wherein the hierarchically organized list objects include a chain of three or more list objects beginning at a starting list object and ending at a last list object, wherein each list object of the chain other than the starting list object is dependent on one of the other list objects of the chain, wherein said backing up the at least a portion of the database includes;

    storing, in a backup copy of the database, the plurality of hierarchically organized list objects; and

    generating a dependency map specifying dependencies between the hierarchically organized list objects, wherein the dependency map includes links that link together the chain of three or more list objects;

    detecting a request to restore the starting list object of the chain to the database; and

    in response to the request to restore the starting list object, restoring the chain of three or more list objects based on the dependency map, wherein the three or more list objects are restored in an order starting at the starting list object and ending at the last list object, wherein said restoring the chain comprises performing the following for each respective list object of the chain;

    a) accessing an index of the plurality of hierarchically organized list objects stored within the backup copy of the database to locate the respective list object within the backup copy of the database;

    b) restoring the respective list object to the database; and

    c) determining, from the dependency map, whether the respective list object has a dependent list object;

    wherein said accessing the index, said restoring, and said determining are repeated for the dependent list object if the respective list object has a dependent list object.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×