gdcloud database migrations create

NAME

gdcloud database migrations create - Create a migration for data migration.

SYNOPSIS

gdcloud database migrations create MIGRATION_NAME [flags]

EXAMPLES

To create a migration to migration data from SOURCE_CONNECTION_PROFILE to DESTINATION_DBCLUSTER, run:

  gdcloud database migrations create migration-sample \
  --source=SOURCE_CONNECTION_PROFILE --destination=DESTINATION_DBCLUSTER

REQUIRED FLAGS

      --destination string   Destination DBCluster that will be created as migration target.
      --source string        Source connection-profile that the migration service uses to connect to the source database.

OPTIONAL FLAGS

      --database-engine string   Destination DBCluster type. (default "POSTGRESQL")
      --zone string              Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.

GDCLOUD WIDE FLAGS

These flags are available to all commands: --configuration, --format, --help, --project, --quiet.

For more information, see the gdcloud CLI reference overview page.