[SERVER-2000] mongorestore should skip hidden directories WAS: --db can't succeed if the directory contains usual "hidden" Linux directories with names starting with '.' Created: 25/Oct/10 Updated: 12/Jul/16 Resolved: 05/Nov/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools, Usability |
| Affects Version/s: | 1.6.3 |
| Fix Version/s: | 1.7.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Valery Khamenya | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
For example, one can't restore a database if the source directory with backup data contains '.svn' Last, but not least, database names can't start from dot, so this fix should come up logical enough. |
| Comments |
| Comment by auto [ 05/Nov/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: fix for finding hidden files |
| Comment by auto [ 05/Nov/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: skip hidden files and directories in mongodump |
| Comment by Valery Khamenya [ 25/Oct/10 ] |
|
oh, prio could be lowered, of course. |