Best way to take dump from community version PROD mongo replica set and restore to non-prod

We are planning to restore one of the PROD replica set mongo database to stage replica set mongo servers. As we are running the PROD on community version, would like to know best options to complete this activity.

So can anyone please suggest the options to fulfill this client request?

Welcome to the MongoDB Community Forums @Santosh_Dhanukonda!

You can create a copy of your replica set using any of the Supported Backup Methods for MongoDB server.

The MongoDB Manual also includes a tutorial with steps to Restore a Replica Set from MongoDB Backups. During step 5 in this tutorial, rs.initiate(), I recommend using a different replica set name so your staging deployment/configuration is less easily confused with your production environment.


This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.