data loss when doing mongorestore

Context:
Migration from MongoDB 4.4 → MongoDB 5.0
What is the best solution to dump/restore this database?

Questions:
1) trying to migrate from mongodb 4.4 to mongodb 5.0.27 , we are taking the dump of the old database which is mongodb 4.4 version and restoring to new database ( 5.0.27 version) .
while restoring we noticed data loss .
2) if we are restoring database by database we are not seeing any data loss when we are trying restore whole cluster then we are seeing data loss
3) if we are going with restoring database by database it will take more as data size is huge.

is there solution to this process?