Backing up data to Amazon S3

Contributors netapp-bcammett netapp-tonacki Download PDF of this topic

Complete a few steps to get started backing up data from Cloud Volumes ONTAP to Amazon S3.

Quick start

Get started quickly by following these steps or scroll down to the remaining sections for full details.

Number 1 Verify support for your configuration

Number 2 Enable Backup to Cloud on your new or existing system

  • New systems: Backup to Cloud is enabled by default in the working environment wizard. Be sure to keep the option enabled.

  • Existing systems: Open the working environment, click the backup settings icon and enable backups.

    A screenshot that shows the Backup to Cloud icon which is available after you open a working environment.

Number 3 If needed, modify the backup policy

The default policy backs up volumes every day and retains the most recent 30 backup copies of each volume. Change to weekly or monthly backups, or select one of the system-defined policies that provide more options. You can also change the number of backup copies to retain.

A screenshot that shows the Backup to Cloud settings where you can enable or disable the feature and then choose your backup retention.

Number 4 Restore your data, as needed

At the top of Cloud Manager, click Backup, select a volume, select a backup, and then restore data from the backup to a new volume.

A screenshot of the restore icon for a backup after you select a volume.

Requirements

Read the following requirements to make sure that you have a supported configuration before you start backing up volumes to S3.

Supported ONTAP versions

Cloud Volumes ONTAP 9.6 and later.

Supported AWS regions

Backup to Cloud is supported in all AWS regions where Cloud Volumes ONTAP is supported.

AWS subscription requirement

Starting with the 3.7.3 release, a new Cloud Manager subscription is available in the AWS Marketplace. This subscription enables deployments of Cloud Volumes ONTAP 9.6 and later (PAYGO) and Backup to Cloud. You need to subscribe to this new Cloud Manager subscription before you enable Backup to Cloud. Billing for Backup to Cloud is done through this subscription.

AWS permissions required

The IAM role that provides Cloud Manager with permissions must include S3 permissions from the latest Cloud Manager policy.

Here are the specific permissions from the policy:

{
            "Sid": "backupPolicy",
            "Effect": "Allow",
            "Action": [
                "s3:DeleteBucket",
                "s3:GetLifecycleConfiguration",
                "s3:PutLifecycleConfiguration",
                "s3:PutBucketTagging",
                "s3:ListBucketVersions",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:ListAllMyBuckets",
                "s3:GetBucketTagging",
                "s3:GetBucketLocation",
                "s3:GetBucketPolicyStatus",
                "s3:GetBucketPublicAccessBlock",
                "s3:GetBucketAcl",
                "s3:GetBucketPolicy",
                "s3:PutBucketPublicAccessBlock"
            ],
            "Resource": [
                "arn:aws:s3:::netapp-backup-*"
            ]
        },

Enabling Backup to Cloud on a new system

Backup to Cloud is enabled by default in the working environment wizard. Be sure to keep the option enabled.

Steps
  1. Click Create Cloud Volumes ONTAP.

  2. Select Amazon Web Services as the cloud provider and then choose a single node or HA system.

  3. Fill out the Details & Credentials page.

  4. On the Services page, leave the service enabled and click Continue.

    Shows the Backup to Cloud option in the working environment wizard.

  5. Complete the pages in the wizard to deploy the system.

Result

Backup to Cloud is enabled on the system and backs up volumes every day and retains the most recent 30 backup copies.

Enabling Backup to Cloud on an existing system

Enable Backup to Cloud at any time directly from the working environment.

Steps
  1. Open the working environment.

  2. Click the backup settings icon.

    A screenshot that shows the Backup to Cloud Settings icon which is available after you open a working environment.

  3. Select Automatically back up all volumes.

  4. Choose your backup schedule and retention value and then click Save.

    A screenshot that shows the Backup to Cloud settings where you can enable or disable the feature and then choose your backup retention.

Result

Backup to Cloud starts taking the initial backups of each volume.