﻿---
title: Snapshot repository missing
description: Describes what AutoOps detects and surfaces with the Snapshot repository missing insight: No snapshot repository is properly configured, so the cluster cannot create or restore snapshots.
url: https://docs-v3-preview.elastic.dev/elastic/autoops-insights/tree/main/elasticsearch/snapshot_repository_missing
products:
  - Elastic Cloud Enterprise
  - Elastic Cloud Hosted
  - Elastic Cloud on Kubernetes
  - Elasticsearch
applies_to:
  - Elastic Cloud Hosted: Generally available
  - Elastic Cloud on Kubernetes: Generally available
  - Elastic Cloud Enterprise: Generally available
  - Self-managed Elastic deployments: Generally available
---

# Snapshot repository missing
No snapshot repository is properly configured, so the cluster cannot create or restore snapshots. Without backups, recovery after data loss or corruption is limited.
<note>
  For a complete list of insights, refer to [AutoOps insights](https://docs-v3-preview.elastic.dev/elastic/autoops-insights/tree/main/elasticsearch).
</note>


## Insight details


| Field     | Value            |
|-----------|------------------|
| Component | Elasticsearch    |
| Severity  | Medium           |
| Scope     | Cluster          |
| Domains   | snapshots-backup |


## Example: What you might see in AutoOps

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

### No snapshot repository is configured


#### What was detected

No usable snapshot repository is configured on the cluster. Snapshot and restore operations cannot run.

#### Recommendations

<note>
  AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.
</note>

<dropdown title="Add snapshot repository">
  **Condition**: Always shown for this insight.Register a snapshot repository so you can back up indices. Use the action below and replace the placeholder repository name and path.
  ```json

  {
    "type": "fs",
    "settings": {
      "location": "your_backup_location"
    }
  }
  ```

  <note>
    Requires the `manage cluster` privilege. Requires Elasticsearch 8.0.0 or later. This action changes cluster or index configuration.
  </note>
</dropdown>


#### Background and impact

Elasticsearch backs up indices through the snapshot and restore APIs. Those APIs need a registered repository that every node can reach.
On self-managed clusters that use a shared filesystem repository, nodes typically need `path.repo` in `elasticsearch.yml` before you can register the repository. Other repository types (for example cloud object stores) have their own setup path.
Without a working repository, scheduled backups do not run and you cannot restore from snapshots after failure, accidental deletes, or corruption.