Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 350 Bytes

mongodump-authorization.md

File metadata and controls

9 lines (7 loc) · 350 Bytes

mongodump Authorization

Avoiding further headaches

In another of my fantastic misadventures with MongoDB authorization, I learned that this is how I get a database to dump with version 2.6.10, more or less:

mongodump -h localhost:27017 -d <database> -o ~/tmp/mongodump --username admin --password '' --authenticationDatabase admin