mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
gcloud: Thu May 30 09:26:18 UTC 2024
This commit is contained in:
parent
e617a432f4
commit
595ac8640a
232 changed files with 10919 additions and 274 deletions
|
|
@ -4,8 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner migrate data --session=SESSION --source=SOURCE
|
||||
--target-profile=TARGET_PROFILE [--dry-run] [--log-level=LOG_LEVEL]
|
||||
[--prefix=PREFIX] [--skip-foreign-keys]
|
||||
--target-profile=TARGET_PROFILE [--dataflow-template=DATAFLOW_TEMPLATE]
|
||||
[--dry-run] [--log-level=LOG_LEVEL] [--prefix=PREFIX]
|
||||
[--project=PROJECT] [--skip-foreign-keys]
|
||||
[--source-profile=SOURCE_PROFILE] [--target=TARGET]
|
||||
[--write-limit=WRITE_LIMIT] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -33,6 +34,10 @@ REQUIRED FLAGS
|
|||
"dialect=postgresql)".
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--dataflow-template=DATAFLOW_TEMPLATE
|
||||
The google cloud storage path of the minimal downtime migration
|
||||
template to use to run the migration job.
|
||||
|
||||
--dry-run
|
||||
Flag for generating DDL and schema conversion report without creating a
|
||||
Cloud Spanner database.
|
||||
|
|
@ -43,6 +48,10 @@ OPTIONAL FLAGS
|
|||
--prefix=PREFIX
|
||||
File prefix for generated files.
|
||||
|
||||
--project=PROJECT
|
||||
The project in which the migration job and its resources will be
|
||||
created.
|
||||
|
||||
--skip-foreign-keys
|
||||
Skip creating foreign keys after data migration is complete.
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha spanner migrate schema --source=SOURCE
|
||||
--target-profile=TARGET_PROFILE [--dry-run] [--log-level=LOG_LEVEL]
|
||||
[--prefix=PREFIX] [--source-profile=SOURCE_PROFILE] [--target=TARGET]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--prefix=PREFIX] [--project=PROJECT] [--source-profile=SOURCE_PROFILE]
|
||||
[--target=TARGET] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Migrate schema from a source database to Cloud Spanner.
|
||||
|
|
@ -37,6 +37,10 @@ OPTIONAL FLAGS
|
|||
--prefix=PREFIX
|
||||
File prefix for generated files.
|
||||
|
||||
--project=PROJECT
|
||||
The project in which the migration job and its resources will be
|
||||
created.
|
||||
|
||||
--source-profile=SOURCE_PROFILE
|
||||
Flag for specifying connection profile for source database (e.g.,
|
||||
"file=<path>,format=dump").
|
||||
|
|
|
|||
|
|
@ -4,8 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner migrate schema-and-data --source=SOURCE
|
||||
--target-profile=TARGET_PROFILE [--dry-run] [--log-level=LOG_LEVEL]
|
||||
[--prefix=PREFIX] [--skip-foreign-keys]
|
||||
--target-profile=TARGET_PROFILE [--dataflow-template=DATAFLOW_TEMPLATE]
|
||||
[--dry-run] [--log-level=LOG_LEVEL] [--prefix=PREFIX]
|
||||
[--project=PROJECT] [--skip-foreign-keys]
|
||||
[--source-profile=SOURCE_PROFILE] [--target=TARGET]
|
||||
[--write-limit=WRITE_LIMIT] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -29,6 +30,10 @@ REQUIRED FLAGS
|
|||
"dialect=postgresql)".
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--dataflow-template=DATAFLOW_TEMPLATE
|
||||
The google cloud storage path of the minimal downtime migration
|
||||
template to use to run the migration job.
|
||||
|
||||
--dry-run
|
||||
Flag for generating DDL and schema conversion report without creating a
|
||||
Cloud Spanner database.
|
||||
|
|
@ -39,6 +44,10 @@ OPTIONAL FLAGS
|
|||
--prefix=PREFIX
|
||||
File prefix for generated files.
|
||||
|
||||
--project=PROJECT
|
||||
The project in which the migration job and its resources will be
|
||||
created.
|
||||
|
||||
--skip-foreign-keys
|
||||
Skip creating foreign keys after data migration is complete.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ NAME
|
|||
migrations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner migrate web [--open] [--port=PORT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha spanner migrate web [--dataflow-template=DATAFLOW_TEMPLATE]
|
||||
[--log-level=LOG_LEVEL] [--open] [--port=PORT] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Run the web UI assistant for schema migrations.
|
||||
|
|
@ -15,6 +15,13 @@ EXAMPLES
|
|||
$ gcloud alpha spanner migrate web
|
||||
|
||||
FLAGS
|
||||
--dataflow-template=DATAFLOW_TEMPLATE
|
||||
The google cloud storage path of the minimal downtime migration
|
||||
template to use to run the migration job.
|
||||
|
||||
--log-level=LOG_LEVEL
|
||||
To configure the log level for the execution (INFO, VERBOSE).
|
||||
|
||||
--open
|
||||
Open the Spanner migration tool web interface in the default browser.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue