Patent attributes
In one example, a method is provided for creating an inversion patch that can be used to locally restore a file to an earlier version of that file. Initially, a datacenter receives information concerning a target file version that resides at the datacenter and that is associated with a file stored locally at a client. The information includes an identification of the file and an identification of the target file version. Next, byte ranges are identified that are affected by changes that took place with respect to the file after the target file version was created. The byte ranges are then combined to form a unified set of byte ranges. Finally, the original content of the byte ranges in the unified set is identified and used to create the inversion patch.