Reputation: 1362
My MongoDB 3.2. import does not work when I try to import a dump exported from by MongoDB 3.6. Is there a way of using "mongodump" to export to be compatible to MongoDB 3.2.
Upvotes: 1
Views: 225
Reputation: 66
Usually MongoDB suggest to not dump/restore between clusters having more than one major version apart.
What you could do is restore your dump from MongoDB 3.6, restore it to a MongoDB 3.4 and then dump it again fom 3.4 to finally restore to to MongoDB 3.2. See: https://stackoverflow.com/a/41844502/5945338
Usually there are incompatibilities with more than 1 major versions, please try to upgrade your MongoDB 3.2 if possible, otherwise you might need to automate the 3.4 transition part.
Upvotes: 1