Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10706

mongorestore --db database --collection collection deprecation warning

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.4.7
    • Fix Version/s: None
    • Component/s: tools
    • # Replies:
      3
    • Last comment by Customer:
      true

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              torsten.spindler Torsten Spindler
              Participants:
              Last commenter:
              Ravind Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 26 weeks ago
                Date of 1st Reply: