Back up data using the Cloud Backup Service

Contributors

Beginning with ONTAP 9.9.1, you can use System Manager to back up data in the cloud using Cloud Backup Service.

Note Cloud Backup Service supports FlexVol read-write volumes and data-protection (DP) volumes. FlexGroup volumes and SnapLock volumes are not supported.
Before you begin

You should perform the following procedures to establish an account in Cloud Manager. For the service account, you need to create the role as "Account Admin". (Other service account roles do not have the required privileges needed to establish a connection from System Manager.)

  1. Create an account in Cloud Manager.

  2. Create a connector in Cloud Manager with one of the following cloud providers:

    • Microsoft Azure

    • Amazon Web Services (AWS)

    • Google Cloud Platform (GCP)

    • StorageGrid (ONTAP 9.10.1)

      Note Beginning with ONTAP 9.10.1, you can select StorageGrid as a cloud backup provider, but only if Cloud Manager is deployed on premises. The Cloud Manager connector must be installed on premises and available through the Cloud Manager software-as-a-service (SaaS) application.
  3. Subscribe to Cloud Backup Service in Cloud Manager (requires the appropriate license).

  4. Generate an access key and a secret key using Cloud Manager.

Register the cluster with Cloud Manager

You can register the cluster with Cloud Manager by using either Cloud Manager or System Manager.

Steps
  1. In System Manager, go to Protection Overview.

  2. Under Cloud Backup Service, provide the following details:

    • Client ID

    • Client secret key

  3. Select Register and Continue.

Enable the Cloud Backup Service

After the cluster is registered with Cloud Manager, you need to enable the Cloud Backup Service and initiate the first backup to the cloud.

Steps
  1. In System Manager, click Protection > Overview, then scroll to the Cloud Backup Service section.

  2. Enter the Client ID and Client Secret.

    Note Beginning with ONTAP 9.10.1, you can learn about the cost of using the cloud by clicking Learn more about the cost of using the cloud.
  3. Click Connect and Enable Cloud Backup Service.

  4. On the Enable Cloud Backup Service page, provide the following details, depending on the provider you selected.

    For this cloud provider…​

    Enter the following data…​

    Azure

    • Azure Subscription ID

    • Region

    • Resource group name (existing or new)

    AWS

    • AWS Account ID

    • Access key

    • Secret key

    • Region

    Google Cloud Project (GCP)

    • Google Cloud Project name

    • Google Cloud Access key

    • Google Cloud Secret key

    • Region

    StorageGrid
    (ONTAP 9.10.1 and later, and only for on-premises deployment of Cloud Manager)

    • Server

    • SG Access Key

    • SG Secret Key

  5. Select a Protection policy:

    • Existing policy: Choose an existing policy.

    • New Policy: Specify a name and set up a transfer schedule.

      Note Beginning with ONTAP 9.10.1, you can specify whether you want to enable archiving with Azure or AWS.
      Important If you enable archiving for a volume with Azure or AWS, you cannot disable the archiving.

      If you enable archiving for Azure or AWS, specify the following:

      • The number of days after which the volume is archived.

      • The number of backups to retain in the archive. Specify “0” (zero) to archive up to the latest backup.

      • For AWS, select the archive storage class.

  6. Select the volumes you want to back up.

  7. Select Save.

Edit the protection policy used for the Cloud Backup Service

You can change which protection policy is used with the Cloud Backup Service.

Steps
  1. In System Manager, click Protection > Overview, then scroll to the Cloud Backup Service section.

  2. Click kebab icon, then Edit.

  3. Select a Protection policy:

    • Existing policy: Choose an existing policy.

    • New Policy: Specify a name and set up a transfer schedule.

      Note Beginning with ONTAP 9.10.1, you can specify whether you want to enable archiving with Azure or AWS.
      Important If you enable archiving for a volume with Azure or AWS, you cannot disable the archiving.

      If you enable archiving for Azure or AWS, specify the following:

      • The number of days after which the volume is archived.

      • The number of backups to retain in the archive. Specify “0” (zero) to archive up to the latest backup.

      • For AWS, select the archive storage class.

  4. Select Save.

Protect new volumes or LUNs on the cloud

When you create a new volume or LUN, you can establish a SnapMirror protection relationship that enables backing up to the cloud for the volume or LUN.

Before you begin
  • You should have a SnapMirror license.

  • Intercluster LIFs should be configured.

  • NTP should be configured.

  • Cluster must be running ONTAP 9.9.1.

About this task

You cannot protect new volumes or LUNs on the cloud for the following cluster configurations:

  • The cluster cannot be in a MetroCluster environment.

  • SVM-DR is not supported.

  • FlexGroups cannot be backed up using the Cloud Backup Service.

Steps
  1. When provisioning a volume or LUN, on the Protection page in System Manager, select the checkbox labeled Enable SnapMirror (Local or Remote).

  2. Select the Cloud Backup Service policy type.

  3. If the Cloud Backup Service is not enabled, select Enable Cloud Backup Service.

Protect existing volumes or LUNs on the cloud

You can establish a SnapMirror protection relationship for existing volumes and LUNs.

Steps
  1. Select an existing volume or LUN, and click Protect.

  2. On the Protect Volumes page, specify Backup using Cloud Backup Service for the protection policy.

  3. Click Protect.

  4. On the Protection page, select the checkbox labeled Enable SnapMirror (Local or Remote).

  5. Select Enable Cloud Backup Service.

Restore data from backup files

You can perform backup management operations, such as restoring data, updating relationships, and deleting relationships, only when using the Cloud Manager interface. Refer to Restoring data from backup files for more information.