Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-2052

mongodumo,mongoexport

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: 3.4.9
    • Fix Version/s: None
    • Component/s: mongodump, mongoexport
    • Labels:
      None
    • Environment:
      centos 7.2
    • Backport Requested:
      v3.4

      Description

      mongodump or mongoexport use --query,but have not  filter the result,it export all data.

      my condition is like this:

      modifiedOn" : ISODate("2018-06-06T00:00:12.539+0000")

      and i change it is 1528244529

      but when i use this:

      mongodump -h 192.168.169.63:27017 -d product_operation_sold -c ebay_payment --query '{"modifiedOn":{$gt: Date(1528244529)}}' -o /root

        Attachments

          Activity

            People

            • Assignee:
              kelsey.schubert Kelsey T Schubert
              Reporter:
              Su SuperSuJJ
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: