mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
gcloud: Thu Jul 4 09:30:26 UTC 2024
This commit is contained in:
parent
9cd336cae4
commit
2614f6b65e
202 changed files with 4779 additions and 318 deletions
|
|
@ -3,9 +3,9 @@ NAME
|
|||
SQL file
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha sql export sql INSTANCE URI [--async]
|
||||
gcloud alpha sql export sql INSTANCE URI [--async] [--clean]
|
||||
[--database=DATABASE,[DATABASE,...], -d DATABASE,[DATABASE,...]]
|
||||
[--offload] [--parallel]
|
||||
[--if-exists] [--offload] [--parallel]
|
||||
[--table=TABLE,[TABLE,...], -t TABLE,[TABLE,...]] [--threads=THREADS]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -33,11 +33,21 @@ FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--clean
|
||||
Include SQL statements (DROP <object>) required to drop database
|
||||
objects prior to import; corresponds to the clean flag for pg_dump.
|
||||
Only applies to PostgreSQL non-parallel exports.
|
||||
|
||||
--database=DATABASE,[DATABASE,...], -d DATABASE,[DATABASE,...]
|
||||
Database(s) from which the export is made. Information on requirements
|
||||
can be found here:
|
||||
https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/export#exportContext.databases
|
||||
|
||||
--if-exists
|
||||
Include an SQL statement (IF EXISTS) with each drop statement produced
|
||||
by the clean flag; corresponds to the if-exists flag for pg_dump. Only
|
||||
applies to PostgreSQL non-parallel exports.
|
||||
|
||||
--offload
|
||||
Offload an export to a temporary instance. Doing so reduces strain on
|
||||
source instances and allows other operations to be performed while the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue