Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56316

Unable to perform mongodump getting an error with collection size issues

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.1
    • Component/s: None
    • Labels:
    • ALL
    • Hide

      Command
      /usr/bin/mongodump -u ********* -p ***************** --port $port --host $server --authenticationDatabase admin --out /mongodb/files/backups/tmp/dbname_2021-04-22_16.04.23 --db dbname --ssl --sslAllowInvalidCertificates --excludeCollectionsWithPrefix=system --verbose=5

      Logs
      2021-04-22T09:14:23.567-0700 will listen for SIGTERM, SIGINT, and SIGKILL

      2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo:

      { $eq: null }

      }, {} ] } } exceeds maximum document size

      Show
      Command /usr/bin/mongodump -u ********* -p ***************** --port $port --host $server --authenticationDatabase admin --out /mongodb/files/backups/tmp/dbname_2021-04-22_16.04.23 --db dbname --ssl --sslAllowInvalidCertificates --excludeCollectionsWithPrefix=system --verbose=5 Logs 2021-04-22T09:14:23.567-0700 will listen for SIGTERM, SIGINT, and SIGKILL 2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo: { $eq: null } }, {} ] } } exceeds maximum document size
    • 1

      Unable to perform mongodump getting an error with collection size issues

      Error:

      2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo:

      { $eq: null }

      }, {} ] } } exceeds maximum document size

            Assignee:
            edwin.zhou@mongodb.com Edwin Zhou
            Reporter:
            bharath_achar@outlook.com Bharath Kumar CM
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: