diff --git a/templates/elasticsearch-snapshot b/templates/elasticsearch-snapshot index 6bf691b3ee62aa7dea7e752ab024f4bd4170405a..753d2198e144aa7892a5b8ffda9f141b36ed1f7a 100644 --- a/templates/elasticsearch-snapshot +++ b/templates/elasticsearch-snapshot @@ -2,4 +2,4 @@ {% set ES_INDICES = elasticsearch.snapshot.indices|join(',') %} -curl -X PUT 'http://elastic:{{ elasticsearch.users.elastic|default("") }}@localhost:9200/_snapshot/Backup/snapshot_1?wait_for_completion=true' -H 'Content-Type: application/json' -d '{"indices": "{{ ES_INDICES }}","ignore_unavailable": true,"include_global_state": false}' +curl -X PUT 'http://elastic:{{ elasticsearch.users.elastic|default("") }}@localhost:9200/_snapshot/Backup/%3Csnapshot-%7Bnow%2Fd%7D%3E?wait_for_completion=true' -H 'Content-Type: application/json' -d '{"indices": "{{ ES_INDICES }}","ignore_unavailable": true,"include_global_state": false}'