how to MongoDB database restore old server to new server
Hello @Hemanth_perepi and welcome to the community.
This really depends on the form of your backup. There are a few methods to extract data from mongodb using mongoexport and mongodump tools, as well as taking copies of the datafiles themselves while the database is offline or via file system snapshots.
So if you let us know what you have, we can point you in the right direction