Skip to content

Snapshot/Restore: Add ability to restore partial snapshots #5742

Closed
@geekpete

Description

@geekpete

Is there a way to copy a single index from a snapshot marked as "incomplete" by the restore function to the data dir of a single node elastic cluster in order to restore that index data by reopening it as a closed index?

eg, to restore a single index from a multi-index snapshot (an index marked as incompleted).

from whatever source location with a dir structure like:

snapshotname/indices/myindexname/*

to:

/var/lib/elasticsearch/mycluster/nodes/0/indices/myindexname/*

will elasticsearch see this as a closed index and provide the ability to online it again?

Failing that, is there any other possible way to salvage data from a snapshotted index that is marked as incomplete, especially if the size of the index appears to be correct?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions