Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cette page explique comment exporter et importer des configurations de pipeline au format JSON. Ces fichiers JSON sont utiles dans les scénarios suivants:
Déplacement de pipelines d'un environnement de conception vers un environnement d'exécution.
Déplacement de pipelines vers une nouvelle version ou instance Cloud Data Fusion.
Dépannage.
Exporter un pipeline
Pour exporter votre pipeline au format JSON, procédez comme suit :
Accédez à votre instance :
Dans la console Google Cloud , accédez à la page Cloud Data Fusion.
Pour ouvrir l'instance dans Cloud Data Fusion Studio, cliquez sur Instances, puis sur Afficher l'instance.
Pour les pipelines souhaités, cliquez sur settings.
Cliquez sur Exporter.
Enregistrez les fichiers JSON.
Importer un pipeline
Dans l'environnement ou l'instance dans lequel vous souhaitez importer votre pipeline :
Ouvrez la page Studio de Cloud Data Fusion.
Cliquez sur Import (Importer).
Importez le fichier JSON que vous avez enregistré lors de l'exportation de votre pipeline.
Facultatif: vous serez peut-être invité à mettre à niveau la version de vos plug-ins.
Cliquez sur Tout corriger.
Si un plug-in particulier est introuvable, suivez les instructions pour l'installer à partir du Hub.
Facultatif: Si vous utilisez un plug-in personnalisé dans votre pipeline et que vous recevez une invite dans la fenêtre de mise à jour indiquant que le plug-in est introuvable, vous devez d'abord déployer ce plug-in personnalisé, puis importer à nouveau le pipeline.
Votre pipeline s'ouvre dans la page Studio. Pour déployer votre pipeline tel quel, cliquez sur Déployer.
Détails
Un pipeline est exporté au format JSON. Le fichier contient des informations sur les sources, les récepteurs et les connexions entre eux.
Il n'inclut pas les déclencheurs que vous avez créés après le déploiement du pipeline.
Pour obtenir des détails sur ces déclencheurs, recréez-les dans un environnement différent.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/10 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/10 (UTC)."],[[["\u003cp\u003eThis guide details the process of exporting and importing pipeline configurations in JSON format within Cloud Data Fusion.\u003c/p\u003e\n"],["\u003cp\u003eExporting pipelines as JSON is useful for transferring pipelines between different environments, versions, or instances, and for troubleshooting purposes.\u003c/p\u003e\n"],["\u003cp\u003eTo export a pipeline, you navigate to the instance, select the pipeline, and then use the "Export" feature to save the configuration as a JSON file.\u003c/p\u003e\n"],["\u003cp\u003eImporting a pipeline involves uploading the saved JSON file into a different Cloud Data Fusion environment or instance through the "Import" function.\u003c/p\u003e\n"],["\u003cp\u003eThe exported JSON files contain information on sources, sinks, and the connections between them but do not include triggers.\u003c/p\u003e\n"]]],[],null,["# Export and import pipelines\n\nThis page describes how to export and import pipeline configurations in JSON\nformat. These JSON files are useful in the following scenarios:\n\n- Moving pipelines from a design environment to an execution environment.\n- Moving pipelines to a new Cloud Data Fusion version or instance.\n- Troubleshooting.\n\nExport a pipeline\n-----------------\n\nTo export your pipeline in JSON Format:\n\n1. Go to your instance:\n 1. In the Google Cloud console, go to the Cloud Data Fusion page.\n\n 2. To open the instance in the Cloud Data Fusion Studio,\n click **Instances** , and then click **View instance**.\n\n [Go to Instances](https://console.cloud.google.com/data-fusion/locations/-/instances)\n2. Click **List**.\n3. For the desired pipelines, click settings.\n4. Click **Export**.\n5. Save the JSON files.\n\nImport a pipeline\n-----------------\n\nIn the environment or instance where you want to import your pipeline:\n\n1. Open the Cloud Data Fusion **Studio** page.\n2. Click **Import**.\n3. Upload the JSON file that you saved when you exported your pipeline.\n4. Optional: You might be prompted to upgrade the version of your plugins. Click **Fix all**. If a particular plugin is not found, follow the prompts to install it from the Hub.\n5. Optional: If you use a custom plugin in your pipeline and you receive a prompt in the upgrade window that the plugin was not found, you must deploy that custom plugin first, and then import the pipeline again.\n\nYour pipeline opens in the **Studio** page. To deploy your pipeline as-is,\nclick **Deploy**.\n\nDetails\n-------\n\nA pipeline is exported in JSON format. The file includes information about\nsources, sinks, and the connections between them.\n\nIt doesn't include triggers that you created after the pipeline was deployed.\nTo get details about those triggers, recreate them in a different environment.\n\nWhat's next\n-----------\n\n- Learn how to [upgrade Cloud Data Fusion instances and pipelines](/data-fusion/docs/how-to/upgrading).\n- Learn more about [Cloud Data Fusion](/data-fusion/docs/concepts/overview)."]]