Skip to main content

Create and manage snapshots in Aiven for OpenSearch® Limited availability

Create, list, retrieve, or delete snapshots in your Aiven for OpenSearch custom repositories.

Prerequisites

important

Automatic snapshot scheduling is not supported. You must create, list, and delete snapshots manually.

Limitations

  • Supported storage services are:
    • Amazon S3
    • Google Cloud Storage (GCS)
    • Microsoft Azure Blob Storage
  • Restoring from snapshots is not supported in the Aiven Console.

Create a snapshot

Create a snapshot in a custom repository.

  1. Log in to the Aiven Console, go to your project, and open your service's page.
  2. Click Snapshots in the sidebar.
  3. On the Snapshots page, do one of the following:
    • Click Create snapshot.
    • Find your custom repository and click Actions > Create snapshot.
  4. In the Create snapshot window:
    1. Select a destination repository.
    2. Enter a snapshot name.
    3. Specify which indices to include.
    4. Optionally, enable the following:
      • Ignore unavailable indices
      • Include global state
      • Partial snapshot
    5. Click Create.

Your snapshot is being created. Monitor its status until it shows Success.

Restore from snapshots

To restore data from a snapshot, use the Restore Snapshot native OpenSearch API endpoint.

List snapshots in progress

Preview snapshots that are still being created in a repository.

  1. Log in to the Aiven Console, go to your project, and open your service's page.
  2. Click Snapshots in the sidebar.
  3. On the Snapshots page, find your custom repository and click to expand the list of snapshots inside.
  4. In the column with snapshot status information, find in progress values.

List snapshots in a repository

Preview all snapshots, including completed and failed ones.

  1. Log in to the Aiven Console, go to your project, and open your service's page.
  2. Click Snapshots in the sidebar.
  3. On the Snapshots page, find your custom repository and click to expand the list of snapshots inside.

View snapshot details

Get details of a specific snapshot.

  1. Log in to the Aiven Console, go to your project, and open your service's page.
  2. Click Snapshots in the sidebar.
  3. On the Snapshots page, find your custom repository, click to expand the list of snapshots inside, find a snapshot to be previewed, and click Actions > View snapshot details.

Delete a snapshot

Delete a snapshot from a repository.

  1. Log in to the Aiven Console, go to your project, and open your service's page.
  2. Click Snapshots in the sidebar.
  3. On the Snapshots page, find your custom repository, click to expand the list of snapshots inside, find a snapshot to be deleted, click Actions > Delete snapshot > Delete.

Error handling

The Aiven API returns OpenSearch errors as they are.

Exceptions:

  • 502: OpenSearch did not respond.
  • 409: The service is not powered on or does not support this feature.

Related pages

OpenSearch snapshot API reference.