

# Creating a DB cluster snapshot
<a name="create_snapshot"></a>

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 of your databases. Because 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.

**Note**  
Your DB cluster must be in the `available` state to take a DB cluster 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 cluster snapshot data to Amazon S3](aurora-export-snapshot.md).

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

## Console


**To create a DB cluster snapshot**

1. Sign in to the Amazon Web Services Management Console and open the Amazon RDS console at [https://console.amazonaws.cn/rds/](https://console.amazonaws.cn/rds/).

1. In the navigation pane, choose **Snapshots**.

   The **Manual snapshots** list appears.

1. Choose **Take snapshot**.

   The **Take DB snapshot** window appears.

1. For **Snapshot type**, select **DB cluster**.  
![\[Take DB snapshot.\]](http://docs.amazonaws.cn/en_us/AmazonRDS/latest/AuroraUserGuide/images/take_db_cluster_snapshot.png)

1. Choose the **DB cluster** for which you want to take a snapshot.

1. Enter the **Snapshot name**.

1. Choose **Take snapshot**.

   The **Manual snapshots** list appears, with the new DB cluster snapshot's status shown as `Creating`. After its status is `Available`, you can see its creation time.

## Amazon CLI


When you create a DB cluster snapshot using the Amazon 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 Amazon CLI [https://docs.amazonaws.cn/cli/latest/reference/rds/create-db-cluster-snapshot.html](https://docs.amazonaws.cn/cli/latest/reference/rds/create-db-cluster-snapshot.html) 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*.

**Example**  
For Linux, macOS, or Unix:  

```
1. aws rds create-db-cluster-snapshot \
2.     --db-cluster-identifier mydbcluster \
3.     --db-cluster-snapshot-identifier mydbclustersnapshot
```
For Windows:  

```
1. aws rds create-db-cluster-snapshot ^
2.     --db-cluster-identifier mydbcluster ^
3.     --db-cluster-snapshot-identifier mydbclustersnapshot
```

## RDS API


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 [https://docs.amazonaws.cn/AmazonRDS/latest/APIReference/API_CreateDBClusterSnapshot.html](https://docs.amazonaws.cn/AmazonRDS/latest/APIReference/API_CreateDBClusterSnapshot.html) command with the following parameters:
+ DBClusterIdentifier
+ DBClusterSnapshotIdentifier

## Determining whether the DB cluster snapshot is available
Determining whether the 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 Amazon Web Services Management Console, by using the [https://docs.amazonaws.cn/cli/latest/reference/rds/describe-db-cluster-snapshots](https://docs.amazonaws.cn/cli/latest/reference/rds/describe-db-cluster-snapshots) CLI command, or by using the [https://docs.amazonaws.cn/AmazonRDS/latest/APIReference/API_DescribeDBClusterSnapshots.html](https://docs.amazonaws.cn/AmazonRDS/latest/APIReference/API_DescribeDBClusterSnapshots.html) API action.

You can also use the [https://docs.amazonaws.cn/cli/latest/reference/rds/wait/db-cluster-snapshot-available.html](https://docs.amazonaws.cn/cli/latest/reference/rds/wait/db-cluster-snapshot-available.html) CLI command to poll the API every 30 seconds until the snapshot is available.