Patent ID: 7831550

Claim:
A method comprising: replicating data from a first volume to a second volume, wherein the replicating comprises copying to the second volume only data from regions of the first volume that are modified by application-driven update operations, and the application-driven update operations are initiated by an application managing data in the first volume; while the replicating the data from the first volume is being performed, detecting a change to a first region of the first volume, wherein the change is caused by a restore operation to restore the first volume from a third volume, the restore operation is not an application-driven update operation initiated by the application, the change is detected by detecting the restore operation and accessing a restoration data structure, the restoration data structure identifies regions of the first volume that are not synchronized with the third volume, and the change to the first region caused by the restore operation is not designated for replication from the first volume to the second volume at the time of the detecting; in response to the detecting, adding information identifying the first region to a replication data structure, wherein the adding comprises combining the replication data structure with the restoration data structure, the replication data structure identifies regions of the first volume that are designated for replication to the second volume, the regions of the first volume designated for replication to the second volume are regions of the first volume that are modified by application-driven update operations and the first region of the first volume changed by the restore operation, and the adding is performed while the replicating is being performed; and in response to the adding the information to the replication data structure, replicating data modified by the restore operation from the first region of the first volume to the second volume, wherein the replicating the data from the first region is performed while the replication of the data modified by the application-driven update operations from the first volume is ongoing, and the replicating the data from the first volume, the detecting, the adding, and the replicating the data from the first region are performed by a computing device implementing a replication facility.