Regarding Snapshots

Is it possible, at snapshot time, to snapshot only primary shards?


Yes, indeed snapshotting the primary shards is how it works today.

When we restore I see that both primaries and replicas are restored. How do I prevent the replicas being rebuilt?

Set index.number_of_replicas to 0, either during the restore by using the index_settings parameter of the restore API or afterwards using the update index settings API.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.