Creating a DB Cluster Snapshot - Amazon Aurora

Creating a DB Cluster Snapshot

Amazon RDS creates a storage volume snapshot of your DB cluster, backing up the entire DB cluster and not just individual databases. When you create a DB cluster snapshot, you need to identify which DB cluster you are going to back up, and then give your DB cluster snapshot a name so you can restore from it later. The amount of time it takes to create a DB cluster snapshot varies with the size your databases. Since the snapshot includes the entire storage volume, the size of files, such as temporary files, also affects the amount of time it takes to create the snapshot.

Unlike automated backups, manual snapshots aren't subject to the backup retention period. Snapshots don't expire.

For very long-term backups, we recommend exporting snapshot data to Amazon S3. If the major version of your DB engine is no longer supported, you can't restore to that version from a snapshot. For more information, see Exporting DB Snapshot Data to Amazon S3.

Note

Amazon bills you based upon the amount of Aurora backup and snapshot data you keep and the period of time that you keep it. For information about the storage associated with Aurora backups and snapshots, see Understanding Aurora Backup Storage Usage. For pricing information about Aurora storage, see Amazon RDS for Aurora Pricing.

You can create a DB cluster snapshot using the AWS Management Console, the AWS CLI, or the RDS API.

To create a DB cluster snapshot

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

  2. In the navigation pane, choose Databases.

  3. In the list of DB instances, choose a writer instance for the DB cluster.

  4. Choose Actions, and then choose Take snapshot.

    The Take DB Snapshot window appears.

  5. Enter the name of the DB cluster snapshot in the Snapshot name box.

    
						Create snapshot
  6. Choose Take Snapshot.

When you create a DB cluster snapshot using the AWS CLI, you need to identify which DB cluster you are going to back up, and then give your DB cluster snapshot a name so you can restore from it later. You can do this by using the AWS CLI create-db-cluster-snapshot command with the following parameters:

  • --db-cluster-identifier

  • --db-cluster-snapshot-identifier

In this example, you create a DB cluster snapshot named mydbclustersnapshot for a DB cluster called mydbcluster.

For Linux, macOS, or Unix:

aws rds create-db-cluster-snapshot \ --db-cluster-identifier mydbcluster \ --db-cluster-snapshot-identifier mydbclustersnapshot

For Windows:

aws rds create-db-cluster-snapshot ^ --db-cluster-identifier mydbcluster ^ --db-cluster-snapshot-identifier mydbclustersnapshot

When you create a DB cluster snapshot using the Amazon RDS API, you need to identify which DB cluster you are going to back up, and then give your DB cluster snapshot a name so you can restore from it later. You can do this by using the Amazon RDS API CreateDBClusterSnapshot command with the following parameters:

  • DBClusterIdentifier

  • DBClusterSnapshotIdentifier

Determining Whether the DB Cluster Snapshot Is Available

You can check that the DB cluster snapshot is available by looking under Snapshots on the Maintenance & backups tab on the detail page for the cluster in the AWS Management Console, by using the describe-db-cluster-snapshots CLI command, or by using the DescribeDBClusterSnapshots API action.

You can also use the wait db-cluster-snapshot-available CLI command to poll the API every 30 seconds until the snapshot is available.