标签:tps href linu https sea 恢复 数据 profile exp
1.安装elastic searchdump
mkdir /data/nodejs cd /data/nodejs wget https://nodejs.org/dist/v10.16.2/node-v10.16.2-linux-x64.tar.xz tar xvf node-v10.16.2-linux-x64.tar.xz -C /usr/local/ echo ‘export PATH=/usr/local/node-v10.16.2-linux-x64/bin:$GOPATH/bin:$PATH‘ >> /etc/profile
2.备份数据
elasticdump --input=http://192.168.1.49:9200/mytest --output=/tmp/indexname.json --type=data --limit=10000 --concurrency=1
3.恢复到新集群
elasticdump --input=/tmp/indexname.json --output=http://192.168.1.144:9200/mytest --type=data --limit=10000 --concurrency=20
参考:https://aikbuk.com/2019/09/29/elasticsearch%E5%A4%87%E4%BB%BD%E6%81%A2%E5%A4%8D/
标签:tps href linu https sea 恢复 数据 profile exp
原文地址:https://www.cnblogs.com/hixiaowei/p/11792079.html