[SERVER-3242] mongorestore should check for dubious user input Created: 10/Jun/11 Updated: 29/Aug/11 Resolved: 13/Jun/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Dwight Merriman | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
specifically if the input and output directories are the same. main example: mongorestore --dbpath dump would mean "read from dump and write from dump" which doesn't make much sense (nothing terrible would happen probably, but better to explain to user) |
| Comments |
| Comment by Dwight Merriman [ 13/Jun/11 ] |
|
understand it works but is confusing. i mean who would validly label their db directory "dump"? |
| Comment by Eliot Horowitz (Inactive) [ 13/Jun/11 ] |
|
That would be valid. |