Snapshot PUT use json
This commit is contained in:
parent
a99038f251
commit
04738b440a
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue