Cool.

Still not knowing whether the act of registering a snapshot repository 
pointing to a populated directory might "initialize/wipe" the location, I 
made a copy before registering again.

After registering the repository, I queried for existing snapshots and all 
looks well, so it looks like registering is non-destructive.

Tony




On Friday, February 21, 2014 3:48:51 PM UTC-8, Binh Ly wrote:
>
> When you originally defined the snapshot, you did something like this (or 
> similar):
>
> PUT http://localhost:9200/_snapshot/Snapshots
> {
>     "type": "fs",
>     "settings": {
>         "location": "/blah"
>     }
> }
>
> On the new/empty cluster, this snapshot is not yet registered, so the 
> first thing you need to do is to run that again:
>
> PUT http://localhost:9200/_snapshot/Snapshots
> {
>     "type": "fs",
>     "settings": {
>         "location": "/blah"
>     }
> }
>
> Then after that, you should be able to restore to the new/empty cluster 
> (as long as that location "/blah" is accessible from the new cluster node).
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6d7dc569-7c04-4068-af81-9f59935ebf8d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to