Creating a Snapshot of a Volume

You can create a snapshot of a volume to make a point-in-time image of the data stored on this volume. You can then create a new volume based on this snapshot, copy it to another Region or share it with other accounts.

In case of excessive use of the snapshot creation feature on the same volume over a short period of time, 3DS OUTSCALE reserves the right to temporarily block the feature.

Creating a Snapshot of a Volume Using Cockpit v2

You can also do this action in the Volumes dashboard, by selecting a volume and clicking IconAddFull Create Snapshot in the displayed menu.

  1. In the Snapshots dashboard, click IconAddFull Create Snapshot.
    The CREATE SNAPSHOT dialog box appears.

  2. In the Name field, type a name for the snapshot.

    This action adds a Name tag of 255 characters maximum. You can use any character, including accented letters.

  3. From the Volume list, select the volume of which you want to create a snapshot.

    If data is being written on the volume at the time you create the snapshot, this snapshot may be incomplete.

  4. (optional) In the Description field, type a description of the snapshot.

  5. Click Create Snapshot.
    The snapshot is created.

Creating a Snapshot of a Volume Using Cockpit v1

  1. Click Storage > Snapshots.

    You can also select a volume in the Storage > Volumes tab, then click Snapshot .

  2. Click Create .
    The CREATE SNAPSHOT dialog box appears.

  3. In the Name field, type a name for the snapshot.

    This action adds a Name tag of 255 characters maximum. You can use any character, including accented letters.

  4. From the Volume list, select the volume of which you want to create a snapshot.

    If data is being written on the volume at the time you create the snapshot, this snapshot may be incomplete.

  5. (optional) In the Description field, type a description of the snapshot.

  6. Click Create to validate.
    A snapshot of the volume is created and appears on the Snapshots page.

Creating a Snapshot of a Volume Using OSC CLI

See the CreateSnapshot command sample in the documentation of the OUTSCALE API.

Creating a Snapshot of a Volume Using AWS CLI

To create a snapshot of a specified volume, use create-snapshot command following this syntax:

Request sample
$ aws ec2 create-snapshot \
    --profile YOUR_PROFILE \
    --volume-id vol-12345678 \
    --description snapshot of vol-12345678 \
    --endpoint https://fcu.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • volume-id: The ID of the volume you want to create a snapshot of.

  • (optional) description: A description of the snapshot.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The create-snapshot command returns the following elements:

  • Description: A description of the snapshot, if provided in the request.

  • OwnerId: The account ID of the owner of the snapshot.

  • Progress: The progress of the snapshot (a percentage).

  • SnapshotId: The ID of the newly created snapshot.

  • State: The state of the snapshot (in-queue | pending | completed).

  • StartTime: The time at which the snapshot was initiated.

  • VolumeId: The ID of the volume used to create the snapshot.

  • VolumeSize: The size of the volume, in gibibytes (GiB).

Result sample
{
    "Description": "snapshot of vol-12345678",
    "Progress": "0%",
    "OwnerId": "123456789012",
    "SnapshotId": "snap-87654321",
    "StartTime": "2018-03-26T13:01:33.176Z",
    "State": "pending",
    "VolumeId": "vol-12345678",
    "VolumeSize": 50
}

A snapshot of the specified volume is created.

Related Pages

Corresponding API Methods

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.