# Snapshot repository size

**URL:** <https://discuss.elastic.co/t/snapshot-repository-size/50684>\
**Category:** Elasticsearch\
**Created:** [May 23, 2016, 9:26am UTC](https://discuss.elastic.co/t/snapshot-repository-size/50684 "2016-05-23T09:26:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon45667325](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@anon45667325](https://discuss.elastic.co/u/anon45667325)\
**Post date:** [May 23, 2016, 9:26am UTC](https://discuss.elastic.co/t/snapshot-repository-size/50684/1 "2016-05-23T09:26:39Z")

</div>

Hello,  
I'm migrating elasticsearch from 1.6.2 to 2.3.2. In the process I want to create a snapshot in case of errors on my end.  
Kopf seems to show that I have 5 To of data, primary and replica shards altogether.  
I'm not sure if the snapshot function backs them all up or just the primary shards.  
Should I size my repository up to 5To or can I size it down to just my primary shards size ?  
Thank you, have a great day.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 23, 2016, 9:27am UTC](https://discuss.elastic.co/t/snapshot-repository-size/50684/2 "2016-05-23T09:27:05Z")

</div>

Snapshots only apply to the primaries

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:49pm UTC](https://discuss.elastic.co/t/snapshot-repository-size/50684/3 "2017-07-05T22:49:51Z")

</div>


