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 users.
Creating a Snapshot of a Volume Using Cockpit v1
-
Click Storage > Snapshots.
You can also select a volume in the Storage > Volumes tab, then click Snapshot .
-
Click Create .
The CREATE SNAPSHOT dialog box appears. -
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.
-
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.
-
(optional) In the Description field, type a description of the snapshot.
-
Click Create to validate.
A snapshot of the volume is created and appears on the Snapshots page.
Creating a Snapshot of a Volume Using Cockpit v2-beta
You can also do this action in the Volumes dashboard, by selecting a volume and clicking |
-
In the Snapshots dashboard, click
Create Snapshot.
The CREATE SNAPSHOT dialog box appears. -
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.
-
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.
-
(optional) In the Description field, type a description of the snapshot.
-
Click Create Snapshot.
The snapshot is created.
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:
$ 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).
{
"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.