Automated Cluster Backups

OCI Search with OpenSearch creates backups of your OpenSearch clusters automatically.

The backups are generated daily, stored in the same compartment as the source cluster, and maintained for 14 days. These settings are not configurable. You can also create a backup manually.

You have two options for restoring a cluster from a backup:

  1. Restore the backup to the source cluster.
  2. Restore the backup to a new cluster.

You can delete your cluster backups, see Deleting an OpenSearch Cluster Backup.

IAM Policy

To use Oracle Cloud Infrastructure, you must be granted security access in a policy  by an administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don’t have permission or are unauthorized, verify with your administrator what type of access you have and which compartment  to work in.

If you're new to policies, see Getting Started with Policies and Common Policies.

Manual Backups

Manual backups are on-demand one-off backups that you can create immediately using the steps outlined in Creating an OpenSearch Cluster Backup.

When you manually create a backup, you can create the backup in a different compartment than the source cluster for the backup. Backups created manually are maintained for 14 days, the same amount of time that automatically generated backups are maintained.

Option 1. Restore the backup to the source cluster

With this option, you revert the data in an existing cluster to a snapshot from a previous point in time. The backup can only be restored to the source, you can't select another cluster to restore the backup to. Use this option when the cluster is fine, but there's an issue with the data in a cluster, so you want to restore the data only. See Restoring a Backup to the Source OpenSearch Cluster.

Option 2. Restore the backup to a new cluster

With this option, you restore the backup to a different cluster. Before you restore the backup, you need to create the new cluster. Follow the steps in Creating an OpenSearch Cluster, and specify the name node configuration options as the ones for the cluster you're restoring from backup.

Use this option when the cluster itself has failed and you need to rebuild the cluster. See Restoring a Backup to a New OpenSearch Cluster.