atlas liveMigrations cutover
On this page
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/pt-br/docs/atlas/reference/mongomirror/.
Syntax
Command Syntax
atlas liveMigrations cutover [options]
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. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Output
If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.
Cutover process successfully started.