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

es: backup and restore #438

Merged
merged 1 commit into from
Jan 20, 2021
Merged

es: backup and restore #438

merged 1 commit into from
Jan 20, 2021

Conversation

sebdeleze
Copy link
Contributor

This PR provides CLI commands to backup and restore elasticsearch indices and data.

  • Installs CLI commands in setup.py.
  • Creates CLI commands for creating a repository, creating a snapshot and restoring a snapshot.
  • Mount a temp path in elasticsearch docker service and add the path.repo configuration to make snapshot working.

Co-Authored-by: Sébastien Délèze sebastien.deleze@rero.ch

This PR provides CLI commands to backup and restore elasticsearch indices and data.

* Installs CLI commands in `setup.py`.
* Creates CLI commands for creating a repository, creating a snapshot and restoring a snapshot.
* Mount a temp path in elasticsearch docker service and add the `path.repo` configuration to make snapshot working.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
@sebdeleze sebdeleze marked this pull request as ready for review January 15, 2021 10:22
@sebdeleze sebdeleze requested review from jma and zannkukai January 18, 2021 12:44
Copy link

@zannkukai zannkukai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's clearly not my 'cup of tea'. Code seems OK, but I can't really approve due too my lack of knowledge in this domain :-)

@sebdeleze sebdeleze merged commit 2301628 into rero:staging Jan 20, 2021
@sebdeleze sebdeleze deleted the sed-backup-es branch January 20, 2021 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants