Stay organized with collections Save and categorize content based on your preferences.
gcloud alpha database-migration migration-jobs create
(MIGRATION_JOB
: --region
=REGION
) --destination
=DESTINATION
--source
=SOURCE
--type
=TYPE
[--no-async
] [--display-name
=DISPLAY_NAME
] [--dump-path
=DUMP_PATH
] [--labels
=[KEY
=VALUE
,…]] [--peer-vpc
=PEER_VPC
| --static-ip
| [--vm-ip
=VM_IP
--vm-port
=VM_PORT
--vpc
=VPC
: --vm
=VM
]] [GCLOUD_WIDE_FLAG …
]
(ALPHA)
Create a Database Migration Service migration job. Recommended steps before creating the migration job:
gcloud alpha database-migration migration-jobs create my-migration-job --region=us-central1 --type=CONTINUOUS --source=cp1 --destination=cp2
To create a continuous migration job with VPC peering connectivity:
gcloud alpha database-migration migration-jobs create my-migration-job --region=us-central1 --type=CONTINUOUS --source=cp1 --destination=cp2 --peer-vpc=projects/my-project/global/networks/my-network
To create a one-time migration job with reverse-SSH tunnel connectivity:
gcloud alpha database-migration migration-jobs create my-migration-job --region=us-central1 --type=ONE_TIME --source=cp1 --destination=cp2 --vm=vm1 --vm-ip=1.1.1.1 --vm-port=1111 --vpc=projects/my-project/global/networks/my-network
To set the project
attribute:
migration_job
on the command line with a fully specified name;--project
on the command line;core/project
.This must be specified.
MIGRATION_JOB
To set the migration_job
attribute:
migration_job
on the command line.This positional argument must be specified if any of the other arguments in this group are specified.
--region
=REGION
To set the region
attribute:
migration_job
on the command line with a fully specified name;--region
on the command line.To set the project
attribute:
--destination
on the command line with a fully specified name;--project
on the command line;core/project
.To set the region
attribute:
--destination
on the command line with a fully specified name;--region
on the command line.This must be specified.
--destination
=DESTINATION
To set the connection_profile
attribute:
--destination
on the command line.To set the project
attribute:
--source
on the command line with a fully specified name;--project
on the command line;core/project
.To set the region
attribute:
--source
on the command line with a fully specified name;--region
on the command line.This must be specified.
--source
=SOURCE
To set the connection_profile
attribute:
--source
on the command line.--type
=TYPE
TYPE
must be one of: ONE_TIME
, CONTINUOUS
.
--no-async
--display-name
=DISPLAY_NAME
--dump-path
=DUMP_PATH
gs://[BUCKET_NAME]/[OBJECT_NAME]
.
--labels
=[KEY
=VALUE
,…]
Keys must start with a lowercase character and contain only hyphens (-
), underscores (_
), lowercase characters, and numbers. Values must contain only hyphens (-
), underscores (_
), lowercase characters, and numbers.
At most one of these can be specified:
--peer-vpc
=PEER_VPC
--static-ip
--vm-ip
=VM_IP
This flag argument must be specified if any of the other arguments in this group are specified.
--vm-port
=VM_PORT
This flag argument must be specified if any of the other arguments in this group are specified.
--vpc
=VPC
This flag argument must be specified if any of the other arguments in this group are specified.
--vm
=VM
--access-token-file
, --account
, --billing-project
, --configuration
, --flags-file
, --flatten
, --format
, --help
, --impersonate-service-account
, --log-http
, --project
, --quiet
, --trace-token
, --user-output-enabled
, --verbosity
.
Run $ gcloud help
for details.
gcloud database-migration migration-jobs create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4