既存のコレクションで mongodump を実行すると、ダンプはダンプの 23% で停止します。ファイルは約 1.2 GB です。私もmongoexportを試しました。しかし、これも 23% にとどまります。
ダンプ/エクスポートは常に 21257107 レコードで停止します。これ普通?(OSはUbuntu 14.04 LTS)
mongodump -h localhost:27020 -d SensorData -c Values -o Dump
connected to: localhost:27020
2016-02-15T09:41:25.099+0100 DATABASE: SensorData to Dump/SensorData
2016-02-15T09:41:25.101+0100 SensorData.Values to Dump/SensorData/Values.bson
2016-02-15T09:41:28.178+0100 Collection File Writing Progress: 434100/91183458 0% (documents)
2016-02-15T09:41:31.051+0100 Collection File Writing Progress: 940300/91183458 1% (documents)
-------------------
2016-02-15T09:47:34.002+0100 Collection File Writing Progress: 21155100/91183458 23% (documents)
2016-02-15T09:47:37.339+0100 21257107 documents
2016-02-15T09:47:37.339+0100 Metadata for SensorData.Values to Dump/SensorData/Values.metadata.json
mongoexport -host localhost:27020 --db SensorData --collection Values -vv --out filename.json
2016-02-15T10:51:33.507+0100 creating new connection to:localhost:27020
2016-02-15T10:51:33.507+0100 [ConnectBG] BackgroundJob starting: ConnectBG
2016-02-15T10:51:33.508+0100 connected to server localhost:27020 (127.0.0.1)
2016-02-15T10:51:33.508+0100 connected connection!
connected to: localhost:27020
exported 21257107 records