名称
gdcloud database export sql - 将数据从 DBCluster 自定义资源导出到 SQL 转储文件并上传到对象存储空间。
摘要
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。
如需了解详情,请参阅 gdcloud CLI 参考概览页面。