ElasticsearchIllegalArgumentException to create snapshot in curl

Hi,
I am following the documentation as given from
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html
.

With the same command, I get error. Can someone pls help?

C:>curl -XPUT "http://localhost:9200/_snapshot/my_backup" -d '{"type":
"fs","settings": { "location": "/mount/backups/my_backup","compress": true}
}'

{"error":"ElasticsearchIllegalArgumentException[failed to parse repository
source ['{type:]]; nested: JsonParseException[Unexpected character ('''
(code 39)): expected a valid value (number, String, array, object, 'true',
'false' or 'null')\n at [Source: '{type:; line: 1, column: 2]];
","status":400}curl: (6) Could not resolve host: fs,settings
curl: (3) [globbing] unmatched brace in column 1
curl: (6) Could not resolve host: location
curl: (3) malformed
curl: (3) [globbing] unmatched close brace/bracket in column 5
curl: (3) [globbing] unmatched close brace/bracket in column 1

Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e7eb3c6c-55ce-43f7-9228-737598b6174b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.