# Invalid snapshot name snapshot with the same name already in-progress Elasticsearch

**URL:** https://discuss.elastic.co/t/invalid-snapshot-name-snapshot-with-the-same-name-already-in-progress-elasticsearch/275981
**Category:** Elasticsearch
**Tags:** snapshot-and-restore
**Created:** [June 15, 2021, 10:55am UTC](https://discuss.elastic.co/t/invalid-snapshot-name-snapshot-with-the-same-name-already-in-progress-elasticsearch/275981 "2021-06-15T10:55:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rknd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rknd/32/103882_2.png) [@rknd](https://discuss.elastic.co/u/rknd)
#### Post date: [June 15, 2021, 10:55am UTC](https://discuss.elastic.co/t/invalid-snapshot-name-snapshot-with-the-same-name-already-in-progress-elasticsearch/275981/1 "2021-06-15T10:55:11Z")

</div>

I am trying to get snapshot of my Elasticsearch Cluster with below commands.

```auto
PUT _snapshot/backups
{
  "type": "fs",
  "settings": {
    "compress": true,
    "location": "/backup_path"
  }
}

```

The above returns ok. But when i run the below query,

```auto
PUT /_snapshot/backups/backup_15_06_2021?wait_for_completion=true&pretty
{
  "indices": "*",
  "ignore_unavailable": true,
  "include_global_state": false,
  "metadata":{
    "taken_by": "marko",
    "taken_because": "backup before upgrade"
  }
}

```

It waits some minutes than returns,

```auto
Invalid snapshot name snapshot with the same name already in-progress

```

But every try I use different name but that didn't work well. How can i solve this ? Thanks for answering

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 16, 2021, 12:19am UTC](https://discuss.elastic.co/t/invalid-snapshot-name-snapshot-with-the-same-name-already-in-progress-elasticsearch/275981/2 "2021-06-16T00:19:25Z")

</div>

What's the output from `GET _snapshot/backup`?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 14, 2021, 12:19am UTC](https://discuss.elastic.co/t/invalid-snapshot-name-snapshot-with-the-same-name-already-in-progress-elasticsearch/275981/3 "2021-07-14T00:19:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
