Je me pose la question de l’intérêt des sauvegardes des données d’ElasticSeach. Sur mon installation, ça représente environ 40% de la taille des sauvegardes dans /var/backups/bluemind (53Go sur 130). Ces données d’ElasticSearch ne sont elles pas reconstituables en laçant une réindexation de toutes les boîtes ?
Les données ES peuvent-être reconstruites, cependant c’est beaucoup plus rapide de restaurer ce qui peut avoir des avantages dans certains cas.
Par contre, la porportion que vous indiquez est vraiment étonnante.
Que donne la commande:
curl -X GET 'http://localhost:9200/_cat/indices?v'
[root@bluemind ~]# curl -X GET 'http://localhost:9200/_cat/indices?v'
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open mailspool_pending 8iBqiumST-uYrYI6cNFUDA 5 0 3866041 785 8.8gb 8.8gb
green open mailspool_25 IdO8uUtNT4WZW_OTyLHhvQ 1 0 0 0 261b 261b
green open mailspool_3 fxzZY6NOSzKm1cNEYzCwGA 1 0 0 0 261b 261b
green open mailspool_8 vgdVYJf3Qpu1PSGVK-4PZg 1 0 46 1 739.3kb 739.3kb
green open mailspool_19 w2s8EeR4TOKDvFRuV_Rg2A 1 0 0 0 261b 261b
green open mailspool_13 VmAOyiLCSeyH16BWlsDG-w 1 0 19977 57 239.8mb 239.8mb
green open mailspool_4 c7c8r5uyTj-COEBIjmobIA 1 0 0 0 261b 261b
green open mailspool_10 O-o09qCOTDSf1WuUVM065w 1 0 0 0 261b 261b
green open mailspool_20 1_Bxu5EKT_qrVRQDEmmO5w 1 0 3997579 4045 7.2gb 7.2gb
green open mailspool_7 7rHW4SxiRp-T2I0J8rZU5g 1 0 1050404 2582 2.9gb 2.9gb
green open mailspool_1 VlEt-ExxTLaDs1uRYygn_g 1 0 515618 411 715.1mb 715.1mb
green open mailspool_15 OISGoGRMTU6thUVHoT-TLg 1 0 2 0 10.8kb 10.8kb
green open event Pe5K4UcJQh-cvPDwFnXhKg 1 0 3923 13 2.4mb 2.4mb
green open mailspool_22 sU2iGf-6Qx-bo_Fzsvr7rw 1 0 0 0 261b 261b
green open mailspool_21 8MqUXWzUSluilhYGH6bPyQ 1 0 0 0 261b 261b
green open mailspool_14 nlXS-GdMS7O_5bBSRGam7g 1 0 0 0 261b 261b
green open mailspool_16 8TaCDdQcRfOwQaAYie8g-A 1 0 0 0 261b 261b
green open mailspool_23 5cih-YQ3RdWhlJWs5EpddQ 1 0 0 0 261b 261b
green open mailspool_24 lBAa2Cq_TdyBsVl7Medxbw 1 0 0 0 261b 261b
green open contact -btuYRIxS82xyF_M92EWCg 1 0 1566 1 1.2mb 1.2mb
green open mailspool_9 IDz1QklWTNyTCCSjvQ63GQ 1 0 0 0 261b 261b
green open mailspool_17 bxY_UI1_RXCaGZuyvx0V1A 1 0 1689510 253508 1.7gb 1.7gb
green open mailspool_12 UA4wGlARQ4ypr_OcvBHLcw 1 0 480686 244 800.7mb 800.7mb
green open todo UgnKn25RTi-WImRkk_DyHQ 1 0 52 3 102.3kb 102.3kb
green open mailspool_2 ljtHz4kbRtCx-A95_VuLhQ 1 0 640 2 722.5kb 722.5kb
green open mailspool_18 H7ceVXRlRdm5iEi2o2VF4w 1 0 0 0 261b 261b
green open im RlDJaoCcS3izKHgJ-2ZCYg 1 0 0 0 261b 261b
green open mailspool_6 aQz_wBqBSMiIt7wWrahNfw 1 0 24 2 178kb 178kb
green open mailspool_11 Yr6lfSlJQZqYp9Bc6Qp0_A 1 0 0 0 261b 261b
green open mailspool_5 6oqi3iBcREiFTsPeqeJ-UA 1 0 1490 0 753.1kb 753.1kb
[root@bluemind ~]#
Ça me semble déraisonnable de consacrer autant d’espace pour des données qui peuvent être reconstruites. Sauf si c’est mon installation qui a un soucis (installé en beta3, puis mis à jour en 4.0 et maintenant en 4.0.1)
Petit up ? Comme ça a été installé en beta3, puis mis à jour, j’aimerai m’assurer qu’un ancien bug ne soit pas à l’origine. Comment je peux faire pour droper toutes les données ES et les reconstruire ?