×

System and method for efficient backup using hashes

  • US 7,636,824 B1
  • Filed: 06/04/2007
  • Issued: 12/22/2009
  • Est. Priority Date: 06/28/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for data backup executed on a processor, the method comprising:

  • (a) forming an image of a storage device, wherein contents of blocks of the storage device can be restored from the image;

    (b) for each block stored in the image, storing a hash function value for contents of each block;

    (c) for each block of the storage device to be backed up to an image, generating a hash function value corresponding to contents of that block;

    (d) comparing the hash function values to identify, out of blocks of the storage device, candidate blocks that might have identical contents with contents of blocks stored in the image;

    (e) comparing contents of candidate blocks with contents of corresponding blocks stored in the image;

    (f) for blocks of the storage device with identical contents, storing links in the image instead of the contents of the blocks, wherein links for multiple blocks of the storage device with identical contents point to a single block in the image; and

    (g) backing up, to the image, contents of unidentified blocks and blocks that do not have identical contents, wherein;

    the image of the storage device contains a bitmap of the storage device backup;

    the bitmap contains indicators for use of the links, such that an indicator defines if a block contains the content or if the block points to another block,and the bitmap contains indicators that reflect used and unused blocks such that an indicator of one setting represents a used block whose contents are shared with another block in the image, and a bit of an alternate setting corresponds to an unused block whose contents are unique to every other block in the storage image;

    and the unused blocks do not require backing up of their contents.

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