Hello all
Im trying to test backup and restore of ES.
I have draylog data and an elasticsearch 2.3.3 database.
Here What I want to do:
1 - Create repository --> OK
2 - Snapshot one index with: curl -XPUT "http://localhost:9200/_snapshot/mensuel/${TARGET}?wait_for_completion=true" -d "{"indices": "${TARGET}", "ignore_unavailable": true, "include_global_state": false}" --> OK
3 - Tar this backup --> OK
4 - Create a docker container of elasticsearch (official 2.3.3) --> OK
5 - Configure repository, and put in the untared backup --> OK
6 - Restore data with: curl -XPOST http://localhost:9200/_snapshot/my_backup/${TARGET}/_restore --> SUCESS but very quick
7 - Control Data restored with:
root@99655f0e488a:/usr/share/elasticsearch# curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
red open arch_100 1 0
I don't understand what is wrong !?
Could you help me to safe my backup process ?
Thanks