Amazon Relational Database Service
User Guide (API Version 2012-01-15)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Creating a DB Snapshot

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]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.

AWS Management Console

To create a DB Snapshot

  1. Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.

  2. Click DB Snapshots in the Navigation list on the left side of the window.

  3. Click the Create DB Snapshot button.

    The Create DB Snapshot window appears.

  4. Select the DB Instance that you want to create a snaphot of from the DB Instance drop-down list box.

  5. Type the name of the snapshot in the Snapshot Name text box.

  6. Click the OK button.

CLI

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
    				

API

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>