# Unable to take snapshot - Version 5.6.12

**URL:** <https://discuss.elastic.co/t/unable-to-take-snapshot-version-5-6-12/281262>\
**Category:** Elasticsearch\
**Created:** [August 12, 2021, 8:16pm UTC](https://discuss.elastic.co/t/unable-to-take-snapshot-version-5-6-12/281262 "2021-08-12T20:16:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sridharparepalli](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@sridharparepalli](https://discuss.elastic.co/u/sridharparepalli)\
**Post date:** [August 12, 2021, 8:16pm UTC](https://discuss.elastic.co/t/unable-to-take-snapshot-version-5-6-12/281262/1 "2021-08-12T20:16:38Z")

</div>

Hello,  
I was able to register the snapshot successfully. However, when I try to take a backup I'm getting this error message. "No matches found..." Any help is greatly appreciated.

```auto
Register Snapshot (works fine):
sudo curl -X PUT --cacert ${cacert} --key ${key} --cert ${cert} -H "Content-Type: application/json" https://localhost:9200/_snapshot/my_backup --data '{"type": "fs","settings": {"location": "/opt/xxx/xxxx/config/data/repository","compress": true}}'
{"acknowledged":true}#

Backup Command : (Does not work)
sudo curl -X PUT --cacert ${cacert} --key ${key} --cert ${cert} -H "Content-Type: application/json" https://localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true

Error Message: 
zsh: no matches found: https://localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true

Additional Information:

List Indices (work fine):
sudo curl --cacert ${cacert} --key ${key} --cert ${cert} 'https://localhost:9200/_cat/indices?s=index'
yellow open sand __tenant0__ alerts__1572020264685 MmAYby--TjuvzGKl-s8ijQ 1 1 0 0 192b 192b
yellow open sand __tenant0__ document_link__1572019877175 vgDBkiTYTeyDs-3gQnCqAg 1 1 0 0 192b 192b
yellow open sand __tenant0__ entity_link__1572019879941 Nquo8byLRgWVbpHsIpDzJw 1 1 0 0 192b 192b
yellow open sand __tenant0__ transaction_link__1572019881252 eUDL2s8KThiqDZr_0z4CSw 1 1 0 0 192b 192b
yellow open sand __tenant1__ account__1627589435070 ztbMqtAkQyW_wX5Zhwx91w 1 1 13948 0 11.7mb 11.7mb
yellow open sand __tenant1__ alerts__1572023740785 9BthdKKBQ8GWdGcoJ0Cs5A 1 1 150 9 225.6kb 225.6kb
yellow open sand __tenant1__ cash_flow_fact__1627589368390 t3OdI4aWSSWfy9ORhK3tyw 1 1 6752 0 2.6mb 2.6mb
yellow open sand __tenant1__ document_link__1572023506315 DrcTGLRnTaOlAY975lcrNw 1 1 49 0 19.4kb 19.4kb
yellow open sand __tenant1__ entity_link__1572023507352 xoQlXpasRweQtJ4f8BgeoA 1 1 0 0 192b 192b
yellow open sand __tenant1__ party__1627590082338 wcL6zAZvQzmTw-FPepaYMQ 1 1 27118 0 31mb 31mb
yellow open sand __tenant1__ transaction_link__1572023508290 OPl3inSrRHmeTJ1QZSZDhA 1 1 0 0 192b 192b
yellow open sand __tenant2__ alerts__1572027693903 BQib3fLkT76US5sOayPWsQ 1 1 0 0 192b 192b
yellow open sand __tenant2__ document_link__1572027414211 VFP6jPT1RW-cXtIYmAsIYA 1 1 0 0 192b 192b
yellow open sand __tenant2__ entity_link__1572027417189 8CDMHV88QJ6hACl8IeBiRQ 1 1 0 0 192b 192b
yellow open sand __tenant2__ transaction_link__1572027418944 H2zmdc2lTmimTLN9EN79XQ 1 1 0 0 192b 192b
yellow open sand __tenant3__ alerts__1572028427988 RI-zceqRSbqH0fl87EyT_w 1 1 0 0 192b 192b
yellow open sand __tenant3__ document_link__1572028128279 32y9CwhFSsWI71Yk80tfJw 1 1 0 0 192b 192b
yellow open sand __tenant3__ entity_link__1572028131309 YsG9qiU3T_2xbi6LR7RDEw 1 1 0 0 192b 192b
yellow open sand __tenant3__ transaction_link__1572028132836 na72xeI6TKaF9B1KGhjTjQ 1 1 0 0 192b 192b
yellow open sand __tenant4__ alerts__1572029279879 RqqFlvpZTS-ATkFcTrOorA 1 1 0 0 192b 192b
yellow open sand __tenant4__ document_link__1572028964883 Qphu_Z6NRnWMxXLgxWpNyg 1 1 0 0 192b 192b
yellow open sand __tenant4__ entity_link__1572028967650 csqiVRybRs-7FhNLA9WuOQ 1 1 0 0 192b 192b
yellow open sand __tenant4__ transaction_link__1572028969654 GjUkxH7HTiKH6ngj8McANw 1 1 0 0 192b 192b
green open searchguard SkfruwTpQF2C-tryB7yKFA 1 0 5 0 50.7kb 50.7kb

> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:9200
> Accept: */*
>
< HTTP/1.1 200 OK
< content-type: application/json; charset=UTF-8
< content-length: 332
<
{
  "name" : "IsKD2CM",
  "cluster_name" : "xxx-elasticsearch",
  "cluster_uuid" : "nKsUS4SWTwalsDYqhwX56w",
  "version" : {
    "number" : "5.6.12",
    "build_hash" : "cfe3d9f",
    "build_date" : "2018-09-10T20:12:43.732Z",
    "build_snapshot" : false,
    "lucene_version" : "6.6.1"
  },
  "tagline" : "You Know, for Search"
}

```

---

<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:** [August 17, 2021, 1:24am UTC](https://discuss.elastic.co/t/unable-to-take-snapshot-version-5-6-12/281262/2 "2021-08-17T01:24:24Z")

</div>

Welcome to our community! 😃

5.X is long past [EOL](https://www.elastic.co/support/eol), please upgrade as a matter of urgency.

> [@sridharparepalli](#):
>
> ```auto
> zsh: no matches found: https://localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true
> 
> ```

That would suggest this is a shell issue, not an Elasticsearch one. Have you tried wrapping the url in quotes?

---

<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 14, 2021, 1:24am UTC](https://discuss.elastic.co/t/unable-to-take-snapshot-version-5-6-12/281262/3 "2021-09-14T01:24:40Z")

</div>

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