Sur un système RHEL6, j'ai suivi les étapes here pour créer un référentiel et capturer un instantané avant ma mise à niveau. J'ai vérifié l'existence du tir de pression:Le référentiel Elasticsearch ne montre aucun instantané après la mise à niveau de 2.x à 5.x
curl 'localhost:9200/_snapshot/_all?pretty=true'
Ce qui m'a donné le résultat suivant:
{ "upgrade_backup": {
"type": "fs",
"réglages" : {
"compress": "true",
"location": "/ tmp/ElasticSearch-backup"
}}}
Après la mise à niveau ElasticSearch via yum, je suis allé à restaurer mon cliché, mais aucune ne Révéler:
curl 'localhost:9200/_snapshot/_all?pretty=true'
{}
J'ai vérifié sur le système de fichiers et voir les fichiers du référentiel:
ls -lrt /tmp/elasticsearch-backup
totale 24
-rw-r - r--. 1 elasticsearch elasticsearch 121 Avr 7 14:42 meta-instantané-numéro-un.dat
drwxr-xr-x. 3 elasticsearch elasticsearch 21 avril 7 14:42 indices
-rw-r - r--. 1 elasticsearch elasticsearch 191 Avr 7 14:42 snap-instantané-numéro-un.dat
-rw-r - r--. 1 elasticsearch elasticsearch 37 avril 7 14:42 index
-rw-r - r--. 1 elasticsearch elasticsearch 188 avril 7 14:51 index-0
-rw-r - r--. 1 elasticsearch elasticsearch 8 avril 7 14:51 index.latest
-rw-r - r--. 1 ElasticSearch ElasticSearch 29 avril 7 14:51 incompatibles-instantanés
Je me suis assuré elasticsearch.yml a toujours le « data.repo » tag, donc je ne suis pas sûr où chercher ou quoi faire pour déterminer ce arrivé, mais en quelque sorte mes instantanés ont disparu!