I made a dump of my existing Mongo databases and now want to import them into Foundation. Running
fdbcli and then the
mongorestore command didn’t work.
EDIT: Mongo’s docs says:
I’ve been trying to restore with
EDIT 2: I managed to figure out
mongoimport --port PORT --authenticationDatabase "admins" --db myDatabaseName --username myAdminUsername --password "myAdminPassword" --file ~/Desktop/dump-2019-06-24/posts.metadata.json
EDIT 3: All I’ve managed to do is re-import what I exported back into Mongo. UGH.
Has anyone imported data into Foundation before?