themattman / mongodb-raspberrypi-binaries

Unofficial MongoDB Community Edition Binaries for Raspberry Pi
Other
119 stars 10 forks source link

Question: how to install mongodb-database-tools? #7

Open ericclack opened 8 months ago

ericclack commented 8 months ago

I want to import data into MongoDB from an export I have from an instance on an older Raspberri Pi.

I don't see how to install mongoimport or mongoexport tools.

I'm using a Raspberry Pi with 8GB RAM and Raspberry Pi OS 64bit (Debian version 12.2)

Happy to try things / test things :)

themattman commented 8 months ago

I knew someone would ask this eventually. My default answer was going to be to get the appropriate version of the db tools from the MongoDB downloads page that your Pi OS and platform requires. Well, I just tried the Debian 11 flavor of the tools on my Pi 4 that's running Debian 11 and received

cannot execute binary file: Exec format error

I'll need to look into this further. If nothing exists that is runnable on the pi, then I'll start compiling and releasing the tools as well.

ericclack commented 8 months ago

Thanks for looking at this so quickly :) And it is great to have MongoDB running on the Pi with your work here :)

So I've cobbled something together that works for me in Python: https://github.com/ericclack/python-mongodb

However if you do many progress on the import / export tools then I'm happy to help test.

themattman commented 8 months ago

I got them working pretty quickly. I will likely put up a new repo tracking the tools separately, as they are under a different license.

ericclack commented 8 months ago

Sounds good :)

FeatherKing commented 4 months ago

@themattman did you end up making another repo for the db tools?