After redeploying Elasticsearch 1.7 in our server, data has been removed. and when we use _snapshot api to restore created backup using: curl -X GET "localhost:9200/_snapshot/test_backup"
Thank you for the feedback!
But i have already added the path in elasticsearch_cutom.yml as repo path, and the feedback was already created by an other instance of elasticsearch.
I've created a snapshot named snapshot20180625 in an environment and i copied it into another environment, then i tried to register the repository using:
{"error":"RemoteTransportException[[***server name***][inet[/***IP***:9300]][cluster:admin/repository/put]]; nested: ProcessClusterEventTimeoutException[failed to process cluster event (put_repository [snapshot20180625]) within 30s]; ","status":503}
There is one to many relationship between repositories and snapshots and you seemed to be conflating the two. One repository can contain multiple snapshots and you register repository while creating and restoring snapshots. Please, check documentation and fully understand the difference and relationship between them before continue.
The error that you are getting can indicate several things. It can indicate that some nodes don't have access to the directory /shared/appdata/sls/sls.elasticsearch/backups and timeout trying to access it or that the cluster is in pretty bad shape and cannot process the request within 30 seconds.
Could you verify that the directory /shared/appdata/sls/sls.elasticsearch/backups is mounted on all nodes and have the same access rights and that elasticsearch is running under the user with the same id on all nodes.
Could you also check that nothing else is going on on the cluster by running GET /_cat/pending_tasks
Do you see any error message in the log file on 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.