we're trying to dump a part of our oplog.rs collection, buy issuing this query:
mongodump -d local -c oplog.rs -q '{"ts":{"$gte": {"$timestamp":{"t":1343842923000,"i":0}}}}'
but it doesn't output anything, even though this query from the mongo client gives 2 million results:
db.oplog.rs.find({ts: {$gte: Timestamp(1343842923000, 0) } }).count()
please help
- related to
-
SERVER-6564 mongodump query had different behavior if quotes are included
- Closed