| Did this page help you? Yes No Tell us about it... |
You must create a DB Snapshot before you can restore a DB Instance from one. When you restore the DB Instance, you provide the name of the DB Snapshot to restore from, and then provide a name for the new DB Instance that is created from the restore. You cannot restore from a DB Snapshot to an existing DB Instance; a new DB Instance is created when you restore.
![]() | Note |
|---|---|
When you restore a DB Instance, only the default DB Parameter and DB Security Groups
are applied. If you need custom DB Parameter or DB Security groups, you must apply them
explicitly using the |
In this example, you restore from a previously created DB Snapshot called mydbsnapshot and create a new DB Instance called mynewdbinstance.
To restore a DB Instance from 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 on the DB Snapshot that you want to restore from in the My DB Snapshots list.
Click the Restore from DB Snapshot button.
The Restore DB Instance window appears.
Type the name of the restored DB Instance in the DB Instance Identifier text box.
Click the Launch DB Instance button.
To restore a DB Instance from a DB Snapshot
Use the command rds-restore-db-instance-from-db-snapshot to restore a DB snapshot to a new DB instance.
PROMPT>rds-restore-db-instance-from-db-snapshot mynewdbinstance -s mydbsnapshot
This command returns output similar to the following:
DBINSTANCE mynewdbinstance db.m1.large MySQL 50 sa creating 3 n 5.1.57 general-public-license
To restore a DB Instance from a DB Snapshot
Call RestoreDBInstanceFromDBSnapshot with the
following parameters:
DBSnapshotIdentifier =
mydbsnapshot
DBInstanceIdentifier =
mynewdbinstance
Example
https://rds.amazon.com/ ?Action=RestoreDBInstanceFromDBSnapshot &DBSnapshotIdentifier=mydbsnapshot &DBInstanceIdentifier=mynewdbinstance &DBInstanceClass=db.m1.xlarge &SignatureVersion=2 &SignatureMethod=HmacSHA256 &Timestamp=2009-10-15T17%3A48%3A21.746Z &AWSAccessKeyId=<AWS Access Key ID> &Signature=<Signature>