I can´t get mongodump or mundoexport from my linux CLI

I try to do a backup with mongodump and mongoexport in my linux CLI but it get the error:
2021-07-13T22:59:58.884+0000 writing sample_supplies.sales to
2021-07-13T22:59:59.162+0000 Failed: error writing data for collection sample_supplies.sales to disk: error reading collection: Failed to parse: { find: “sales”, skip: 0, snapshot: true, $db: “sample_supplies” }. Unrecognized field ‘snapshot’.

I the browser IDE run well.

Could you help me?



What is your mongodump version?
Try --forceTableScan option and see if it works

1 Like

That´s work!!! Thanks for your answer and link.