Answer the question
In order to leave comments, you need to log in
Is it possible to copy a Mongo base from a remote server?
I have remote access to the server where mongo is running. I need to make a database dump and it is desirable to copy this dump to my local computer. Access is only through the console. Can this be done at all? If so, how?
And is it possible to wish it through robomongo?
Answer the question
In order to leave comments, you need to log in
If the database does not accept requests from external IPs (and it should be so for good), on the mongodump server (well, or mongoexport, depending on needs) to a file, then download the file to ourselves using scp .
And if the database is open to the outside world, then mongodump takes the --host parameter.
PS I don't know about robomongo.
Obviously, if you have access to the data, then you can copy it to yourself.
Information on the topic is just a breakthrough, for example , here , it is optimal if you have access "via the console".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question