caosiyang / py-mongo-sync

Oplog-based data sync tool that synchronizes data from a replica set to another deployment, e.g.: standalone, replica set, and sharded cluster.
http://caosiyang.github.io/py-mongo-sync/
MIT License
108 stars 46 forks source link

how to use #6

Closed supersujj closed 7 years ago

supersujj commented 7 years ago

python check.py --from 172.16.10.115:27021 --src-authdb admin --src-username admin --src-password admin --to 172.16.10.116:27021 --dst-authdb admin --dst-username admin --dst-password admin --dbs test --src-db test --dst-db test 

Terminated, conflict command options found

caosiyang commented 7 years ago

Option '--dbs' is conflict with '--src-db' and '--dst-db'. You could use either of "--dbs test" and "--src-db test --dst-db test", but not both.