gdcloud database export sql

NAME

gdcloud database export sql - Export data from a DBCluster custom resource to an SQL dump file and upload to object storage.

SYNOPSIS

gdcloud database export sql CLUSTER_NAME URI [flags]

EXAMPLES

To export data to an SQL dump file and upload to directory "dmp" under bucket "mybucket" from the DBCluster "sample-dbc", run:

  gdcloud database export sql sample-dbc mybucket/dmp/

OPTIONAL FLAGS

      --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.