I am trying to restore a folder which was created using mongodump, and I am using mongorestore. But there is an error:

assertion: 17370 Restoring users and roles is only supported for clusters with auth schema versions 1 or 3, found: 5

How can I solve this error and successfully restore?

1

There are 1 answers

1
Riken Shah On BEST ANSWER

I was able to restore the individual databases one at a time using the --db parameter.