Transfer MongoDB Data
Im trying to transfer my own DB into the built-in version, but I can't seem to figure it out.
14 Replies
use mongodump
i cant figure out how to do it
im not sure sorry
i havent used mongodump
might just try to do it manually?
is there a way to access the railway mongodb on the mongo website?
yeah you already sent
im ont sure
i have never used mongodump
try asking on stackoverflow
or discord.gg/programming
wait, i think i got it
so now i just need to import it somehow
try using
mongorestore
is this correct?
mongorestore --uri mongodb+srv://mongo:<PASSWORD>@containers-us-west-49.railway.app
i think
Hmm says not a proper dns
https://stackoverflow.com/a/8070413/12229799 idk mongo so im just going off of this lol
Stack Overflow
How to import dumped Mongodb?
Dumped a MongoDB successfully:
$ mongodump -h ourhost.com:portnumber -d db_name01 -u username -p
I need to import or export it to a testserver and have struggle with it, please help me figure out...
looking into it more, the UI on Railway for Mongo isnt gr8
so ill probably just stick with what i have for now