Migrating from MongoDB Atlas to self managed Mongo (EC2) server
1
vote
1
answer
270
views
There is an abundance of info about migrating TO Atlas but not too much I could find specifically about going the other direction.
I am migrating a collection which is 250GB in size.
I have tried using mongodump from the remote EC2 server connecting to the Mongo Atlas instance however presumably due to the large collection size this keeps failing.
I have also read that mongodump is not great for DBs of this size but I could be wrong.
I was able to download a backup .tar.gz file from Atlas and move this to the the remove server. The file contents are below.
Is it possible to restore these in to a fresh mongo setup on the EC2, or will these only work for the environment they were taken from?
Here are the files available in the backup:

Asked by ronnz
(9 rep)
Oct 25, 2019, 03:32 AM
Last activity: Oct 25, 2019, 10:51 PM
Last activity: Oct 25, 2019, 10:51 PM