restore_snapshot
Restore Elasticsearch indices from specific snapshots with options for index selection, conflict resolution, and custom settings. Ideal for recovering data from designated repositories efficiently.
Instructions
Restore indices from an Elasticsearch snapshot with comprehensive options and conflict resolution
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ignore_unavailable | No | Whether to ignore unavailable indices | |
include_global_state | No | Whether to restore cluster global state | |
index_settings | No | JSON string of index settings to override | |
indices | No | Comma-separated list of indices to restore (default: all from snapshot) | |
rename_pattern | No | Pattern to rename restored indices (e.g., 'restored_%s') | |
repository | No | Repository containing the snapshot | backup_repository |
snapshot_name | Yes | Name of the snapshot to restore from | |
wait_for_completion | No | Whether to wait for restore completion |