# Is there any way to set backup as full or incremental manually?

**URL:** https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808
**Category:** Elasticsearch
**Created:** [July 31, 2016, 12:34am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808 "2016-07-31T00:34:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![leonzhan](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leonzhan](https://discuss.elastic.co/u/leonzhan)
#### Post date: [July 31, 2016, 12:34am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/1 "2016-07-31T00:34:38Z")

</div>

As I known, the first snapshot backup after creating repo is full backup, after that, it's incremental by default. But it seems there is no way to set the mode manually. Is there any one has the experience, please share, thanks.

---

<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: [July 31, 2016, 12:38am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/2 "2016-07-31T00:38:12Z")

</div>

You cannot, you need to create a new repo for a full backup.

---

<div class="post-metadata">

### Author: ![leonzhan](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leonzhan](https://discuss.elastic.co/u/leonzhan)
#### Post date: [July 31, 2016, 12:43am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/3 "2016-07-31T00:43:10Z")

</div>

yes, I think no before my ask.  
Why, is it a fundamental feature for ES backup?

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [July 31, 2016, 12:51am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/4 "2016-07-31T00:51:04Z")

</div>

> [@leonzhan](#):
>
> Why, is it a fundamental feature for ES backup?

Because it isn't needed.

Incremental backups are only incremental in that they don't re-copy files that haven't changed in the index. Since the index is mostly write once this works out fairly well.

You don't need to keep the old backups around though. Deleting the old backup will only remove files that aren't needed to restore any existing backups. It works like a reference counting garbage collector.

---

<div class="post-metadata">

### Author: ![leonzhan](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leonzhan](https://discuss.elastic.co/u/leonzhan)
#### Post date: [July 31, 2016, 1:14am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/5 "2016-07-31T01:14:12Z")

</div>

Thank you for your reply

As your said, how I could control backup data size? The storage is not free for my case.  
My planned strategy is to keep backup data in latest 7 days, it seems not possible, right??

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [July 31, 2016, 2:26am UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/6 "2016-07-31T02:26:46Z")

</div>

The only knob you have to control size is deleting old backups. Deleting  
old backups will remove whatever files are no longer needed. The files  
don't stick around forever.

---

<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:31pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-set-backup-as-full-or-incremental-manually/56808/7 "2017-07-05T22:31:28Z")

</div>


