| Did this page help you? Yes No Tell us about it... |
When you create a DB Snapshot, you need to identify which DB Instance you are going to back up, and then give your DB Snapshot a name so you can restore from it later.
![]() | Note |
|---|---|
Creating a DB Snapshot creates a backup of your DB Instance. Creating this backup on a Single-AZ DB Instance results in a brief I/O suspension that typically lasting no more than a few minutes. Multi-AZ DB Instances are not effected by this I/O suspension since the backup is taken on the standby. |
In this example, you create a DB Snapshot called mydbsnapshot for a DB Instance called mydbinstance.
To create a DB Snapshot
Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.
Click DB Snapshots in the Navigation list on the left side of the window.
Click the Create DB Snapshot button.
The Create DB Snapshot window appears.
Select the DB Instance that you want to create a snaphot of from the DB Instance drop-down list box.
Type the name of the snapshot in the Snapshot Name text box.
Click the OK button.
To create a DB Snapshot
Use the command rds-create-db-snapshot to create a
database snapshot.
PROMPT>rds-create-db-snapshot -i mydbinstance -s mydbsnapshot
The output from this command should look similar to the following:
DBSNAPSHOT mydbsnapshot mydbinstance 2009-10-21T01:54:49.521Z MySQL 50 creating sa 5.1.57 general-public-license
To create a DB Snapshot
Call CreateDBSnapshot with the following
parameters:
DBSnapshotIdentifier =
mydbsnapshot
DBInstanceIdentifier =
mydbinstance
Example
https://rds.amazon.com/ ?Action=CreateDBSnapshot &DBSnapshotIdentifier=mydbsnapshot &DBInstanceIdentifier=mydbinstance &SignatureVersion=2 &SignatureMethod=HmacSHA256 &Timestamp=2009-10-14T17%3A48%3A21.746Z &AWSAccessKeyId=<AWS Access Key ID> &Signature=<Signature>