-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
A common workflow is to `mongodump` a production database, and then restore it to another logical database name (like 'db_dev') each morning to test on almost live data.
I suggest we add a simple example for restoring to a different database name, perhaps restructuring the current "Change Collections’ Namespaces during Restore" section.
It could be a new subsection "Change Database name during Restore" with an example like:
 mongorestore --nsInclude 'db_prd.*' --nsFrom 'db_prd.$coll$' --nsTo 'db_dev.$coll$'