# Snapshot & Restore clarification

**URL:** <https://discuss.elastic.co/t/snapshot-restore-clarification/38866>\
**Category:** Elasticsearch\
**Created:** [January 11, 2016, 11:03am UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866 "2016-01-11T11:03:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r.ganeshbabu](https://discuss.elastic.co/u/r.ganeshbabu)\
**Post date:** [January 11, 2016, 11:03am UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/1 "2016-01-11T11:03:29Z")

</div>

Hi all,

We are using Elasticsearch 1.7.2 in Prod and having 3 master nodes, 3 data nodes & 1 client node. ES cluster has 3 indices such as,

**Index name Primary size Shards**  
es\_chr, 2 GB 1  
es\_cval 173 GB 6  
es\_item 850 GB 18

Yesterday we took snapshot in Production cluster and I can see in repository snapshot files/folders were generated with based on the number of shards allotted and then we restored the indices in **DR** (Di aster Recovery) cluster for backup purpose. Restoring in DR cluster, I manually moved the snapshot files from PROD to DR server ( **through SCP** ) and I started restoring it and process were completed well. Suppose today If i am going to take snapshot of index es\_item, data might be changed or new data will be added in index.

1. Should I again manually need to move snapshot files from PROD to DR server for backup?  
(or)

2. Is there any other workaround to move incremental data?

3. How to find the difference between initial & incremental snapshot?

Please kindly help me in this..

Thanks,  
Ganeshbabu R

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 11, 2016, 1:36pm UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/2 "2016-01-11T13:36:52Z")

</div>

If I get it correctly, I'd rsync the "repository" in PROD DC to DR DC.

I would not try to copy "only" a snapshot. Snapshot files are shared within the same repository.

---

<div class="post-metadata">

**Author:** ![r.ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r.ganeshbabu](https://discuss.elastic.co/u/r.ganeshbabu)\
**Post date:** [January 11, 2016, 2:16pm UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/3 "2016-01-11T14:16:09Z")

</div>

Thanks for your response @dadoonet

We don't have a common repository for PROD & DR server. For **PROD server** we created **NAS mount for repository** to take backup but for the **DR server location were different** so that we **can't rsync** the repository to DR cluster. So we created local repository in DR server and manually moving snapshot files from PROD repository to DR local repository.

Please give your feedback to overcome this problem.

Thanks,  
Ganeshbabu R

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 11, 2016, 2:37pm UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/4 "2016-01-11T14:37:30Z")

</div>

I don't know. I'm not a sys guy.

But you need to add all files available in the PROD repository to the DR repository.  
I don't know how you can "diff" the two directories... May be sorting by date and only copy the "new" files?

---

<div class="post-metadata">

**Author:** ![r.ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r.ganeshbabu](https://discuss.elastic.co/u/r.ganeshbabu)\
**Post date:** [January 11, 2016, 4:48pm UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/5 "2016-01-11T16:48:08Z")

</div>

Thanks for your response @dadoonet

---

<div class="post-metadata">

**Author:** ![shubham9799](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shubham9799](https://discuss.elastic.co/u/shubham9799)\
**Post date:** [June 8, 2017, 9:12am UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/6 "2017-06-08T09:12:16Z")

</div>

I took second snapshot after adding some files and try to find the difference. I found that some files also got removed and some got modified. But if I am adding documents, why some files get removed from the backup?

---

<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:** [June 8, 2017, 9:25am UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/7 "2017-06-08T09:25:25Z")

</div>

Please start a new thread for your question.

---

<div class="post-metadata">

**Author:** ![shubham9799](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shubham9799](https://discuss.elastic.co/u/shubham9799)\
**Post date:** [June 8, 2017, 9:46am UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/8 "2017-06-08T09:46:41Z")

</div>

> [@Files change during snapshot and restore process](https://discuss.elastic.co/t/files-change-during-snapshot-and-restore-process/88694):
>
> I took second snapshot after adding some files and try to find the difference. I found that some files also got removed and some got modified. But if I am adding documents, why some files get removed from the backup? I am asking this because I want to copy the new files to a different location. If some files are getting modified or deleted, then I have no option left and copy the whole repository folder which will be very time consuming.

Here is the new thread as asked.

---

<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:** [November 4, 2022, 4:12am UTC](https://discuss.elastic.co/t/snapshot-restore-clarification/38866/9 "2022-11-04T04:12:32Z")

</div>


