[SERVER-23488] mongorestore --db with --archive selects which database to restore Created: 04/Apr/16 Updated: 05/Apr/16 Resolved: 05/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 3.2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Tais Hansen | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | 1. mongodump --host=onedatabase --archive --gzip --db=onedatabase | mongorestore --host=otherdatabase --archive --gzip --db=otherdatabase --drop |
||||||||
| Participants: | |||||||||
| Description |
| Comments |
| Comment by Kelsey Schubert [ 05/Apr/16 ] |
|
Hi taisph, Thanks for opening this ticket. The behavior you describe is expected when you use the {{--archive]] option. Please see the example in our documentation here. I understand how our documentation may be misleading, so I have opened Kind regards, |