Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
NOME
gdcloud database import sql: importa dados para um recurso personalizado DBCluster de um arquivo dump SQL no armazenamento de objetos.
SINOPSE
gdcloud database import sql CLUSTER_NAME URI [flags]
EXEMPLOS
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
FLAGS OPCIONAIS
--database string Database name for import (PostgreSQL Only).
SINALIZAÇÕES GERAIS DO GDCLOUD
Estas flags estão disponíveis para todos os comandos: --configuration, --format, --help, --project, --quiet.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-19 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."]]],[]]