-
Hello everyone, I'm exploring the best practices for backing up Elasticsearch indices using k8up. My current plan involves leveraging Elasticsearch’s snapshot API, which natively supports S3 as a target repository. You can find more details in the Elasticsearch Snapshot Documentation. However, I'm unsure whether I should:
I'd appreciate your insights on:
Looking forward to your expert opinions and experiences. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I've used to manage some large-ish ElasticSearch clusters in the past. We've used both methods, however the setup wasn't in K8s but rather via dedicated VMs. If you're planning to cluster ElastichSeach and go with the local file repository, be aware that it has to be a shared filesystem. E.g. NFS, CephFS, smb, etc. We used restic to move the data to S3 from that shared filesystem. Later the backup was changed to S3 directly without any restic involved. Going directly to S3 is a lot less complex, as it involves less moving parts. |
Beta Was this translation helpful? Give feedback.
I've used to manage some large-ish ElasticSearch clusters in the past. We've used both methods, however the setup wasn't in K8s but rather via dedicated VMs.
If you're planning to cluster ElastichSeach and go with the local file repository, be aware that it has to be a shared filesystem. E.g. NFS, CephFS, smb, etc. We used restic to move the data to S3 from that shared filesystem.
Later the backup was changed to S3 directly without any restic involved. Going directly to S3 is a lot less complex, as it involves less moving parts.