[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'
(this use case is quite natural to appear during unit-tests)

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 SERVER-2000
/mongodb/mongo/commit/cb6be477b34b05a3fea025007c909a06974bb095

Comment by auto [ 05/Nov/10 ]

Author:

{'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: skip hidden files and directories in mongodump SERVER-2000
/mongodb/mongo/commit/b9cb6ea9773d162973f40d5800ade49af56ac146

Comment by Valery Khamenya [ 25/Oct/10 ]

oh, prio could be lowered, of course.

Generated at Thu Feb 08 02:58:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.