Closed
Description
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
istrue
- 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