| Did this page help you? Yes No Tell us about it... |
Deletes a DB Snapshot.
rds-delete-db-snapshot
DBSnapshotIdentifier [General Options]
| Name | Description | Required |
|---|---|---|
|
|
DB Snapshot identifier. This value can also be passed using the
Constraints: Must contain 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. |
Yes |
The command returns the following information:
DBSnapshotIdName of the DB Snapshot
Snapshot CreatedThe time (UTC) when the DB Snapshot was taken
DBInstanceIdUser-supplied database identifier; this is the unique key that identifies a DB Instance
Instance CreatedThe date and time when the DB Instance was created
EngineThe name and version of the database used
StorageThe size of the DB Snapshot's allocated storage (GB)
StatusStatus of the DB Snapshot.
Valid values: creating | available
Master UsernameThe login name of the database's master user
AZThe original Availability Zone
of the database from which the DB Snapshot was taken. This column appears
only in the --show-long view.
PortThe original port of the
database from which the DB Snapshot was taken. This column appears only in
the --show-long view.
This example deletes a DB Snapshot.
PROMPT> rds-delete-db-snapshot mysnapshot
Once you begin deleting this snapshot, it will no longer be available for db
instance restoration.
Are you sure you want to delete this snapshot [Ny]
This example shows detailed output with column headers.
DBSNAPSHOT DBSnapshotId Snapshot Created DBInstanceId Instance Created Engine Storage Status Master Username
DBSNAPSHOT mysnapshot 2009-09-03 19:08:13.710 mydbinstance 2009-08-2721:56:55.034 MySQL5.1 10GB deleted sa