# US 2021/0286683 A1 · Pausing and resuming copying of snapshots from a local snapshot lineage to at least one cloud snapshot lineage

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286683 A1
- Document ID: US20210286683A1
- Status: Published application
- Kind: A1
- Application number: 16/814,505
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Mithun Mahendra Varma; Shanmuga Anand Gunasekaran
- Web page: https://patentgrep.com/patent/US20210286683A1

## CPC

- G06F 11/1464: {for networked environments}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 16/185: Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof (details of archiving G06F16/11)
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus comprises a processing device configured to identify a snapshot lineage comprising (i) a local snapshot lineage stored on a storage system and (ii) a cloud snapshot lineage stored on cloud storage of at least one cloud external to the storage system. The processing device is also configured to select a snapshot to be copied from the local snapshot lineage to the cloud snapshot lineage, and to copy the selected snapshot by copying data stored in the local snapshot lineage to a checkpointing cache and, responsive to determining that the copied data in the checkpointing cache has reached a specified checkpoint size, moving the copied data from the checkpointing cache to the cloud storage. The processing device is further configured to maintain, in the checkpointing cache, checkpointing information utilizable for pausing and resuming copying of the selected snapshot from the local snapshot lineage to the cloud snapshot lineage.

## Claims

### Claim 1

An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
the at least one processing device being configured:
to identify a snapshot lineage comprising one or more snapshots of a storage volume, the snapshot lineage comprising (i) a local snapshot lineage stored on at least one of one or more storage devices of a storage system and (ii) at least one cloud snapshot lineage stored on cloud storage of at least one cloud external to the storage system;
to select at least one snapshot that is to be copied from the local snapshot lineage to the at least one cloud snapshot lineage;
to copy the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage by copying data of the selected at least one snapshot stored in the local snapshot lineage to a checkpointing cache comprising a local memory associated with the storage system and, responsive to determining that the copied data of the selected at least one snapshot in the checkpointing cache has reached a specified checkpoint size, moving the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage; and
to maintain, in the checkpointing cache, checkpointing information utilizable for at least one of pausing and resuming copying of the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage, the checkpointing information comprising first metadata characterizing progress of copying data of the selected at least one snapshot from the local snapshot lineage to the checkpointing cache and second metadata characterizing progress of moving the copied data of the selected at least one snapshot from the checkpointing cache to the at least one cloud snapshot lineage.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage comprises resuming copying of data of the selected at least one snapshot from the local snapshot lineage to the checkpointing cache based at least in part on the first metadata.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein the first metadata specifies a last logical block address and size of data of the selected at least one snapshot copied from the local snapshot lineage to the checkpointing cache.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage comprises resuming moving of the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage based at least in part on the second metadata.

### Claim 5 (depends on 4)

The apparatus of claim 4 wherein the second metadata specifies a last committed checkpoint, the last committed checkpoint comprising a portion of the copied data in the checkpointing cache having the specified checkpoint size that has been successfully written to the cloud storage.

### Claim 6 (depends on 5)

The apparatus of claim 5 wherein the second metadata further specifies a current checkpoint, the current checkpoint comprising a portion of the copied data in the checkpointing cache that is currently being written to the cloud storage.

### Claim 7 (depends on 6)

The apparatus of claim 6 wherein resuming moving of the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage based at least in part on the second metadata comprises determining if the current checkpoint is the last committed checkpoint.

### Claim 8 (depends on 7)

The apparatus of claim 7 wherein, responsive to determining that the current checkpoint is the last committed checkpoint, the at least one processing device is configured to create a new checkpoint in the checkpointing cache.

### Claim 9 (depends on 7)

The apparatus of claim 7 wherein, responsive to determining that the current checkpoint is not the last committed checkpoint, the at least one processing device is configured to remove from the cloud storage previously-written data of the current checkpoint and to restart writing of data of the current checkpoint to the cloud storage.

### Claim 10 (depends on 1)

The apparatus of claim 1 wherein moving the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage comprises:
creating a given checkpoint comprising the copied data in the checkpointing cache having the specified checkpoint size;
writing data of the given checkpoint to the cloud storage; and
responsive to successfully writing the data of the checkpoint to the cloud storage, marking the given checkpoint as committed.

### Claim 11 (depends on 1)

The apparatus of claim 1 wherein moving the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage comprises issuing a checkpoint commit responsive to determining that the copied data in the checkpointing cache has reached the specified checkpoint size.

### Claim 12 (depends on 11)

