Skip to content

Snapshot and restore of system indices #61657

Closed
@jaymode

Description

@jaymode

System indices are considered an implementation detail of stack components and a way should exist for these indices to be backed up. Snapshot and restore is our backup and recovery method for all indices and it is beyond the scope of system indices to consider any other method for backing up system data.

The thinking behind snapshot and restore of system indices is:

  • System indices will indicate whether they should be backed up or not. (Their may be some that only contain data valid for a short period of time that do not need to be backed up like the .security-tokens index)
  • System indices will be backed up when include_global_state is true
  • Restoring a snapshot of a system index will replace the entire index
  • Plugins provide a callback which will be called upon restoration of a system index it registered so that any in memory state can be brought in line with the data stored in the index

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions