Error while creating snapshot


(Sripathi Kammari) #1

I found following error while creating snopshot using URL : http://192.168.33.10/_snapshot/temp

{"error":"RepositoryException[[temp] failed to create repository]; nested: CreationException[Guice creation errors:\n\n1) Error injecting constructor, org.elasticsearch.common.blobstore.BlobStoreException: Failed to create directory at [backup]\n at org.elasticsearch.repositories.fs.FsRepository.(Unknown Source)\n while locating org.elasticsearch.repositories.fs.FsRepository\n while locating org.elasticsearch.repositories.Repository\n\n1 error]; nested: BlobStoreException[Failed to create directory at [backup]]; ","status":500}

Could you please someone look into this and help me


(Alexander Reelsen) #2

can you share the Elasticsearch and JVM version, as well as the exception in your log files.

In addition please also show the response of your snapshot operation with the error_trace=true parameters and add the full JSON response here.

Thanks.


(Sripathi Kammari) #3

Thank for the reply @spinscale

I could resolve this issue by setting up ownership to backup directory
chown -R elasticsearch:elasticsearch $BACKUP_DIR


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.