You can do it with 2 way:
elasticdump \ --input=http://username:password@localhost:9200 \ --input-index=demo/dump \ --output=http://user:pass@192.168.0.2:9200 \ --output-index=demo/dump \ --type=data
elasticdump \ --input=http://localhost:9200 \ --input-index=demo/dump \ --httpAuthFile=/path/to/your/http_auth_file \ --output=http://192.168.0.2:9200 \ --output-index=demo/dump \ --type=data
Content in http_auth_file:
user=<username>
password=<password>
NOTE: In second way, all your servers must use the same basic authentication.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4