Patent ID: 7739464

Claim:
A method comprising: initiating a process to copy a plurality of data blocks to a backup memory, wherein before a last data block of the plurality of data blocks is copied to the backup memory in accordance with the process, generating first and second transactions to overwrite existing first and second data, respectively, of first data and second data blocks, respectively, of the plurality of data blocks, before overwriting the existing first data, copying the existing first data to a first memory, before overwriting the existing second data, copying the existing second data to the first memory, wherein the existing first data is copied to the first memory before the existing second data is copied to the first memory, overwriting the existing first data of the first data block with new first data, overwriting the existing second data of the second data block with new second data, wherein the existing first data is overwritten before the existing second data is overwritten, copying the new first data to a second memory, copying the new second data to the second memory, wherein the new second data is copied before or after the new first data is copied to the second memory, and copying the first and second data blocks to the backup memory, wherein the first and second data blocks comprise the new first and new second data, respectively, when they are copied to the backup memory; and overwriting the new first and the new second data stored in the backup memory with copies of the existing first and second data, respectively, from the first memory after the last data block is copied to the backup memory in accordance with the process, wherein the new second data copied to the backup memory is overwritten with the copy of the existing second data from the first memory before the new first data copied to the backup memory is overwritten with the copy of the existing first data from the first memory.