# Copying only changed files

**URL:** <https://discuss.elastic.co/t/copying-only-changed-files/103220>\
**Category:** Elasticsearch\
**Created:** [October 9, 2017, 11:48am UTC](https://discuss.elastic.co/t/copying-only-changed-files/103220 "2017-10-09T11:48:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishu.kolki](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@vishu.kolki](https://discuss.elastic.co/u/vishu.kolki)\
**Post date:** [October 9, 2017, 11:48am UTC](https://discuss.elastic.co/t/copying-only-changed-files/103220/1 "2017-10-09T11:48:55Z")

</div>

Hi

I am taking snapshot of elasticsearch, everyday it is taking incremental snapshots. But the problem is every time i am moving 300 + Gib of date to other location. It is cost consuming.  
Can i only move the snapshot and metadata file?

```
    4.0K	index
    325G	indices
    du: cannot read directory ‘lost+found’: Permission denied
    16K	lost+found
    4.0K	metadata-snapshot-08-10-2017-20-10
    4.0K	metadata-snapshot-09-10-2017-00-10
    4.0K	metadata-snapshot-09-10-2017-04-10
    4.0K	metadata-snapshot-09-10-2017-08-10
    4.0K	snapshot-snapshot-08-10-2017-20-10
    4.0K	snapshot-snapshot-09-10-2017-00-10
    4.0K	snapshot-snapshot-09-10-2017-04-10
    4.0K	snapshot-snapshot-09-10-2017-08-10 

```

From this above data, Indices shows 325 GiB. So can i only copy  
metadata-snapshot-09-10-2017-08-10  
snapshot-snapshot-09-10-2017-08-10

these files, and will it work if i am going to restore?  
Since copying 325 GiB everytime is costly in AWS.

Thank you in advance.

---

<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 6, 2017, 11:49am UTC](https://discuss.elastic.co/t/copying-only-changed-files/103220/2 "2017-11-06T11:49:11Z")

</div>

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