I have a lots of data in my mongodb and I want to export to the entire data to json where each file no bigger than 500 kb (smaller files) such as:
exported_file.1.json
exported_file.2.json
...
I know that I can use mongoexport
to export data from mongodb to json but it will result one big json file, so is there a way to export entire mongodb to muliple small json file so that each file would be below 500kb?