Patent ID: 8600945

Claim:
A computer program product for use in journal based replication replicating a consistency group on a production site to a replicated consistency group on a replication site; wherein each of the consistency groups is enabled to comprise Logical Unit Numbers (LUNs); the program product comprising: a non-transitory computer readable medium encoded with computer executable program code for execution on one or more processors for replication of data, the code configured to enable execution of: executing an action selected from a group consisting of removing a LUN from the consistency group on the production site and adding a LUN to the consistency group on the production site; wherein a copy of Input/Output (IO) directed to the consistency group on the production site is split to the replication site; wherein the action is performed maintaining a journal on the replication site tracking the changes to the consistency group at the production site on the replication site; wherein the journal enables the replicated consistency group on the replication site to be rolled to a Point In Time (PIT) within a protection window by applying data in the journal to the consistency group; rolling the replicated consistency group on the replication site to a PIT using the journal; determining if the time of the PIT is before the time the LUN was added; based on a negative determination that the PIT is before the time the LUN was added, exposing the consistency group at the PIT on the replication site; and based on a positive determination; not exposing the added LUN in the consistency group at exposed PIT.