Method, system, and program for reverse restore of an incremental virtual copy
First Claim
1. A method for applying changes back to an original copy of data to reduce an amount of data transferred, comprising:
- maintaining a first indicator for each block of data in a first storage to indicate whether the block of data has been updated in the first storage since the block of data was last transferred to a second storage;
maintaining a second indicator for each block of data in the second storage to indicate whether the block of data has been updated in the second storage since the block of data in the second storage was overwritten by a corresponding block of data in the first storage;
maintaining a third indicator for each block of data in the second storage to indicate whether a corresponding block of data in the first storage or a block of data in the second storage is to be retrieved for a stage operation; and
upon receiving a reverse restore operation,transferring each block of data in the second storage for which a second indicator has been set to indicate that the block of data has been updated to the first storage; and
transferring each block of data in the second storage that corresponds to a block of data in the first storage for which a first indicator has been set to indicate that the block of data in the first storage has been updated to the first storage.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a technique for applying changes back to an original copy of data to reduce an amount of data transferred. A first indicator is maintained for each block of data in a first storage to indicate whether the block of data has been updated in the first storage since the block of data was last transferred to a second storage. A second indicator is maintained for each block of data in the second storage to indicate whether the block of data has been updated in the second storage since the block of data in the second storage was overwritten by a corresponding block of data in the first storage. Upon receiving a reverse restore operation, each block of data in the second storage for which a second indicator has been set to indicate that the block of data has been updated is transferred to the first storage and each block of data in the second storage that corresponds to a block of data in the first storage for which a first indicator has been set to indicate that the block of data in the first storage has been updated is transferred to the first storage.
-
Citations
27 Claims
-
1. A method for applying changes back to an original copy of data to reduce an amount of data transferred, comprising:
-
maintaining a first indicator for each block of data in a first storage to indicate whether the block of data has been updated in the first storage since the block of data was last transferred to a second storage; maintaining a second indicator for each block of data in the second storage to indicate whether the block of data has been updated in the second storage since the block of data in the second storage was overwritten by a corresponding block of data in the first storage; maintaining a third indicator for each block of data in the second storage to indicate whether a corresponding block of data in the first storage or a block of data in the second storage is to be retrieved for a stage operation; and upon receiving a reverse restore operation, transferring each block of data in the second storage for which a second indicator has been set to indicate that the block of data has been updated to the first storage; and transferring each block of data in the second storage that corresponds to a block of data in the first storage for which a first indicator has been set to indicate that the block of data in the first storage has been updated to the first storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for copying data, comprising:
-
maintaining a first indicator for each source block of data to indicate whether the source block of data has been updated in source storage since the source block of data was last transferred to target storage; maintaining a second indicator for each target block of data in target storage to indicate whether the target block of data has been updated in target storage since the target block of data was overwritten by a corresponding source block of data; maintaining a third indicator for each target block of data to indicate whether the source block of data or a corresponding target block of data is to be retrieved for a stage operation; reversing an indication of which storage is to be treated as source storage and which storage is to be treated as target storage, wherein the source storage comprises new target storage and the target storage comprises new source storage, and wherein each source block of data is treated as a new target block of data and each target block of data is treated as a new source block of data; transferring to the new target storage each new source block of data for which a second indicator has been set to indicate that the new source block of data has been updated; and transferring to the new target storage each new source block of data that corresponds to a new target block of data for which a first indicator has been set to indicate that the new target block of data has been updated.
-
-
10. An article of manufacture for applying changes back to an original copy of data to reduce an amount of data transferred, wherein the article of manufacture causes operations, the operations comprising:
-
maintaining a first indicator for each block of data in a first storage to indicate whether the block of data has been updated in the first storage since the block of data was last transferred to a second storage; maintaining a second indicator for each block of data in the second storage to indicate whether the block of data has been updated in the second storage since the block of data in the second storage was overwritten by a corresponding block of data in the first storage; maintaining a third indicator for each block of data in the second storage to indicate whether a corresponding block of data in the first storage or a block of data in the second storage is to be retrieved for a stage operation; and upon receiving a reverse restore operation, transferring each block of data in the second storage for which a second indicator has been set to indicate that the block of data has been updated to the first storage; and transferring each block of data in the second storage that corresponds to a block of data in the first storage for which a first indicator has been set to indicate that the block of data in the first storage has been updated to the first storage. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. An article of manufacture for copying data, wherein the article of manufacture causes operations, the operations comprising:
-
maintaining a first indicator for each source block of data to indicate whether the source block of data has been updated in source storage since the source block of data was last transferred to target storage; maintaining a second indicator for each target block of data in target storage to indicate whether the target block of data has been updated in target storage since the target block of data was overwritten by a corresponding source block of data; maintaining a third indicator for each target block of data to indicate whether the source block of data or a corresponding target block of data is to be retrieved for a stage operation; reversing an indication of which storage is to be treated as source storage and which storage is to be treated as target storage, wherein the source storage comprises new target storage and the target storage comprises new source storage, and wherein each source block of data is treated as a new target block of data and each target block of data is treated as a new source block of data; transferring to the new target storage each new source block of data for which a second indicator has been set to indicate that the new source block of data has been updated; and transferring to the new target storage each new source block of data that corresponds to a new target block of data for which a first indicator has been set to indicate that the new target block of data has been updated. - View Dependent Claims (17, 18)
-
-
19. A system for applying changes back to an original copy of data to reduce an amount of data transferred, comprising:
-
means for maintaining a first indicator for each block of data in a first storage to indicate whether the block of data has been updated in the first storage since the block of data was last transferred to a second storage; means for maintaining a second indicator for each block of data in the second storage to indicate whether the block of data has been updated in the second storage since the block of data in the second storage was overwritten by a corresponding block of data in the first storage; means for maintaining a third indicator for each block of data in the second storage to indicate whether a corresponding block of data in the first storage or a block of data in the second storage is to be retrieved for a stage operation; and upon receiving a reverse restore operation, means for transferring each block of data in the second storage for which a second indicator has been set to indicate that the block of data has been updated to the first storage; and means for transferring each block of data in the second storage that corresponds to a block of data in the first storage for which a first indicator has been set to indicate that the block of data in the first storage has been updated to the first storage. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A system for reducing an amount of data transferred and copying data, comprising:
-
means for maintaining a first indicator for each source block of data to indicate whether the source block of data has been updated in source storage since the source block of data was last transferred to target storage; means for maintaining a second indicator for each target block of data in target storage to indicate whether the target block of data has been updated in target storage since the target block of data was overwritten by a corresponding source block of data; means for maintaining a third indicator for each target block of data to indicate whether the source block of data or a corresponding target block of data is to be retrieved for a stage operation; means for reversing an indication of which storage is to be treated as source storage and which storage is to be treated as target storage, wherein the source storage comprises new target storage and the target storage comprises new source storage, and wherein each source block of data is treated as a new target block of data and each target block of data is treated as a new source block of data; means for transferring to the new target storage each new source block of data for which a second indicator has been set to indicate that the new source block of data has been updated; and means for transferring to the new target storage each new source block of data that corresponds to a new target block of data for which a first indicator has been set to indicate that the new target block of data has been updated. - View Dependent Claims (26, 27)
-
Specification