Hi,

We are using Elasticsearch version 1.1 and trying to restore all the 
indices from backup.

        String repoN = "myrepo";
        String snapshotN = "snap_abc";
        String indices = "_all";

       RestoreSnapshotResponse restoreSnapshotResponse = 
client.admin().cluster().prepareRestoreSnapshot(repoN, snapshotN)
                .setWaitForCompletion(true)
                .setIndices(indices)  
                .execute()
                .actionGet();

 This call fails with following stacktrace:

org.elasticsearch.indices.IndexMissingException: [_all] missing
at 
org.elasticsearch.snapshots.SnapshotUtils.filterIndices(SnapshotUtils.java:77)
at 
org.elasticsearch.snapshots.RestoreService.restoreSnapshot(RestoreService.java:118)
at 
org.elasticsearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction.masterOperation(TransportRestoreSnapshotAction.java:87)
at 
org.elasticsearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction.masterOperation(TransportRestoreSnapshotAction.java:41)
at 
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$2.run(TransportMasterNodeOperationAction.java:145)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

May I know if it's already fixed in the latest version ? 

Thanks,


-- 
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/eed7f02b-c9b8-4884-a36a-e54be433e762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to