# Questions regarding ElasticSearch backup

**URL:** https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309
**Category:** Elasticsearch
**Created:** [September 29, 2015, 7:54am UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309 "2015-09-29T07:54:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MartinG](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MartinG](https://discuss.elastic.co/u/MartinG)
#### Post date: [September 29, 2015, 7:54am UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309/1 "2015-09-29T07:54:31Z")

</div>

Hello,

I have some questions regarding ElasticSearch backups. As described in the documentation ([https://www.elastic.co/guide/en/elasticsearch/guide/current/backing-up-your-cluster.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/backing-up-your-cluster.html)) the first backup is a full backup and all following backups are incremental.

If I decide to run a backup every night e.g. this means that after three days I need to restore the full backup and the backups of two days to get the last backup state. After one year this would mean that I need to restore the first backup and followed by 364 incremental backups.

Do I understand this correct?

Another question: if I create another repository and I run again a backup. Will this backup be a full backup?

Greetings,

Martin

---

<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: [September 29, 2015, 8:12am UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309/2 "2015-09-29T08:12:05Z")

</div>

> [@MartinG](#):
>
> Do I understand this correct?

Nope, but that's a good thing!

You can restore the full backup and then just the day you want and Elasticsearch will figure out what other data it needs from any of the other backups.

> [@MartinG](#):
>
> Another question: if I create another repository and I run again a backup. Will this backup be a full backup?

Yes that is correct.

---

<div class="post-metadata">

### Author: ![MartinG](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MartinG](https://discuss.elastic.co/u/MartinG)
#### Post date: [September 29, 2015, 3:07pm UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309/3 "2015-09-29T15:07:07Z")

</div>

Hello Mark,

thank you very much for your quick answers!

I have an additional question:

E.g. I create an index A with several documents. I run a first backup, which is a full backup.  
On the next day I create index B (with documents) and run a backup, which is an incremental one.  
On the third day I create index C (again with data). But I also delete index A. Then I create a new backup.  
What will happen with the data of index A in the backup repository? Will it also be deleted? I assume, it will not be deleted. If I'm right this means, that my repository grows and grows.

Greetings,

Martin

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 29, 2015, 3:18pm UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309/4 "2015-09-29T15:18:02Z")

</div>

The snapshot and restore functionality is described very well [in this blog post](https://www.elastic.co/blog/found-elasticsearch-snapshot-and-restore).

---

<div class="post-metadata">

### Author: ![MartinG](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MartinG](https://discuss.elastic.co/u/MartinG)
#### Post date: [October 6, 2015, 9:04am UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309/5 "2015-10-06T09:04:49Z")

</div>

Thanks a lot. It's a great article.

---

<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, 11:46pm UTC](https://discuss.elastic.co/t/questions-regarding-elasticsearch-backup/31309/6 "2017-07-05T23:46:34Z")

</div>


