Restore a bucket from the destination storage VM (remote cluster)


When data in a source bucket is lost or corrupted, you 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.

The restore operation must be initiated from the remote cluster.

System Manager procedure

Restore the back-up data:

  1. Click Protection > Relationships, then select the bucket.

  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.

  4. 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.

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

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

CLI procedure

  1. If you are restoring to a new bucket, create the new bucket. For more information, see Create a backup relationship for a new bucket (cloud target).

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

clusterA::> snapmirror restore -source-path vs0:/bucket/test-bucket -destination-path vs1:/bucket/test-bucket-mirror