Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
NOMBRE
gdcloud database import sql: Importa datos a un recurso personalizado de DBCluster desde un archivo de volcado de SQL en el almacenamiento de objetos.
SINOPSIS
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
MARCAS OPCIONALES
--database string Database name for import (PostgreSQL Only).
MARCAS GENERALES DE GCLOUD
Estas marcas están disponibles para todos los comandos: --configuration, --format, --help, --project y --quiet.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-19 (UTC)"],[[["\u003cp\u003eThis command imports data into a DBCluster custom resource from an SQL dump file located in object storage.\u003c/p\u003e\n"],["\u003cp\u003eThe command \u003ccode\u003egdcloud database import sql\u003c/code\u003e is used for importing data, requiring the cluster name and URI of the SQL dump file.\u003c/p\u003e\n"],["\u003cp\u003eAn example demonstrates importing data from "myfile.dmp" in the "mybucket" bucket into the "postgres-db" DBCluster.\u003c/p\u003e\n"],["\u003cp\u003eAn optional flag, \u003ccode\u003e--database\u003c/code\u003e, allows specifying the target database name for PostgreSQL imports.\u003c/p\u003e\n"]]],[],null,[]]