it fixes the issue We have a database with test data in it the Dev environment we used to develop. and another DB in production, I want to refresh only the schema from production to Dev environment, but I need all the data that is in Dev environment. , You could try using schema compare from SQL Server Data tools.
I wish did fix the issue. IF you have visual studio pro or higher you should be able to add the files to a database project and then use VS deploy database option to create the schema in an empty database in a couple of mouse clicks
mongorestore issue : Cannot restore users with schema version 1 to a system with server version 2.5.4 or greater