Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-642

3.0.0 mongorestore no longer includes --filter

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • mongorestore
    • None

    Description

      mongorestore -d test -c test --filter '{ _id : { "$gt" : { "$oid" : "547b14d00000000000000000" } } }' test.bson
      2015-03-04T14:15:31.944+1100	error parsing command line options: unknown option "filter"
      2015-03-04T14:15:31.945+1100	try 'mongorestore --help' for more information

      The option is still mentioned in the docs under "Restore a subset of data from a binary database dump"

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: