From c3606d05bc14a3e9826be9752de4c1b4a9cb191c Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 11 Jul 2019 09:16:52 +0200 Subject: [PATCH] Make snapshots incremental --- templates/elasticsearch-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/elasticsearch-snapshot b/templates/elasticsearch-snapshot index 6bf691b..753d219 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}' -- GitLab