# US 2021/0286539 A1 · Moving snapshots from a local snapshot lineage on a storage system to a cloud snapshot lineage on cloud storage

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

- Number: US 2021/0286539 A1
- Document ID: US20210286539A1
- Status: Published application
- Kind: A1
- Application number: 16/814,480
- 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: Shanmuga Anand Gunasekaran; Deepak Vokaliga; Michael Anthony; Mark Aldred; Anurag Bhatnagar
- Web page: https://patentgrep.com/patent/US20210286539A1

## CPC

- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- 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: 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 a cloud external to the storage system. The processing device is also configured to select, in accordance with a snapshot policy, a snapshot in the local snapshot lineage to copy to the cloud snapshot lineage. The processing device is further configured to create a virtual device on the storage system, to link the selected snapshot to the virtual device, to determine data of the selected snapshot that is to be copied from the virtual device to a cloud storage volume on the cloud storage, and to copy the selected snapshot to the cloud snapshot lineage by copying the determined data from the virtual device to the cloud storage volume.

## 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 comprising data stored on one or more storage devices of a storage system, the snapshot lineage comprising (i) a local snapshot lineage stored on at least one of the one or more storage devices of the 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, in accordance with at least one snapshot policy, at least one snapshot in the local snapshot lineage to copy to the at least one cloud snapshot lineage;
to create a virtual device on the storage system;
to link the selected at least one snapshot to the virtual device;
to determine at least a subset of data of the selected at least one snapshot that is to be copied from the virtual device to a cloud storage volume on the cloud storage of the at least one cloud external to the storage system; and
to copy the selected at least one snapshot to the at least one cloud snapshot lineage by copying the determined subset of the data of the selected at least one snapshot from the virtual device to the cloud storage volume.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein identifying the snapshot lineage and selecting the at least one snapshot comprises:
invoking an application programming interface to submit a request for a list of snapshots of the local snapshot lineage that are to be shipped to the at least one cloud snapshot lineage; and
receiving a response to invoking the application programming interface, the response comprising the list of snapshots of the local snapshot lineage that are to be shipped to the at least one cloud snapshot lineage.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein the application programming interface comprises a representational state transfer application programming interface, and wherein the request comprises an endpoint uniform resource locator specifying a path parameter comprising a unique identifier of the storage system.

### Claim 4 (depends on 3)

The apparatus of claim 3 wherein the uniform resource locator further specifies a query parameter comprising an identifier of one or more storage groups of the storage system, the query parameter filtering the list of snapshots to snapshots associated with the identified one or more storage groups of the storage system.

### Claim 5 (depends on 2)

The apparatus of claim 2 wherein the response to invoking the application programming interface comprises:
a storage group identifier of the storage system;
a snapshot set identifier for the snapshot lineage;
a list of one or more snapshots of the snapshot lineage that are currently stored in the local snapshot lineage; and
the at least one snapshot policy associated with the snapshot lineage.

### Claim 6 (depends on 5)

The apparatus of claim 5 wherein the list of the one or more snapshots of the snapshot lineage that are currently stored in the local snapshot lineage comprises, for a given snapshot:
source volume information for the given snapshot in the storage system, the source volume information comprising an internal volume_identifier associated with a source volume of the storage system, an externally addressable volume_identifier for the source volume, and a track size of the source volume;
a size of the given snapshot; and
metadata comprising a key-value pair for the given snapshot.

### Claim 7 (depends on 5)

The apparatus of claim 5 wherein the at least one snapshot policy specifies:
at least one destination cloud provider for the at least one cloud snapshot lineage;
encryption to be applied to snapshots copied to the at least one cloud snapshot lineage;
compression to be applied to snapshots copied to the at least one cloud snapshot lineage; and
an age at which snapshots residing in the local snapshot lineage are to be copied to the at least one cloud snapshot lineage.

### Claim 8 (depends on 1)

The apparatus of claim 1 wherein creating the virtual device in the storage system and linking the selected at least one snapshot to the virtual device comprises:
invoking an application programming interface to submit a request to prepare the selected at least one snapshot for shipping to the at least one cloud snapshot lineage, the request comprising an internal volume_identifier associated with a source volume of the storage system and a snapshot set identifier for the snapshot lineage; and
receiving a response to invoking the application programming interface, the response comprising access volume information for the virtual device, the access volume information comprising an externally addressable volume_identifier for the access volume and a track size of the access volume.

### Claim 9 (depends on 8)

The apparatus of claim 8 wherein the application programming interface comprises a representational state transfer application programming interface, and wherein the request comprises an endpoint uniform resource locator specifying a path parameter comprising a unique identifier of the storage system.

### Claim 10 (depends on 1)

The apparatus of claim 1 wherein determining the subset of the data of the selected at least one snapshot comprises:
invoking an application programming interface to submit a request for a bitmap of data of the selected at least one snapshot to be shipped to the at least one cloud snapshot lineage, the request comprising a snapshot identifier for the selected at least one snapshot, at least one starting track location of the data of the selected at least one snapshot on one or more storage devices of the storage system, at least one track count of a number of tracks from the at least one starting track location on the one or more storage devices that comprise the data of the selected at least one snapshot; and
receiving a response to invoking the application programming interface, the response comprising the bitmap of the data of the selected at least one snapshot to be shipped to the at least one cloud snapshot lineage, the bitmap comprising, for each storage device of the storage system comprising the data of the selected at least one snapshot: a storage device name; a volume name of the selected at least one snapshot; a count representing a size of the data of the at least one snapshot; and a pointer to an array comprising bitmaps of the tracks of the storage device comprising the data of the selected at least one snapshot.

### Claim 11 (depends on 10)

