Snapshot PUT use json

This commit is contained in:
vlaborie 2018-11-05 17:00:52 +01:00
parent a99038f251
commit 04738b440a

View file

@ -211,7 +211,7 @@ path.repo: ["/home/backup-elasticsearch"]
Il faut redémarrer Elasticsearch et créer un ensemble de snapshots (snapshots repository) ainsi :
~~~
$ curl -XPUT 'http://localhost:9200/_snapshot/foo' -d '{
$ curl -H'Content-Type: application/json' -XPUT 'http://localhost:9200/_snapshot/foo' -d '{
"type": "fs",
"settings": {
"location": "/home/backup-elasticsearch",