简体   繁体   中英

how to write daily backup job for elasticsearch in production environment, we are using docker image and kubernetes for containerized platform

我是elasticsearch的新手,我们想在我们的生产环境中编写日常备份工作,在我们的生产环境中,我们使用openshift和kubernetes,我们的elasticsearch在kubernetes环境中部署为docker容器,我对elasticsearch快照策略有一些想法,但是如何在容器化环境中实现日常的 Elasticsearch 备份工作。

As per documentation and @Tim Wong post, you can use for this task " Scheduled Backup using curator ".

More information how to combine snapshot with cronjob here and here .

Please share with your results and findings.

you need to write a cronjob and in that cronjob, you should use the host as service name it will take backup. (as per kubernets view)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM