[SERVER-3243] mongodump spuriously creates an admin directory Created: 10/Jun/11  Updated: 12/Jul/16  Resolved: 18/Jul/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: 1.9.1

Type: Bug Priority: Trivial - P5
Reporter: Dwight Merriman Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

~/mongo $ ls dump
ls: dump: No such file or directory
~/mongo $ ls /data/db
_tmp mongod.lock test.0 test.1 test.ns
~/mongo $ ./mongodump --dbpath /data/db
all dbs
DATABASE: test to dump/test
test.foo to dump/test/foo.bson
1 objects
test.system.indexes to dump/test/system.indexes.bson
1 objects
DATABASE: admin to dump/admin
...
Fri Jun 10 19:57:00 dbexit: really exiting now
~/mongo $ ls dump
admin test
~/mongo $ ls dump/admin
~/mongo $



 Comments   
Comment by Spencer Brody (Inactive) [ 18/Jul/11 ]

Seems like the list databases command no longer includes the admin directory if it is empty, which makes dump no longer create an empty admin directory.

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