Open ericclack opened 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.
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.
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.
Sounds good :)
@themattman did you end up making another repo for the db tools?
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
ormongoexport
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 :)