-
Type: New Feature
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Tools
-
Environment:Current stable on Ubuntu 10.10 64 bit
-
Fully Compatible
-
Server 2.7.2
My databases are each many collections, but some do not need backing up (they are thumbnails and similar)
I'd like an option to mongodump to specifically exclude some collections, ideally some sort of prefix or glob wildcard. Some of these collections are actually gridfs hence more convoluted names. Something like this would be great:
mongodump --exclude-collections 'thumbnails*'
It is also far easier to do this (blacklisting) than listing what I do want (whitelisting, current command line flags) since the collection names change all the time and it would be a pain to track.
- is duplicated by
-
SERVER-2871 mongodump: add option to exclude collections
- Closed
- links to