Docs Menu
Docs Home
/ /
Atlas CLI
/ /

atlas liveMigrations cutover

On this page

  • Syntax
  • Options
  • Inherited Options
  • Output

Start the cutover for a push live migration and confirm when the cutover completes. When the cutover completes, the application completes the live migration process and stops synchronizing with the source cluster.

To migrate using scripts, use mongomirror instead of the Atlas CLI. To learn more about mongomirror, see https://www.mongodb.com/docs/atlas/reference/mongomirror/.

Command Syntax
atlas liveMigrations cutover [options]
Name
Type
Required
Description
-h, --help
false
help for cutover
--liveMigrationId
string
true
Unique 24-hexadecimal digit string that identifies the live migration job.
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.
--projectId
string
false
Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.
Name
Type
Required
Description
-P, --profile
string
false

If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.

Cutover process successfully started.

Back

create