# US 2010/0250499 A1 · Cloning and Recovery of Data Volumes

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

- Number: US 2010/0250499 A1
- Document ID: US20100250499A1
- Status: Published application
- Kind: A1
- Application number: 12/415,968
- Filed: 2009-03-31
- Published: 2010-09-30
- Earliest claimed: 2009-03-31
- Assignees: Amazon Technologies, Inc.
- Inventors: Grant Alexander MacDonald McAlister; Milovan Milovanovic
- Web page: https://patentgrep.com/patent/US20100250499A1

## CPC

- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1464: {for networked environments}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/3409: {for performance assessment}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 2201/80: Database-specific techniques
- G06F 2201/81: Threshold
- G06F 2201/815: Virtual
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F 2201/875: Monitoring of systems including the internet
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of a data environment, such as the monitoring, backup, and recovery of data stores and instances, are managed using a separate control environment. A monitoring component of the control environment can periodically communicate with the data environment to determine any necessary actions to be performed, such as to recover from faults or events for a data instance in the data environment. A workflow can be instantiated that includes tasks necessary to perform a recovery action. Tasks of the workflow can instantiate a new data instance and, using an identifier for the original data instance, access a snapshot for the data instance and copy the data to the new instance. Log files also can be accessed and applied to the new data instance to cause the new instance to represent the state of the original data instance at a particular point in time.

## Claims

### Claim 1

A computer-implemented method of recovering from a failure of a data instance in a data environment using a separate control environment, comprising:
under control of one or more computer systems configured with executable instructions,
sending a status request from a monitoring component in a control environment to a host manager in a data environment, the host manager operable to monitor a status of a source data instance in the data environment;
analyzing, in the control environment, a response received from the host manager to determine whether a problem state exists with the source data instance that requires a recovery action;
when the problem state is determined to exist, determining a recovery workflow based at least in part upon a type of problem and a time at which the problem occurred;
executing the recovery workflow in the control environment, the workflow causing a new data instance to be provisioned in the data environment, and further causing data from at least one snapshot of the source data instance to be copied to the new data instance, each snapshot comprising an archived copy of at least a portion of the source data instance at a specific time in the past.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
executing the recovery workflow in the control environment further causes log data to be applied to the copied data in the new data instance in order to update a state of the new data instance.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein:
the state of the new data instance is updated to a most recent time for which log data exists.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein:
the state of the new data instance is updated to a time based at least in part upon the response received from the host manager.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
periodically sending a status request from the monitoring component in the control environment to the host manager in a data environment; and
analyzing each response received from the host manager,
wherein a status of the current data instance is automatically monitored over time.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein:
the log data is selected from at least one of a log snapshot and log information stored in the data environment.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein:
applying log data includes iteratively applying more recent versions of the log data in order to update the state of the new data instance.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
storing snapshots for the new data instance at a determined interval.

### Claim 9 (depends on 7)

The computer-implemented method of claim 7, wherein:
snapshots are stored to the data environment using a first interval, and stored to the control environment at a second interval.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
storing information for the determined problem to a job queue in the data plane; and
detecting the information in the job queue before determining the appropriate recovery workflow.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein:
at least one aspect of the new data instance is different from the source data instance.

### Claim 12

A computer-implemented method of cloning a data instance in a data environment using a separate control environment, comprising:
under control of one or more computer systems configured with executable instructions,
receiving, to a control environment, a request to generate a second data instance corresponding to a state of a first data instance;
in response to the request, determining a workflow for generating the second data instance based at least in part upon a type of the request and a determined time of the state of the first data instance;
executing the determined workflow in the control environment, the workflow causing the second data instance to be provisioned in the data environment, the workflow further causing data from a backup of the first data instance to be copied to the second data instance, the backup comprising an archived copy of the first data instance at a point in time corresponding or prior to the determined time of the state of the first data instance.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein:
executing the determined workflow in the control environment further causes log data to be applied to the copied data in the second data instance in order to update a state of the second data instance to the state of the first data instance at the determined time.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein:
the state of the second data instance is updated to a time determined by the request.

### Claim 15 (depends on 12)

