名前
gdcloud database import sql - オブジェクト ストレージ内の SQL ダンプファイルから DBCluster カスタム リソースにデータをインポートします。
概要
gdcloud database import sql CLUSTER_NAME URI [flags]
EXAMPLES
To import data from an SQL dump file "myfile.dmp" stored in bucket "mybucket" in the PostgreSQL DBCluster "postgres-db", run:
gdcloud database import sql postgres-db mybucket/myfile.dmp
オプションのフラグ
--database string Database name for import (PostgreSQL Only).
--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 リファレンスの概要ページをご覧ください。