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

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

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

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

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,

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

What's the output from GET _snapshot/backup?

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