Export elasticsearch data #499

Closed
opened 2022-02-14 22:03:03 +00:00 by Firesphere · 4 comments

What I'm trying to do and why

I'd like Borgmatic to automatically export Elasticsearch data, same as MySQL/Postgres/MongoDB.

Other notes / implementation ideas

Environment

borgmatic version: Latest

borgmatic installation method: Doesn't matter

Borg version: Latest

Python version: 3.6+

Database version (if applicable): Elasticsearch 7.9.2 or higher

operating system and version: Ubuntu 18.04+/CentOS7

#### What I'm trying to do and why I'd like Borgmatic to automatically export Elasticsearch data, same as MySQL/Postgres/MongoDB. #### Other notes / implementation ideas #### Environment **borgmatic version:** Latest **borgmatic installation method:** Doesn't matter **Borg version:** Latest **Python version:** 3.6+ **Database version (if applicable):** Elasticsearch 7.9.2 or higher **operating system and version:** Ubuntu 18.04+/CentOS7
Owner

Great idea! This might require installation of a third-party tool like elasticdump, since it doesn't sound like that functionality comes bundled with Elasticsearch. I guess there's also the option of using the Python Elasticsearch client directly.

Pull requests welcome! Anyone looking for ideas for where to start should check out the recent PR for adding MongoDB support.

Great idea! This might require installation of a third-party tool like [elasticdump](https://www.npmjs.com/package/elasticdump), since it doesn't sound like that functionality comes bundled with Elasticsearch. I guess there's also the option of using the [Python Elasticsearch client](https://elasticsearch-py.readthedocs.io/en/v8.0.0/) directly. Pull requests welcome! Anyone looking for ideas for where to start should check out [the recent PR for adding MongoDB support](https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/483).
Author

Hi @witten ,

I've started, from the MongoDB example, working on Elastic export.
However, I'm not too familiar with the python --editable option for installing on a dev environment...

I'll keep my work on my fork, however much time I have to actually work on it.

I found Elastic Dump to be the easiest to use so far.

Hi @witten , I've started, from the MongoDB example, working on Elastic export. However, I'm not too familiar with the python `--editable` option for installing on a dev environment... I'll keep my work on my fork, however much time I have to actually work on it. I found Elastic Dump to be the easiest to use so far.
Owner

Awesome! Let me know if I can help out with --editable or anything else.

Awesome! Let me know if I can help out with `--editable` or anything else.
witten added the
waiting for response
label 2022-04-28 20:42:10 +00:00
Owner

Closing this for now, but feel free to follow up if you're still working on this. We can always reopen the ticket. Thanks!

Closing this for now, but feel free to follow up if you're still working on this. We can always reopen the ticket. Thanks!
witten removed the
waiting for response
label 2022-10-05 06:14:04 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#499
No description provided.