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 bucket "gs://mybucket/dmp/" from the DBCluster "sample-dbc", run:

  gdcloud database export sql sample-dbc gs://mybucket/dmp/

To export data to an SQL dump file and upload to bucket "s3://mybucket/dmp/" from the DBCluster "sample-dbc" in the project "db", run:

  gdcloud database export sql sample-dbc s3://mybucket/dmp/ --project=db

OPTIONAL FLAGS

  -h, --help   help for sql