PUT /_snapshot/es_backup/4dec1048
{
"indices": "log",
"ignore_unavailable": true,
"include_global_state": false
}
and then i try to see my data , so i restored it on the same nodes with :
POST _snapshot/es_backup/4dec1048/_restore
{
"indices": "log",
"rename_pattern": "log"
,"rename_replacement": "log-backup"
}
then i want to see how much document that i have :
GET log-backup/log/_search
my data that i want to back up is 222.mb with 380k document
and the data that i backuped 44,7mb with 77k document
This is why i turn verify to false :
"reason": "[es_logbak] [[uw5kPLo6TwC_ZhKTlQat8Q, 'RemoteTransportException[[node-05][10.32.12.85:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[es_logbak] a file written by master to the store [/etc/elasticsearch/es_backup] cannot be accessed on the node [{node-05}{uw5kPLo6TwC_ZhKTlQat8Q}{LM5ec5DrTHWHxiGpaZaKpg}{10.32.12.85}{10.32.12.85:9300}]. This might indicate that the store [/etc/elasticsearch/es_backup] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];'], [b1q4PAqMQseSROz3Xg7u0A, 'RemoteTransportException[[node-06][10.32.12.86:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[es_logbak] a file written by master to the store [/etc/elasticsearch/es_backup] cannot be accessed on the node [{node-06}{b1q4PAqMQseSROz3Xg7u0A}{ZHXd0YmNSEWx6ZK3wcQNuA}{10.32.12.86}{10.32.12.86:9300}]. This might indicate that the store [/etc/elasticsearch/es_backup] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.