I have multiple large mongodb clusters running mongodb 3.4 configured with wiredtiger. I would like to set up standalone instances with just a few DBs from these clusters, all on the same EC2 instance.
What I've done so far is to create snapshots of the disks (DB and journal) on a replica from each of the clusters. I then create EBS volumes from these snapshots and mount them on the same EC2 instance.
My problem is the time the restoration takes; though I want just 5-10% of the original data, I have a long process of
chowning the data, followed by a lengthy DB startup of each of the standalone mongodb instances and then dropping the majority of the DBs. This process takes a few hours which I'd like to expedite.
I went with starting from snapshots rather than performing dump+restore because I was hoping it would be quicker.
Given the fact that I want to get rid of the majority of the DBs (so I don't care about corruption related to them), is there a method someone can recommend that will leave me with just the DBs I need?