I’m running several managed MongoDB cloud instances.
I now want to run some analyze scripts on the data. However, I cannot run them on the database. Instead, I want the scripts to run on files on my local computer. (Not that much data, should be feasible computing-wise.)
Hence, I need to extract all the documents in all collections of my instances to strings and save them on file system of my local computer.
What is the most efficient way of doing so?
I tried to download backups and run them locally via Docker Compose, but things are not that easy due to replica set setups etc. etc.
Was just wondering if there is an easier way.