Creating a Manual Cluster Snapshot

    1. Identify which cluster to back up.

    2. Give your snapshot a name. This allows you to restore from it later.

    To create a manual snapshot using the AWS Management Console, you can follow either method below.

    1. Method 1:

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

      2. In the navigation pane, choose Snapshots.

        Tip

        If you don’t see the navigation pane on the left side of your screen, choose the menu icon () in the upper-left corner of the page.

      3. On the Snapshots page, choose Create.

      4. On the Create cluster snapshot page:

        1. Snapshot identifier — Enter a name for your snapshot.

          Snapshot naming constraints:

          • First character must be a letter.

          • Cannot end with a hyphen or contain two consecutive hyphens.

          • Must be unique for all clusters (across Amazon RDS, Amazon Neptune, and Amazon DocumentDB) per AWS account, per Region.

        2. Choose Create.

    1. Method 2:

      1. Sign in to the AWS Management Console, and open the Amazon DocumentDB console at .

      2. In the navigation pane, choose Clusters.

        Tip

        If you don’t see the navigation pane on the left side of your screen, choose the menu icon (Creating a Manual Cluster Snapshot - 图2) in the upper-left corner of the page.

      3. From the Actions menu, choose Take snapshot.

      4. On the Create cluster snapshot page:

        1. Snapshot identifier — Enter a name for your snapshot.

          • Length is [1–63] letters, numbers, or hyphens.

          • First character must be a letter.

          • Cannot end with a hyphen or contain two consecutive hyphens.

          • Must be unique for all clusters (across Amazon RDS, Amazon Neptune, and Amazon DocumentDB) per AWS account, per Region.

        2. Choose Create.

    Create a Cluster Snapshot Using the AWS CLI

    To create a cluster snapshot using the AWS CLI, use the operation with the following parameters.

    Parameters

    • — Required. The name of the cluster that you are taking a snapshot of. This cluster must exist and be available.

    The following example creates a snapshot named for a cluster named .

    For Linux, macOS, or Unix:

    For Windows:

    Output from this operation looks something like the following.