Dustin shows you how to
use snapshots to recover
your volume data

dustin_recover_volume_data

How can I use snapshots and clones to recover my data to an AWS Storage Gateway volume?

Creating a volume from a snapshot can be done from the AWS Storage Gateway console. The snapshots can then be used to recover data for a volume that becomes irrecoverable, deleted, or lost.

Cached volumes are iSCSI attached block storage volumes that store volume data. Cached volumes provide a managed cache of local disk data attached to the Storage Gateway appliance by your hypervisor. For more information, see Cached Volumes Architecture.

You can protect Storage Gateway cached volumes using Amazon Elastic Block Store (Amazon EBS) snapshots and clones.

Note: Amazon EBS stored volumes can be up to 16 TiB, and Storage Gateway cached volumes can be up to 32 TiB. If your Storage Gateway volume is larger than 16 TiB, you cannot create an EBS volume from a snapshot. For more information, see Limits for Volumes.

Use EBS Snapshots with Gateway Cached Volumes

  1. Open the Storage Gateway console. In the navigation pane choose Volumes, select the volume that you want to take a snapshot of, choose Actions, and then choose Create EBS snapshot.
  2. In Snapshot description, type a name that is meaningful to you, and then choose Create EBS snapshot. Wait for the snapshot to change Status from Pending to Available.
    Note: The time it takes for the snapshot to become Available depends on the size of the volume.
  3. (Optional) To take snapshots on a reoccurring schedule, choose Actions, Edit snapshot schedule, choose the Start time and Recurrence, enter a Description, and then choose Save.
  4. In EBS snapshots, select the name of your snapshot, choose the Description tab, and then copy the Snapshot ID.
  5. From the Storage Gateway console, from the top navigation pane in the region selector, select the region that your snapshot is located in.
    Note: To restore the snapshot to a volume in a different region, first copy the snapshot to the new region. Then, restore it to a volume in that region. For more information, see Copy a Snapshot.
  6. In the left navigation pane, choose Volumes, and then choose Create volume.
  7. Choose the Gateway that you want to use for the volume, and then type the Capacity. In Volume contents, select Based on EBS snapshot, enter the EBS snapshot ID that you copied from step 4, in iSCSI target type a name, and then choose Create Volume.
  8. In Configure CHAP authentication, choose Skip.
  9. Open the EC2 console. In the navigation pane choose Volumes, and then choose Create Volume.
  10. In the Create Volume wizard page, for Volume Type choose General Purpose SSD, Provisioned IOPS SSD, Cold HDD, Throughput Optimized HDD, or Magnetic.
  11. Choose your Snapshot ID, and then, in Size (GiB), type the desired size.
    Note: If you specify both a volume size and a snapshot ID, the size must be equal to or greater than the snapshot size.
  12. In IOPS field, enter the maximum number of input/output operations per second (IOPS) that the volume can support.
  13. Select your Availability Zone, and then choose Create Volume.
    Note: EBS volumes can be attached only to EC2 instances in the same Availability Zone.

(Optional) Make a clone of a volume from the most recent recovery point

Consider the following if recovering a new volume using a clone:

  • Clones do not require the prior creation and storage of EBS snapshots.
  • For recovery purposes, it might be faster to create and access the clone, because the Storage Gateway Service presents the new volume instantly and then copies the data from the initial volume in the background.

Note: For maintaining specific recovery points in time, or to recover directly to an EBS volume, EBS snapshots are a recommended best practice.

  1. Open the Storage Gateway console, and then choose Create volume.
  2. In Gateway, choose the Volume gateway, and then enter the Capacity.
  3. In Volume contents, choose Clone from last volume recovery.
  4. In Source volume, select the volume that you want to clone, in iSCSI target enter a name, and then choose Create Volume.
  5. In Configure CHAP authentication, choose Skip.
  6. In the navigation pane, choose Volumes, and then verify that the new volume is available and ready to use.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2018-03-13