Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
NAMA
gdcloud database import sql - Mengimpor data ke dalam resource kustom DBCluster dari file dump SQL di penyimpanan objek.
SINOPSIS
gdcloud database import sql CLUSTER_NAME URI [flags]
CONTOH
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
FLAG OPSIONAL
--database string Database name for import (PostgreSQL Only).
FLAG GDCLOUD WIDE
Flag ini tersedia untuk semua perintah: --configuration, --format, --help, --project, --quiet.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-16 UTC."],[[["This command imports data into a DBCluster custom resource from an SQL dump file located in object storage."],["The command `gdcloud database import sql` is used for importing data, requiring the cluster name and URI of the SQL dump file."],["An example demonstrates importing data from \"myfile.dmp\" in the \"mybucket\" bucket into the \"postgres-db\" DBCluster."],["An optional flag, `--database`, allows specifying the target database name for PostgreSQL imports."]]],[]]