index snapshot restore

The index snapshot restore command restores a search index snapshot.
Note: No operation is allowed on the search index while you are restoring its snapshot.

To view the status of snapshot restore use the command index restore list. For more information, see index snapshot list


index snapshot restore
Yes--i Index nameName of the search index, the snapshot of which is being restored.
Yes--s Snapshot nameName of the snapshot to be restored.


This example restores the snapshot "my_snapshot" of search index "customer_index".

index snapshot restore --i customer_index --s my_snapshot