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.
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.
Restore the back-up data:
-
Click Protection > Relationships, then select SnapMirror S3.
-
Click and then select Restore.
-
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.
-
-
-
Under Destination, copy and paste the contents of the source S3 server CA certificate.
-
Click Protection > Relationships to monitor the restore progress.
-
Create the new destination bucket for restore. For more information, see Create a backup relationship for a bucket (cloud target).
-
Initiate a restore operation for the destination bucket:
snapmirror restore -source-path object_store_name:/objstore -destination-path svm_name:/bucket/bucket_name
ExampleThe following example restores a destination bucket to an existing bucket.
clusterA::> snapmirror restore -source-path sgws.store:/objstore -destination-path vs0:/bucket/test-bucket