Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AviranAbady/f5604baae79f9c9830706d5eefc66d31 to your computer and use it in GitHub Desktop.
Save AviranAbady/f5604baae79f9c9830706d5eefc66d31 to your computer and use it in GitHub Desktop.
elasticsearch restore and rename
POST _snapshot/cs-automated/2021-05-28t09-21-08.6875e438-f416-45ff-93d0-cd3062924011/_restore
{
"indices": "stations",
"ignore_unavailable": true,
"include_global_state": false,
"rename_pattern": "stations",
"rename_replacement": "restored_stations",
"include_aliases": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment