1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00

gcloud: Thu May 30 09:26:18 UTC 2024

This commit is contained in:
Automated 2024-05-30 09:26:18 +00:00
parent e617a432f4
commit 595ac8640a
232 changed files with 10919 additions and 274 deletions

View file

@ -67,14 +67,16 @@ REQUIRED FLAGS
--gcs-bucket=GCS_BUCKET
Cloud Storage bucket for the source SQL Server connection profile
where the backups are stored.
where the backups are stored. This flag is used only for SQL Server
to Cloud SQL migrations.
This flag argument must be specified if any of the other arguments in
this group are specified.
--gcs-prefix=GCS_PREFIX
Cloud Storage prefix path within the bucket for the source SQL Server
connection profile where the backups are stored.
connection profile where the backups are stored. This flag is used
only for SQL Server to Cloud SQL migrations.
--provider=PROVIDER
Database provider, for managed databases. PROVIDER must be (only one

View file

@ -11,6 +11,7 @@ SYNOPSIS
[--host=HOST] [--port=PORT] [--private-key=PRIVATE_KEY]
[--update-labels=[KEY=VALUE,...]] [--username=USERNAME]
[--clear-labels | --remove-labels=[KEY,...]]
[--gcs-bucket=GCS_BUCKET : --gcs-prefix=GCS_PREFIX]
[--password=PASSWORD | --prompt-for-password] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -134,6 +135,16 @@ FLAGS
silently ignored. If --update-labels is also specified then
--update-labels is applied first.
--gcs-bucket=GCS_BUCKET
Cloud Storage bucket for the source SQL Server connection profile where
the backups are stored. This flag is used only for SQL Server to Cloud
SQL migrations.
--gcs-prefix=GCS_PREFIX
Cloud Storage prefix path within the bucket for the source SQL Server
connection profile where the backups are stored. This flag is used only
for SQL Server to Cloud SQL migrations.
At most one of these can be specified:
--password=PASSWORD

View file

@ -299,7 +299,8 @@ OPTIONAL FLAGS
--sqlserver-databases=databaseName,[...]
A list of databases to be migrated to the destination Cloud SQL
instance. Provide databases as a comma separated list. This list
should contain all encrypted and non-encrypted database names.
should contain all encrypted and non-encrypted database names. This
flag is used only for SQL Server to Cloud SQL migrations.
This flag argument must be specified if any of the other arguments in
this group are specified.
@ -311,7 +312,8 @@ OPTIONAL FLAGS
timestamp Example: For backup files TestDB.1691448240.bak,
TestDB.1691448254.trn, TestDB.1691448284.trn.final use pattern:
.\.(<epoch>\d)\.(trn|bak|trn\.final) or
.\.(<timestamp>\d)\.(trn|bak|trn\.final)
.\.(<timestamp>\d)\.(trn|bak|trn\.final) This flag is used only for
SQL Server to Cloud SQL migrations.
--sqlserver-encrypted-databases=SQLSERVER_ENCRYPTED_DATABASES
A JSON/YAML file describing the encryption settings per database for
@ -323,7 +325,7 @@ OPTIONAL FLAGS
"pvkPath": "Path to certificate private key 2", "pvkPassword":
"Private key password 2" } }]
This flag accepts "-" for stdin.
This flag accepts "-" for stdin. This flag is used only for SQL Server to Cloud SQL migrations.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -12,6 +12,9 @@ SYNOPSIS
[--clear-labels | --remove-labels=[KEY,...]]
[--peer-vpc=PEER_VPC | --static-ip
| --vm=VM --vm-ip=VM_IP --vm-port=VM_PORT --vpc=VPC]
[--sqlserver-backup-file-pattern=SQLSERVER_BACKUP_FILE_PATTERN
--sqlserver-databases=databaseName,[...]
--sqlserver-encrypted-databases=SQLSERVER_ENCRYPTED_DATABASES]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -203,6 +206,37 @@ FLAGS
--vpc=VPC
Name of the VPC network where the VM is hosted.
The SQL Server homogeneous migration config. This is used only for SQL
Server to CloudSQL SQL Server migrations.
--sqlserver-backup-file-pattern=SQLSERVER_BACKUP_FILE_PATTERN
Pattern that describes the default backup naming strategy. The
specified pattern should ensure lexicographical order of backups. The
pattern should define the following capture group set epoch - unix
timestamp Example: For backup files TestDB.1691448240.bak,
TestDB.1691448254.trn, TestDB.1691448284.trn.final use pattern:
.\.(<epoch>\d)\.(trn|bak|trn\.final) or
.\.(<timestamp>\d)\.(trn|bak|trn\.final) This flag is used only for
SQL Server to Cloud SQL migrations.
--sqlserver-databases=databaseName,[...]
A list of databases to be migrated to the destination Cloud SQL
instance. Provide databases as a comma separated list. This list
should contain all encrypted and non-encrypted database names. This
flag is used only for SQL Server to Cloud SQL migrations.
--sqlserver-encrypted-databases=SQLSERVER_ENCRYPTED_DATABASES
A JSON/YAML file describing the encryption settings per database for
all encrytped databases. An example of a JSON request: [{ "database":
"db1", "encryptionOptions": { "certPath": "Path to certificate 1",
"pvkPath": "Path to certificate private key 1", "pvkPassword":
"Private key password 1" } }, { "database": "db2",
"encryptionOptions": { "certPath": "Path to certificate 2",
"pvkPath": "Path to certificate private key 2", "pvkPassword":
"Private key password 2" } }]
This flag accepts "-" for stdin. This flag is used only for SQL Server to Cloud SQL migrations.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,