Restoring a Backup to a New OpenSearch Cluster
Restore a backup to a different OpenSearch cluster than the source 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.
Open the navigation menu and click Databases. Under OpenSearch, click Backups.
Under List scope, select the compartment that contains the backup.
In the Backups list, locate the backup that you want to restore, click the
, and then select Restore.- In the Restore dialog box, select the new cluster that you want to restore to. Click Change Compartment if the new cluster is in a different compartment from the backup.
- 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 new_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 new cluster.