ONTAP 9 Manuals ( CA08871-402 )

Restore a bucket from a cloud target

When data in a source bucket is lost or corrupted, you can repopulate your data by restoring from a destination bucket.

About this task

You can restore the destination bucket to an existing bucket or a new bucket. The target bucket for the restore operation must be larger than the destination bucket’s logical used space.

If you use an existing bucket, it must be empty when starting a restore operation. Restore does not "roll back" a bucket in time; rather, it populates an empty bucket with its previous contents.

ONTAP System Manager

Restore the back-up data:

  1. Click Protection > Relationships, then select S3 SnapMirror.

  2. Click more icon and then select Restore.

  3. Under Source, select Existing Bucket (the default) or New Bucket.

    • To restore to an Existing Bucket (the default), complete these actions:

      • Select the cluster and storage VM to search for the existing bucket.

      • Select the existing bucket.

      • Copy and paste the contents of the destination S3 server CA certificate.

    • To restore to a New Bucket, enter the following values:

      • The cluster and storage VM to host the new bucket.

      • The new bucket’s name, capacity, and performance service level.
        See Storage service levels for more information.

      • The contents of the destination S3 server CA certificate.

  4. Under Destination, copy and paste the contents of the source S3 server CA certificate.

  5. Click Protection > Relationships to monitor the restore progress.

CLI procedure
  1. Create the new destination bucket for restore. For more information, see Create a backup relationship for a bucket (cloud target).

  2. Initiate a restore operation for the destination bucket:
    snapmirror restore -source-path object_store_name:/objstore -destination-path svm_name:/bucket/bucket_name

    Example

    The following example restores a destination bucket to an existing bucket.
    clusterA::> snapmirror restore -source-path sgws.store:/objstore -destination-path vs0:/bucket/test-bucket

Top of Page