I was try mongodump command on windows, with MongoDB 4.4 server, but it fails withe below error.
Same command goes fine on ubuntu.
Is any change in timestamp format required?
C:\MMSAutomation\versions\mongodb-windows-x86_64-4.4.1\bin>mongodump --port 27999 --host apple --db local --collection oplog.rs --out "C:\Program Files\mydump" --query "{"ts":{"$gt":{"$timestamp":{"t":1600853643,"i":1}}}}"
2020-09-23T15:48:43.465+0530 Failed: error parsing query as Extended JSON: invalid JSON input