The apparatus of claim 10 wherein the request further comprises an identifier of a previous snapshot in the snapshot lineage stored in the at least one cloud snapshot lineage, the at least one starting track location specifies a comparison starting track location for comparison between the data of the selected at least one snapshot and data of the previous snapshot in the snapshot lineage, and the at least one track count specifies a number of tracks from the comparison starting track location comprising data to be compared for differences between the selected at least one snapshot and the previous snapshot in the snapshot lineage.

### Claim 12 (depends on 1)

The apparatus of claim 1 wherein the at least one processing device is further configured, responsive to successfully copying the selected at least one snapshot to the at least one cloud snapshot lineage, to remove at least one previous snapshot from the at least one cloud snapshot lineage.

### Claim 13 (depends on 12)

The apparatus of claim 12 wherein removing the at least one previous snapshot from the at least one cloud snapshot lineage comprises:
invoking an application programming interface to submit a request to clean up the at least one cloud snapshot lineage, the request comprising an identifier of the at least one previous snapshot to be removed from the at least one cloud snapshot lineage; and
receiving a response to invoking the application programming interface, the response comprising an indication of success of removal of the at least one previous snapshot from the at least one cloud snapshot lineage.

### 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 comprising data stored on one or more storage devices of a storage system, the snapshot lineage comprising (i) a local snapshot lineage stored on at least one of the one or more storage devices of the 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, in accordance with at least one snapshot policy, at least one snapshot in the local snapshot lineage to copy to the at least one cloud snapshot lineage;
creating a virtual device on the storage system;
linking the selected at least one snapshot to the virtual device;
determining at least a subset of data of the selected at least one snapshot that is to be copied from the virtual device to a cloud storage volume on the cloud storage of the at least one cloud external to the storage system; and
copying the selected at least one snapshot to the at least one cloud snapshot lineage by copying the determined subset of the data of the selected at least one snapshot from the virtual device to the cloud storage volume.

### Claim 16 (depends on 15)

The computer program product of claim 15 wherein determining the subset of the data of the selected at least one snapshot comprises:
invoking an application programming interface to submit a request for a bitmap of data of the selected at least one snapshot to be shipped to the at least one cloud snapshot lineage, the request comprising a snapshot identifier for the selected at least one snapshot, at least one starting track location of the data of the selected at least one snapshot on one or more storage devices of the storage system, at least one track count of a number of tracks from the at least one starting track location on the one or more storage devices that comprise the data of the selected at least one snapshot; and
receiving a response to invoking the application programming interface, the response comprising the bitmap of the data of the selected at least one snapshot to be shipped to the at least one cloud snapshot lineage, the bitmap comprising, for each storage device of the storage system comprising the data of the selected at least one snapshot: a storage device name; a volume name of the selected at least one snapshot; a count representing a size of the data of the at least one snapshot; and a pointer to an array comprising bitmaps of the tracks of the storage device comprising the data of the selected at least one snapshot.

### Claim 17 (depends on 16)

The computer program product of claim 16 wherein the request further comprises an identifier of a previous snapshot in the snapshot lineage stored in the at least one cloud snapshot lineage, the at least one starting track location specifies a comparison starting track location for comparison between the data of the selected at least one snapshot and data of the previous snapshot in the snapshot lineage, and the at least one track count specifies a number of tracks from the comparison starting track location comprising data to be compared for differences between the selected at least one snapshot and the previous snapshot in the snapshot lineage.

### Claim 18

A method comprising steps of:
identifying a snapshot lineage comprising one or more snapshots of a storage volume comprising data stored on one or more storage devices of a storage system, the snapshot lineage comprising (i) a local snapshot lineage stored on at least one of the one or more storage devices of the 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, in accordance with at least one snapshot policy, at least one snapshot in the local snapshot lineage to copy to the at least one cloud snapshot lineage;
creating a virtual device on the storage system;
linking the selected at least one snapshot to the virtual device;
determining at least a subset of data of the selected at least one snapshot that is to be copied from the virtual device to a cloud storage volume on the cloud storage of the at least one cloud external to the storage system; and
copying the selected at least one snapshot to the at least one cloud snapshot lineage by copying the determined subset of the data of the selected at least one snapshot from the virtual device to the cloud storage volume;
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 determining the subset of the data of the selected at least one snapshot comprises:
invoking an application programming interface to submit a request for a bitmap of data of the selected at least one snapshot to be shipped to the at least one cloud snapshot lineage, the request comprising a snapshot identifier for the selected at least one snapshot, at least one starting track location of the data of the selected at least one snapshot on one or more storage devices of the storage system, at least one track count of a number of tracks from the at least one starting track location on the one or more storage devices that comprise the data of the selected at least one snapshot; and
receiving a response to invoking the application programming interface, the response comprising the bitmap of the data of the selected at least one snapshot to be shipped to the at least one cloud snapshot lineage, the bitmap comprising, for each storage device of the storage system comprising the data of the selected at least one snapshot: a storage device name; a volume name of the selected at least one snapshot; a count representing a size of the data of the at least one snapshot; and a pointer to an array comprising bitmaps of the tracks of the storage device comprising the data of the selected at least one snapshot.

### Claim 20 (depends on 19)

The method of claim 19 wherein the request further comprises an identifier of a previous snapshot in the snapshot lineage stored in the at least one cloud snapshot lineage, the at least one starting track location specifies a comparison starting track location for comparison between the data of the selected at least one snapshot and data of the previous snapshot in the snapshot lineage, and the at least one track count specifies a number of tracks from the comparison starting track location comprising data to be compared for differences between the selected at least one snapshot and the previous snapshot in the snapshot lineage.
