Patent ID: 9535801
Date: 2017-01-03
CPC Classifications: G06F

Claim:
1. A system for data replication, the system comprising: a storage medium a do data stream wherein the do data stream contains data corresponding to data of IOs split from a production site; do meta data where the do metadata indicates what data of the do stream should be written to an image to move the image to different points in time; an undo data stream, wherein the undo data stream is a stream that contains data that may be used to roll the image of the storage medium to earlier points in time; undo meta data wherein the undo metadata stream has undo metadata that indicates what data of the do stream should be written to an image to move the image to an earlier point in time; the image on the storage medium; and reading the do metadata stream to determine what data is to be written from the do data stream to the image of the storage medium to move the image to a point in time; xcopying data from the image on the storage medium to the undo data stream using a first xcopy command; wherein the parameters for the first xcopy command are created based on the read do meta data; wherein the read do meta data stream indicates is to be overwritten on the storage medium from the do data stream; xcoping the portion of the do stream determined to be over written by other portions of the do stream to the undo data stream using a second xcopy command; wherein the parameters for the second xcopy command are created based on the data in the do meta data stream to make the data corresponding to the portion of the do stream determined to be over written appear as a set of logical units; xcopying data from the do data stream to the image on the storage medium using an third xcopy command; wherein the parameters for the third xcopy command are created based on what data the read do meta data stream indicates is to be written to the image on the storage medium to make the data from the do data stream appear as a set of logical units, wherein each xcopying is able to copy the data of multiple replicated IOs with a single xcopy command; updating the do meta data in the do metadata stream and updating data the undo meta data in the undo metadata stream to indicate that the xcopying has occurred and the image on the storage medium has been rolled to a new point-in-time.