# Invalid snapshot name \[\_restore\], must not start with '\_'

**URL:** <https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622>\
**Category:** Elasticsearch\
**Created:** [August 10, 2017, 1:31pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622 "2017-08-10T13:31:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![EpiqSty](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@EpiqSty](https://discuss.elastic.co/u/EpiqSty)\
**Post date:** [August 10, 2017, 1:31pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622/1 "2017-08-10T13:31:18Z")

</div>

Hello,

I tried to restore data from elasticsearch 2.4.3 cluster to new 5.5.1, and faced with strange issue:

New ES 5.5.1 seen the snapshots itself:

```
$ curl -XGET 'localhost:9200/_snapshot/backup/sl-backup-2017.08.10?pretty'
{
  "snapshots" : [
    {
      "snapshot" : "sl-backup-2017.08.10",
      "uuid" : "sl-backup-2017.08.10",
      "version_id" : 2040399,
      "version" : "2.4.3",
      "indices" : [
        "sl",
        "loadingtimes",
        "slagents"
      ],
      "state" : "SUCCESS",
      "start_time" : "2017-08-10T12:00:45.640Z",
      "start_time_in_millis" : 1502366445640,
      "end_time" : "2017-08-10T12:00:49.300Z",
      "end_time_in_millis" : 1502366449300,
      "duration_in_millis" : 3660,
      "failures" : [],
      "shards" : {
        "total" : 3,
        "failed" : 0,
        "successful" : 3
      }
    }
  ]
}

```

But, when i am trying to restore them i get strange error:

```
$ curl -XPOST 'localhost:9200/_snapshot/sl-backup-2017.08.10/_restore?pretty'
{
  "error" : {
    "root_cause" : [
      {
        "type" : "invalid_snapshot_name_exception",
        "reason" : "[sl-backup-2017.08.10:_restore]Invalid snapshot name [_restore], must not start with '_'"
      }
    ],
    "type" : "invalid_snapshot_name_exception",
    "reason" : "[sl-backup-2017.08.10:_restore]Invalid snapshot name [_restore], must not start with '_'"
  },
  "status" : 400
}

```

I took this curl from documentation ([https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#\_restore](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_restore)), but it not works for me.

What could be wrong here?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 10, 2017, 2:57pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622/2 "2017-08-10T14:57:48Z")

</div>

Should be

```auto
$ curl -XPOST 'localhost:9200/_snapshot/backup/sl-backup-2017.08.10/_restore?pretty'

```

---

<div class="post-metadata">

**Author:** ![EpiqSty](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@EpiqSty](https://discuss.elastic.co/u/EpiqSty)\
**Post date:** [August 10, 2017, 3:33pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622/3 "2017-08-10T15:33:36Z")

</div>

thanks, it works!

But, sadly it helps us only with data, but not for kibana dashboard.

Probably be it's offtopic here, but maybe you know , where kibana 4 are store their dashboards?

We have installed elasticsearch 5.5 on the same host , where was our kibana 4 installation, and suddenly, kibana also has upgraded to kibana 5.5.

We have file backups for such node, but I don't know where exactly kibana 4 are stored dashboards configuration.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 10, 2017, 3:46pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622/4 "2017-08-10T15:46:53Z")

</div>

Yeah better to ask on #kibana.

I suppose it's stored in default `.kibana` index.

---

<div class="post-metadata">

**Author:** ![EpiqSty](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@EpiqSty](https://discuss.elastic.co/u/EpiqSty)\
**Post date:** [August 10, 2017, 3:50pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622/5 "2017-08-10T15:50:06Z")

</div>

Right, i just realised my mistake.  
I will try restore with .kibana index, and proceed in in #kibana if will be any problems ,  
Thanks a lot!

---

<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:** [September 7, 2017, 3:50pm UTC](https://discuss.elastic.co/t/invalid-snapshot-name--restore-must-not-start-with--/96622/6 "2017-09-07T15:50:13Z")

</div>

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