-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
In this section Restore from compressed data
mongorestore --gzip --archive=test.20150715.gz --db test
which gives
2019-03-28T16:26:26.080+0100 the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and will not exist in the future; use --nsInclude instead
it feels like we should skip the --db part of the example, or is this a bug in mongorestore in 4.0?
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- is duplicated by
-
DOCS-10480 Comment on: "manual/reference/program/mongorestore"
- Closed
-
DOCS-10706 mongorestore --db database --collection collection deprecation warning
- Closed
- is related to
-
DOCS-7573 Clarify the behavior of mongorestore --archive with --db or --collection options
- Closed
- related to
-
DOCS-9954 Clarify what --nsInclude does exactly in mongorestore
- Closed
-
TOOLS-1918 mongorestore from stdin demands collection option
- Accepted