The computer-implemented method of claim 12, wherein:
the second data instance is instantiated, populated, and updated without affecting an availability of the first data instance.

### Claim 16 (depends on 12)

The computer-implemented method of claim 12, further comprising:
restricting access to the first data instance during the cloning of the first data instance, wherein the second data instance will be an exact data replica of the first data instance.

### Claim 17 (depends on 12)

The computer-implemented method of claim 12, wherein:
copying data from a backup of the first data instance includes determining a logical volume group corresponding to the first data instance, the logical volume group including at least one data volume, and copying data from a backup for each data volume of the logical volume group.

### Claim 18 (depends on 12)

The computer-implemented method of claim 12, wherein:
a user is able to use the second data instance to perform an operation including at least one of testing an application requiring data access, storing a state of the data instance at a point in time, testing a data storage configuration, or modifying a data schema before applying the data schema to the first data instance.

### Claim 19 (depends on 12)

The computer-implemented method of claim 12, further comprising:
copying data from the backup to multiple data instances, each data instance corresponding to a new partitioning of a data store, and deleting copied data from each of the multiple data instances not to be included in a respective partition.

### Claim 20

A computer-implemented method of hibernating a data instance in a data environment using a separate control environment, comprising:
under control of one or more computer systems configured with executable instructions,
receiving, to a control environment, a request to hibernate a first data instance;
in response to the request, storing a snapshot of a current state of the first data instance and releasing the first data instance in the data environment;
receiving, to a control environment, a request to resume the hibernated data instance;
determining a workflow for generating a second data instance corresponding to the first data instance; and
executing the determined workflow in the control environment, the workflow causing the second data instance to be provisioned in the data environment, the workflow further causing data from the snapshot of the first data instance to be copied to the second data instance.

### Claim 21

A system for controlling a data environment using a separate control environment, comprising:
at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the system to execute a recovery workflow in the control environment that causes the following steps to be performed:
determining a need to copy a state of a source data store;
determining a workflow based at least in part upon a type of need and a time of the state of the first data store;
executing the determined workflow in the control environment, the workflow causing a new data instance to be provisioned in the data environment, the workflow further causing data to be copied from at least one snapshot of the source data instance to the new data instance, each snapshot comprising an archived copy of at least a portion of the source data instance at a specific time in the past.

### Claim 22 (depends on 21)

The system of claim 21, wherein the memory further includes instructions that, when executed by the at least one processor, cause the system to:
send a status request from a monitoring component in a control environment to a host manager in a data environment, the host manager operable to monitor a status of a source data instance in the data environment;
analyze, in the control environment, a response received from the host manager to determine whether a problem exists with the source data instance that requires a recovery action; and
determine the need to copy based on the response.

### Claim 23 (depends on 21)

The system of claim 21, wherein the memory further includes instructions that, when executed by the at least one processor, cause the system to:
receive, to a control environment, a request to clone the source data instance, the request determining the need to copy.

### Claim 24

A computer program product embedded in a computer-readable medium and including instructions that, when executed by at least one computing device, cause the at least one computing device to execute a recovery workflow in the control environment that causes the following steps to be performed:
determine a need to copy a state of a source data store;
determine a workflow based at least in part upon a type of need and a time of the state of the first data store;
execute the determined workflow in the control environment, the workflow causing a new data instance to be provisioned in the data environment, the workflow further causing data to be copied from at least one snapshot of the source data instance to the new data instance, each snapshot comprising an archived copy of at least a portion of the source data instance at a specific time in the past.

### Claim 25 (depends on 24)

A computer program product according to claim 24, further including instructions that, when executed by at least one computing device, cause the at least one computing device to:
send a status request from a monitoring component in a control environment to a host manager in a data environment, the host manager operable to monitor a status of a source data instance in the data environment;
analyze, in the control environment, a response received from the host manager to determine whether a problem exists with the source data instance that requires a recovery action; and
determine the need to copy based on the response.

### Claim 26 (depends on 24)

A computer program product according to claim 24, further including instructions that, when executed by at least one computing device, cause the at least one computing device to:
receive, to a control environment, a request to clone the source data instance, the request determining the need to copy.
