Skip to main content

Create a backup relationship for a new bucket (cloud target)

Contributors netapp-forry netapp-barbe netapp-lenida netapp-manini netapp-aaron-holt netapp-dbagwell netapp-ahibbard netapp-aherbin

When you create new S3 buckets, you can back them up immediately to an SnapMirror S3 target bucket on an object store provider, which can be a StorageGRID system or an Amazon S3 deployment.

Before you begin
  • You have valid account credentials and configuration information for the object store provider.

  • Intercluster network interfaces and an IPspace have been configured on the source system.

  • • The DNS configuration for the source storage VM must be able to resolve the target’s FQDN.

  1. Edit the storage VM to add users, and to add users to groups:

    1. Click Storage > storage VMs, click the storage VM, click Settings and then click Edit icon under S3.

      See Add S3 users and groups for more information.

  2. Add a Cloud Object Store on the source system:

    1. Click Protection > Overview, then select Cloud Object Stores.

    2. Click Add, then select Amazon S3 or StorageGRID.

    3. Enter the following values:

      • Cloud object store name

      • URL style (path or virtual-hosted)

      • storage VM (enabled for S3)

      • Object store server name (FQDN)

      • Object store certificate

      • Access key

      • Secret key

      • Container (bucket) name

  3. Create an SnapMirror S3 policy if you don't have an existing one and you don't want to use the default policy:

    1. Click Protection > Overview, and then click Local Policy Settings.

    2. Click Arrow icon next to Protection Policies, then click Add.

      • Enter the policy name and description.

      • Select the policy scope, cluster or SVM

      • Select Continuous for SnapMirror S3 relationships.

      • Enter your Throttle and Recovery Point Objective values.

  4. Create a bucket with SnapMirror protection:

    1. Click Storage > Buckets, then click Add.

    2. Enter a name, select the storage VM, enter a size, then click More Options.

    3. Under Permissions, click Add. Verifying permissions is optional but recommended.

      • Principal and Effect: Select values corresponding to your user group settings or accept the defaults.

      • Actions: Make sure the following values are shown:

        GetObject,PutObject,DeleteObject,ListBucket,GetBucketAcl,GetObjectAcl,ListBucketMultipartUploads,ListMultipartUploadParts
      • Resources: Use the defaults _(bucketname, bucketname/*) or other values you need.

        See Manage user access to buckets for more information about these fields.

    4. Under Protection, check Enable SnapMirror (ONTAP or Cloud), select Cloud Storage, then select the Cloud Object Store.

When you click Save, a new bucket is created in the source storage VM, and it is backed up to the cloud object store.