שם
gdcloud database import sql – ייבוא נתונים למשאב מותאם אישית מסוג DBCluster מקובץ SQL dump באחסון אובייקטים.
SYNOPSIS
gdcloud database import sql CLUSTER_NAME URI [flags]
דוגמאות
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 WIDE FLAGS
הדגלים האלה זמינים לכל הפקודות: --configuration, --format, --help, --project, --quiet.
מידע נוסף זמין בדף סקירה כללית של מדריך העזר ל-CLI של gcloud.