이름
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 참조 개요 페이지를 참고하세요.