# Auto Recovery Process using Amazon EBS Direct APIs

This topic documents the process that the Commvault software uses to perform replication with the Amazon Elastic Block Storage (EBS) direct APIs.

1. Create empty snapshots in the destination zone, region, or account using the StartSnapshot API.

2. Write data using the PutSnapshotBlock API.

3. Complete the snapshots using the CompleteSnapshot API.

4. The DR VM configuration is written to a JSON file and uploaded to a S3 bucket.

   The JSON file is available inside the cv-vmconfig-container folder under the S3bucket named as gx-restore-region_name-account_id. Where region_name is the name of the AWS region and account_id is the AWS account for the virtualization client.

5. Retain the snapshot created to act as an integrity snapshot for the next replication job.

6. In case of incremental replication, create a snapshot with an integrity snapshot as the parent snapshot.

   - If there is incremental data, the Commvault software writes the incremental blocks to the new snapshot, marks the new snapshot as an integrity snapshot, and deletes the old one.

   - If there is no incremental data, Commvault software retains the same snapshot to be used for the next job.

## Related Topics

Requirements for Replication Process

×

Loading...