Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Scripts to Import/ Export Datasets #11

Merged
merged 4 commits into from
Jul 9, 2020
Merged

Conversation

Zalgo2462
Copy link
Contributor

@Zalgo2462 Zalgo2462 commented May 12, 2020

Milestone towards finishing out #6

elasticsearch/export_index.sh and elasticsearch/import_index.sh have been added. These scripts allow you to move an elasticsearch dataset between instances of elasticsearch. We can build upon these scripts to load in sample data at install time.

One unfortunate thing about this PR is that it does expose the elasticsearch credentials in the output. From what I can tell, there is no way to avoid this while using elasticdump short of sending all of the output to /dev/null. I didn't send the output to the garbage bin for now since I figure it would be helpful for any debugging that we may run into in the near future.

@Zalgo2462 Zalgo2462 requested a review from lisaSW May 12, 2020 23:11
@ethack ethack merged commit 3b3115d into master Jul 9, 2020
@ethack ethack deleted the 6-create-test-data-sets branch July 9, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants