Use mongodb's own tools to export data, and then import data, you can import and export a table student separately
./mongodump -h 127.0.0.1:27017 -u hello -p 123456 -d school -c student -o /chipmunk/temp/
./mongorestore -h 127.0.0.1:27017 -u hello -p 123456 -d school -c student /chipmunk/temp/student.bson