A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/elasticsearch-dump/elasticsearch-dump/wiki below:

Home · elasticsearch-dump/elasticsearch-dump Wiki · GitHub

Create dump with Basic Authentication

You can do it with 2 way:

  1. Add basic auth on your URL (See Notes in README.md)
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
  1. Use Auth file
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