Restoring a Backup to a New OpenSearch Cluster
Restore a backup to a different OpenSearch cluster than the source cluster.
Use this option when the cluster itself has failed and you need to rebuild the cluster. If the cluster is fine but there's an issue with the data in the cluster, see Restoring a Backup to the Source OpenSearch Cluster.
Before you restore the backup, you need to create the new cluster. Follow the steps in Creating an OpenSearch Cluster, and specify the same node configuration options as the ones for the cluster that you're restoring from backup.
- On the Clusters list page, select the cluster that you want to work with. If you need help finding the list page or the cluster, see Listing OpenSearch Clusters.
- From the Actions menu for the cluster, select Restore.
- In the Restore panel, select the backup that you want to restore to the new OpenSearch cluster.
- Select Restore.
Use the restore command and required parameters to restore a backup to the new OpenSearch cluster:
oci opensearch cluster restore --compartment-id <compartment_ID> --opensearch-cluster-backup-id backup_ocid --opensearch-cluster-id new_cluster_ocid
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the RestoreOpensearchCluster operation to restore a backup to a new OpenSearch cluster.