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

Mongorestore from a 4.2 dump have all index missing

    • Type: Icon: Bug Bug
    • Resolution: Community Answered
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.2.0-rc3
    • Component/s: None
    • None
    • ALL
    • Hide

      we try restore from another 4.2.23 database dump to 6.0.3 having the same issue

      Show
      we try restore from another 4.2.23 database dump to 6.0.3 having the same issue
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We import a 4.2.23 dump to 6.0.3 seems to have all the index missing

      4.2.23 dump command

      /bin/mongodump -h dehamsl5076.int.kn --port 27017 -u admin -p password -o /data/mongodump/dumps/

       

      6.0.3 restore command (we do rename the database from ptp to dev_ptp

      time mongorestore --authenticationDatabase=admin -u=admin -p=password -d dev_ptp /data/mongodump/dehamsl5094_dumps/dumps/ptp

        1. mongorestore_.pcweb_sit_rs.txt
          34 kB
        2. mongorestore_.pcweb_dev_rs.txt
          32 kB
        3. image-2023-01-19-23-59-52-007.png
          image-2023-01-19-23-59-52-007.png
          17 kB
        4. image-2023-01-20-00-00-52-042.png
          image-2023-01-20-00-00-52-042.png
          11 kB

            Assignee:
            yuan.fang@mongodb.com Yuan Fang
            Reporter:
            daniel.wan@kuehne-nagel.com Daniel Wan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: