Restoring a Backup to the Source OpenSearch Cluster
Restore an OpenSearch cluster backup to the source cluster the backup was generated from.
If the cluster itself has failed and you need to rebuild the cluster, see Restoring a Backup to a New OpenSearch Cluster.
Open the navigation menu and click Databases. Under OpenSearch, click Clusters.
Under List scope, select the compartment that contains the cluster.
In the Clusters list, click the name of the cluster that you want to restore to a backup.
- On the cluster details page, under Resources, click Backups.
- In the Backups list, click the for the backup that you want to restore to, and then select Restore.
- In the Restore panel, click Restore.
Use the restore command and required parameters to restore a backup to the source cluster:
oci opensearch cluster restore --compartment-id <compartment_ID> --opensearch-cluster-backup-id backup_ocid --opensearch-cluster-id source_cluster_ocid
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
- For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Run the RestoreOpensearchCluster operation to restore a backup to a cluster.