@@ -45,15 +45,15 @@ Percona MongoLink is a tool for replicating data from a source MongoDB cluster t
45453. Run the server:
4646
4747 ` ` ` sh
48- bin/percona-mongolink --source < source-mongodb-uri> --target < target-mongodb-uri>
48+ bin/pml --source < source-mongodb-uri> --target < target-mongodb-uri>
4949 ` ` `
5050
5151 Alternatively, you can use environment variables:
5252
5353 ` ` ` sh
5454 export SOURCE_URI=< source-mongodb-uri>
5555 export TARGET_URI=< target-mongodb-uri>
56- bin/percona-mongolink --source $SOURCE_URI --target $TARGET_URI
56+ bin/pml --source $SOURCE_URI --target $TARGET_URI
5757 ` ` `
5858
5959 > Connections to the source and target must have ` readPreference=primary` and ` writeConcern=majority` explicitly or unset.
@@ -67,7 +67,7 @@ To start the replication process, you can either use the command-line interface
6767# ### Using Command-Line Interface
6868
6969` ` ` sh
70- bin/percona-mongolink start
70+ bin/pml start
7171` ` `
7272
7373# ### Using HTTP API
@@ -86,7 +86,7 @@ To finalize the replication process, you can either use the command-line interfa
8686# ### Using Command-Line Interface
8787
8888` ` ` sh
89- bin/percona-mongolink finalize
89+ bin/pml finalize
9090` ` `
9191
9292# ### Using HTTP API
@@ -102,7 +102,7 @@ To pause the replication process, you can either use the command-line interface
102102# ### Using Command-Line Interface
103103
104104` ` ` sh
105- bin/percona-mongolink pause
105+ bin/pml pause
106106` ` `
107107
108108# ### Using HTTP API
@@ -118,7 +118,7 @@ To resume the replication process, you can either use the command-line interface
118118# ### Using Command-Line Interface
119119
120120` ` ` sh
121- bin/percona-mongolink resume
121+ bin/pml resume
122122` ` `
123123
124124# ### Using HTTP API
@@ -134,7 +134,7 @@ To check the current status of the replication process, you can either use the c
134134# ### Using Command-Line Interface
135135
136136` ` ` sh
137- bin/percona-mongolink status
137+ bin/pml status
138138` ` `
139139
140140# ### Using HTTP API
@@ -157,7 +157,7 @@ When starting the MongoLink server, you can use the following options:
157157Example:
158158
159159` ` ` sh
160- bin/percona-mongolink \
160+ bin/pml \
161161 --source < source-mongodb-uri> \
162162 --target < target-mongodb-uri> \
163163 --port 2242 \
@@ -348,7 +348,7 @@ poetry run pytest \
348348 --source-uri < source-mongodb-uri> \
349349 --target-uri < target-mongodb-uri> \
350350 --mongolink-url http://localhost:2242 \
351- --mongolink-bin bin/percona-mongolink_test
351+ --mongolink-bin bin/pml_test
352352` ` `
353353
354354Alternatively, you can use environment variables:
@@ -357,7 +357,7 @@ Alternatively, you can use environment variables:
357357export TEST_SOURCE_URI=< source-mongodb-uri>
358358export TEST_TARGET_URI=< target-mongodb-uri>
359359export TEST_MONGOLINK_URL=http://localhost:2242
360- export TEST_MONGOLINK_BIN=bin/percona-mongolink_test
360+ export TEST_MONGOLINK_BIN=bin/pml_test
361361poetry run pytest
362362` ` `
363363
0 commit comments