HOW to restore a snapshot from another location

(mostafa) #1

Hello ,
I try to restore a snapshot located on another local reader (B:)
The Elasticsearch directory is located on C:

here the snapshot content located on B:\

what spets should I follow to restore this snapshot ?
once done , is it possible to remove the snapshot or ES stills need it ?


(David Turner) #2

Assuming you have a single node, you can register this directory as a read-only repository with Elasticsearch:

Then restore this snapshot:

If you have multiple nodes then you need to set up a shared filesystem or a read-only URL repository.

Once the restore has succeeded, Elasticsearch does not need the repository any more. You can deregister the repository with DELETE /_snapshot/{repository}.

(system) closed #3

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