名稱
gdcloud database export sql - Export data from a DBCluster custom resource to an SQL dump file and upload to object storage.
概要
gdcloud database export sql CLUSTER_NAME URI [flags]
範例
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/
選用旗標
--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 廣泛標記
所有指令都可使用這些旗標:--configuration、--format、--help、--project、--quiet。
詳情請參閱 gcloud CLI 參考資料總覽頁面。