The apparatus of claim 11 wherein issuing the checkpoint commit comprises saving the copied data in the checkpointing cache to the cloud storage of the least one cloud as a set of one or more cloud objects in the at least one cloud snapshot lineage.

### Claim 13 (depends on 1)

The apparatus of claim 1 wherein the storage volume comprises one of:
at least one of the one or more storage devices of the storage system;
a given logical unit provided by at least one of the one or more storage devices;
a consistency group comprising a set of two or more logical units provided by at least one of the one or more storage devices; and
an access-restricted storage group comprising a set of two or more logical units provided by at least one of the one or more storage devices where access to the storage group is limited to one or more designated host devices.

### Claim 14 (depends on 1)

The apparatus of claim 1 wherein the at least one processing device is part of the storage system.

### Claim 15

A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes the at least one processing device to perform steps of:
identifying a snapshot lineage comprising one or more snapshots of a storage volume, the snapshot lineage comprising (i) a local snapshot lineage stored on at least one of one or more storage devices of a storage system and (ii) at least one cloud snapshot lineage stored on cloud storage of at least one cloud external to the storage system;
selecting at least one snapshot that is to be copied from the local snapshot lineage to the at least one cloud snapshot lineage;
copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage by copying data of the selected at least one snapshot stored in the local snapshot lineage to a checkpointing cache comprising a local memory associated with the storage system and, responsive to determining that the copied data of the selected at least one snapshot in the checkpointing cache has reached a specified checkpoint size, moving the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage; and
maintaining, in the checkpointing cache, checkpointing information utilizable for at least one of pausing and resuming copying of the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage, the checkpointing information comprising first metadata characterizing progress of copying data of the selected at least one snapshot from the local snapshot lineage to the checkpointing cache and second metadata characterizing progress of moving the copied data of the selected at least one snapshot from the checkpointing cache to the at least one cloud snapshot lineage.

### Claim 16 (depends on 15)

The computer program product of claim 15 wherein copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage comprises resuming copying of data of the selected at least one snapshot from the local snapshot lineage to the checkpointing cache based at least in part on the first metadata, and wherein the first metadata specifies a last logical block address and size of data of the selected at least one snapshot copied from the local snapshot lineage to the checkpointing cache.

### Claim 17 (depends on 15)

The computer program product of claim 15 wherein copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage comprises resuming moving of the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage based at least in part on the second metadata, and wherein the second metadata specifies a last committed checkpoint, the last committed checkpoint comprising a portion of the copied data in the checkpointing cache having the specified checkpoint size that has been successfully written to the cloud storage.

### Claim 18

A method comprising steps of:
identifying a snapshot lineage comprising one or more snapshots of a storage volume, the snapshot lineage comprising (i) a local snapshot lineage stored on at least one of one or more storage devices of a storage system and (ii) at least one cloud snapshot lineage stored on cloud storage of at least one cloud external to the storage system;
selecting at least one snapshot that is to be copied from the local snapshot lineage to the at least one cloud snapshot lineage;
copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage by copying data of the selected at least one snapshot stored in the local snapshot lineage to a checkpointing cache comprising a local memory associated with the storage system and, responsive to determining that the copied data of the selected at least one snapshot in the checkpointing cache has reached a specified checkpoint size, moving the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage; and
maintaining, in the checkpointing cache, checkpointing information utilizable for at least one of pausing and resuming copying of the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage, the checkpointing information comprising first metadata characterizing progress of copying data of the selected at least one snapshot from the local snapshot lineage to the checkpointing cache and second metadata characterizing progress of moving the copied data of the selected at least one snapshot from the checkpointing cache to the at least one cloud snapshot lineage;
wherein the method is performed by at least one processing device comprising a processor coupled to a memory.

### Claim 19 (depends on 18)

The method of claim 18 wherein copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage comprises resuming copying of data of the selected at least one snapshot from the local snapshot lineage to the checkpointing cache based at least in part on the first metadata, and wherein the first metadata specifies a last logical block address and size of data of the selected at least one snapshot copied from the local snapshot lineage to the checkpointing cache

### Claim 20 (depends on 18)

The method of claim 18 wherein copying the selected at least one snapshot from the local snapshot lineage to the at least one cloud snapshot lineage comprises resuming moving of the copied data of the selected at least one snapshot from the checkpointing cache to the cloud storage based at least in part on the second metadata, and wherein the second metadata specifies a last committed checkpoint, the last committed checkpoint comprising a portion of the copied data in the checkpointing cache having the specified checkpoint size that has been successfully written to the cloud storage.
