ec2-describe-snapshots
Description
Describes the status of Amazon EBS snapshots. If no snapshots are specified, Amazon EBS returns information about all snapshots owned by the account. For more information about Amazon EBS, go to the
Syntax
ec2-describe-snapshots [
snapshot_id
...]
Options
Name | Description | Required |
---|---|---|
|
The ID of the Amazon EBS snapshot. Type: String Default: Describes all snapshots that you own. Example: snap-78a54011 |
No |
Output
The command returns a table that contains the following information:
-
SNAPSHOT identifier
-
ID of the snapshot
-
ID of the volume
-
Snapshot state (e.g., pending, completed, error)
-
Time stamp when snapshot initiated
-
Percentage of completion
Amazon EC2 displays errors on stderr.
Examples
Example Request
This example describes snapshot snap-78a54011
.
PROMPT>ec2-describe-snapshots snap-78a54011
SNAPSHOT snap-78a54011 vol-4d826724 pending 2008-02-15T09:03:58+0000 60%