# Snapshot backup to AWS s3

**URL:** https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397
**Category:** Elasticsearch
**Created:** [February 21, 2019, 11:07am UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397 "2019-02-21T11:07:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Phandora](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phandora/32/46108_2.png) [@Phandora](https://discuss.elastic.co/u/Phandora)
#### Post date: [February 21, 2019, 11:07am UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397/1 "2019-02-21T11:07:45Z")

</div>

Hi,

Could I create a snapshot backup on AWS s3 from some specific index pattern and later create another one without saving the index that already exist on the previous snapshot? I know it could be done by day just considering the current date on the index pattern, but could it be done by hour for example? (elasticsearch index is assigned by day)

Sorry if the explanation is a bit confusing. I would appreciate any help.

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [February 21, 2019, 10:39pm UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397/2 "2019-02-21T22:39:03Z")

</div>

It's not really clear what you're asking. Could you spell it out in more detail, maybe with an example?

Perhaps you are asking whether snapshots are incremental on an index-by-index basis? If so, yes, they are, you don't need to include every index in every snapshot to get the benefits of incremental snapshots. But it might be confusing to keep track of which snapshots have which indices in them.

---

<div class="post-metadata">

### Author: ![Phandora](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phandora/32/46108_2.png) [@Phandora](https://discuss.elastic.co/u/Phandora)
#### Post date: [February 22, 2019, 12:02am UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397/3 "2019-02-22T00:02:43Z")

</div>

Thanks for the reply David. Sorry for the messy topic, I'm new to Elasticsearch so I can't explain myself properly. So if i understood you correctly, if snapshots are incremental only new segments would be copied when I create a snapshot because the others already have a backup, right?

Also, what happen if I make a new snapshot request and, at the same time, some new files are indexed on elasticsearch? Would only the existing segments before I make the request be copied? or maybe, while the snapshot is being created, the files indexed after the request would be copied?

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [February 22, 2019, 2:59am UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397/4 "2019-02-22T02:59:45Z")

</div>

> [@Phandora](#):
>
> only new segments would be copied when I create a snapshot because the others already have a backup, right?

Exactly right, yes.

> [@Phandora](#):
>
> Would only the existing segments before I make the request be copied?

Yes, that's right.

---

<div class="post-metadata">

### Author: ![Phandora](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phandora/32/46108_2.png) [@Phandora](https://discuss.elastic.co/u/Phandora)
#### Post date: [February 22, 2019, 2:51pm UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397/5 "2019-02-22T14:51:14Z")

</div>

Thank David for all your assistance! I really appreciate your help.

---

<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: [March 8, 2019, 2:51pm UTC](https://discuss.elastic.co/t/snapshot-backup-to-aws-s3/169397/6 "2019-03-08T14:51:17Z")

</div>

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