go-sync-mongo
go-sync-mongo copied to clipboard
error applying ops: no such cmd: applyOps
Hello,
I tried to execute the following
go-sync-mongo sync --src "src:27018" --src-username mongooplog --src-password pass --src-db db --src-ssl=false --dst "dst:27017" --dst-username mongooplog --dst-password pass --dst-db db --dst-ssl=false
Result:
2020/05/20 10:13:56 skipping collection db.some_coll
Skipping any operation on any collection
Then I tried to execute the command with src&dst collection flags go-sync-mongo sync --src "src:27018" --src-username mongooplog --src-password test_monlog --src-db db --src-collections some_coll --src-ssl=false --dst "dst:27017" --dst-username mongooplog --dst-password pass --dst-db db --dst-collections some_coll --dst-ssl=false
Result: error applying ops: no such cmd: applyOps