1、下载esm工具

https://github.com/medcl/esm-abandoned
https://github.com/medcl/esm-abandoned/releases

tar xf linux64.tar.gz


2、

备份es
cd /root/bin/linux64/
./esm -s http://10.33.8.103:9201 -x "petition_data" -b 5 --count=5000 --sliced_scroll_size=10 --refresh -o=./es_backup.bin

导入
./esm -d http://172.16.20.20:9201 -y "petition_data6" -c 5000 -b 5 --refresh -i=./dump.bin

 

相关文章:

  • 2021-11-02
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-10-26
  • 2021-06-17
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2021-11-27
  • 2022-01-17
  • 2022-01-19
  • 2022-12-23
  • 2021-06-21
  • 2022-03-04
  • 2022-01-08
相关资源
相似解决方案