gdcloud 数据库导出 SQL

名称

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/

GDCLOUD 全局标志

以下标志适用于所有命令:--configuration--format--help--project--quiet

如需了解详情,请参阅 gdcloud CLI 参考概览页面。