| Did this page help you? Yes No Tell us about it... |
Creates a recoverable DB Snapshot of all data associated with a DB Instance.
![]() | Note |
|---|---|
This operation is not supported for Read Replica DB Instances. |
rds-create-db-snapshot
DBInstanceIdentifier -s
(--db-snapshot-identifier) value [General
Options]
| Name | Description | Required |
|---|---|---|
|
|
DB Instance identifier. This is the unique key that identifies a DB Instance. This parameter is stored as a lowercase string. This parameter can also be set using
--db-instance-identifier
Type: String Default: None 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. Example: |
Yes |
|
|
The identifier for the DB Snapshot. Type: String Default: None Constraints: Cannot be null, empty, or blank. Cannot be a word reserved by the database engine. Must contain 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: |
Yes |
The command returns the following information:
DBSnapshotIdName of the DB Snapshot
Snapshot CreatedThe time (in 24 hour 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 engine used
StorageThe size of the DB Snapshot's allocated storage (GB)
StatusStatus of the DB Snapshot.
Valid values: creating | available |
deleting
AZThe original Availability Zone
of the database from which the DB Snapshot was taken. This column appears
only in the --show-long view
StorageThe size of the DB Snapshot's allocated storage (GB)
PortThe original port of the
database from which the DB Snapshot was taken. This column appears only with
the --show-long-view command option
This example creates a new DB Snapshot.
PROMPT> rds-create-db-snapshot -i mydbinstance -s mytestsnapshot