名前
gdcloud database migrations create - データ移行の移行を作成します。
概要
gdcloud database migrations create MIGRATION_NAME [flags]
具体例
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
必須フラグ
--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.
オプションのフラグ
--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 全般のフラグ
これらのフラグは、すべてのコマンド(--configuration、--format、--help、--project、--quiet)で使用できます。
詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。