# How to restore source-only indices and rebuild index

**URL:** https://discuss.elastic.co/t/how-to-restore-source-only-indices-and-rebuild-index/366871
**Category:** Elasticsearch
**Tags:** snapshot-and-restore
**Created:** [September 20, 2024, 10:13am UTC](https://discuss.elastic.co/t/how-to-restore-source-only-indices-and-rebuild-index/366871 "2024-09-20T10:13:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ACoder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/acoder/32/113449_2.png) [@ACoder](https://discuss.elastic.co/u/ACoder)
#### Post date: [September 20, 2024, 10:13am UTC](https://discuss.elastic.co/t/how-to-restore-source-only-indices-and-rebuild-index/366871/1 "2024-09-20T10:13:16Z")

</div>

When I created the snapshot repo, I chose source-only to save space. When I restored it, I found it didn't rebuild the index.

Instead of restoring it to a temporary index, then call the reindex API. Is there a simpler method to do it in one step?
