-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: 3.4.7
-
Component/s: tools
-
Labels:
When specifying --db and --coll without pointing to a bson dump file, a deprecation warning is shown on the command line:
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
This deprecation warning is missing from https://docs.mongodb.com/manual/reference/program/mongorestore for the two options.
- duplicates
-
DOCS-12579 mongorestore docs show deprecated example with --archive and --db
- Closed