# How to take regular elasticsearch index backup to GCS

**URL:** <https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859>\
**Category:** Elasticsearch\
**Created:** [April 22, 2019, 1:56pm UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859 "2019-04-22T13:56:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sesha](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@sesha](https://discuss.elastic.co/u/sesha)\
**Post date:** [April 22, 2019, 1:56pm UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859/1 "2019-04-22T13:56:22Z")

</div>

My Elasticsearch cluster running in kubernetes cluster.  
Please guide me to config and take regular backup of indexes to GCS from kubernetes pods

---

<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:** [April 22, 2019, 5:58pm UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859/2 "2019-04-22T17:58:28Z")

</div>

The [snapshot and restore feature](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html) is designed for taking backups, and the [`repository-gcs` plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/7.0/repository-gcs-usage.html) is designed for doing so to GCS.

---

<div class="post-metadata">

**Author:** ![varun\_r](https://avatars.discourse-cdn.com/v4/letter/v/9fc29f/32.png) [@varun\_r](https://discuss.elastic.co/u/varun_r)\
**Post date:** [April 23, 2019, 10:46am UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859/3 "2019-04-23T10:46:53Z")

</div>

Hi David,  
A Sub question to this.  
Is the repository-gcs-plugin also valid for elastic search 1.4.2 .  
I followed the plugin link and got stumbled upon the keystore, which i couldn't find in my version.

---

<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:** [April 23, 2019, 10:59am UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859/4 "2019-04-23T10:59:22Z")

</div>

1.4.2 is over four years old and has all sorts of issues addressed in more recent versions. You really should upgrade. It looks like it had some [repository plugins](https://www.elastic.co/guide/en/elasticsearch/reference/1.4/modules-snapshots.html#_repository_plugins) but not a GCS one.

---

<div class="post-metadata">

**Author:** ![varun\_r](https://avatars.discourse-cdn.com/v4/letter/v/9fc29f/32.png) [@varun\_r](https://discuss.elastic.co/u/varun_r)\
**Post date:** [May 2, 2019, 8:24am UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859/5 "2019-05-02T08:24:24Z")

</div>

Thanks David, the plugin worked just fine with recent versions.

---

<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:** [May 30, 2019, 8:24am UTC](https://discuss.elastic.co/t/how-to-take-regular-elasticsearch-index-backup-to-gcs/177859/6 "2019-05-30T08:24:25Z")

</div>

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