| Did this page help you? Yes No Tell us about it... |
Creates a copy of all data and configuration associated with the specified DB Snapshot.
rds-copy-db-snapshot
SourceDBSnapshotIdentifier -t
(--target-db-snapshot-identifier) value
[General Options]
| Name | Description | Required |
|---|---|---|
|
|
Source DB Snapshot identifier. This is the unique key that identifies an existing DB Snapshot to copy. This parameter can also be set using
--source-db-snapshot-identifier
Type: String Default: None Constraints: Must be the identifer of an active DB Snapshot. Example: |
Yes |
|
|
The identifier for the target 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
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 with
the --show-long-view command option
VersionThe database engine's version number.
LicenseTBD
TypeTBD
VpcIdTBD
This example copies a DB Snapshot.
PROMPT> rds-copy-db-snapshot -s rds:mydb-2012-01-15-00-01 -t snapshotdec01