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

3.0.0 mongorestore no longer includes --filter

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • Labels:
      None

      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"

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

              Created:
              Updated:
              Resolved: