[DOCS-10707] Tutorial on --ns* options in mongorestore Created: 22/Aug/17  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: 3.4.7
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Torsten Spindler Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: docs-triage, mongorestore
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 14 weeks, 2 days ago

 Description   

The new options in mongorestore to deal with database and collection names as namespaces seem to be very powerful. While the doc page contains some examples, a tutorial on how to achieve certain goals might be beneficial. Some suggestions:

  • Copy a database under a different name with mongodump ... | mongorestore ...
  • Exclude collections with 'test' in the name
  • Include collections only when they have 'production' in the name


 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 08:01:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.