# How to backup/restore?

**URL:** <https://discuss.elastic.co/t/how-to-backup-restore/194541>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [August 9, 2019, 5:17am UTC](https://discuss.elastic.co/t/how-to-backup-restore/194541 "2019-08-09T05:17:48Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)\
**Post date:** [September 9, 2020, 8:48pm UTC](https://discuss.elastic.co/t/how-to-backup-restore/194541/7 "2020-09-09T20:48:30Z")

</div>

> [@data\_smith](#):
>
> And do you know where there is documentation for setting up a vanilla Kubernetes pvc as the backup volume?

I am not sure what you mean by "vanilla Kubernetes pvc". If you are referring to running on vanilla Kubernetes i.e. not on one of the hosted k8s offerings, then you still have multiple options to choose from:

- you could use shared filesystem as mentioned here [Register a snapshot repository | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-register-repository.html#snapshots-filesystem-repository) for that you would need a persistent volume of a storage class that supports [ReadWriteMany](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes) access type, e.g. NFS or some other network attached storage that supports that access mode and can be mounted into all of your Elasticsearch Pods. The important point here is that it is mounted to all your ES pods so that every ES node can write its part of the snapshot that excludes any local volumes types as an option.
- ignoring the PVC part for a moment you could also use the [S3 Repository Plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/7.9/repository-s3.html) either against Amazon S3 or something that implements the S3 API like [Minio](https://min.io/) for example which is typically easier than using a shared filesystem.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-backup-restore/194541)._
