ES集群数据迁移操作
发布时间
阅读量:
阅读量
copy index index_name from 192.168.1.x to 192.168.1.y:9200
./bin/esm -s http://192.168.1.x:9200 -d http://192.168.1.y:9200 -x index_name -w=5 -b=10 -c 10000
将源索引 src_index 从地址 192.168.1.x 复制至目标地址 192.168.1.y:9200,并以 dest_index 作为名称进行存储。
./bin/esm -s http://localhost:9200 -d http://localhost:9200 -x src_index -y dest_index -w=5 -b=100
支持基础认证协议
./bin/esm -s http://localhost:9200 -x "src_index" -y "dest_index" -d http://localhost:9201 -n admin:111111
copy settings and override sha
全部评论 (0)
还没有任何评论哟~
