# export/import datafusion pipeline schedule

**URL:** <https://discuss.google.dev/t/export-import-datafusion-pipeline-schedule/166191>\
**Category:** Data Analytics\
**Tags:** cloud-data-fusion\
**Created:** [September 10, 2024, 2:59pm UTC](https://discuss.google.dev/t/export-import-datafusion-pipeline-schedule/166191 "2024-09-10T14:59:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vemulakarthik](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/vemulakarthik/32/10697_2.png) [@vemulakarthik](https://discuss.google.dev/u/vemulakarthik)\
**Post date:** [September 10, 2024, 2:59pm UTC](https://discuss.google.dev/t/export-import-datafusion-pipeline-schedule/166191/1 "2024-09-10T14:59:56Z")

</div>

Hello All,

I am trying to export and import a datafusion pipeline which is scheduled in DEV to STAGE, however when i export i am able to see the schedule in Json file, but when i import the Json file to stage i am able to import only the pipeline but not the schedule, why is it so? any one has any other alternative to export/import datafusion pipeline including scheduling, its real pain to schedule in STAGE one after one and will be helpful if i can import including schedule.

I tried with HTTP get which is working as expcted, but HTTP PUT method is not working

if any one show me some insight on how to export and import triggers from dev to stage ? i would like to avoid manual intervention

---

<div class="post-metadata">

**Author:** ![ms4446](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/ms4446/32/69120_2.png) [@ms4446](https://discuss.google.dev/u/ms4446)\
**Post date:** [September 11, 2024, 3:47pm UTC](https://discuss.google.dev/t/export-import-datafusion-pipeline-schedule/166191/2 "2024-09-11T15:47:05Z")

</div>

The issue you’re encountering with Google Cloud Data Fusion is likely because the pipeline export and import functionality does not automatically include schedules or triggers. When you export a pipeline, the schedules are typically stored in a separate part of the configuration and are not automatically applied during import.

To resolve this, you can try the following approach:

**Steps to Export and Import Triggers in Data Fusion:**

1. Export the Pipeline and Schedules:

2. Manually Apply the Schedules:

3. Automating Schedule Application with the Data Fusion API:

4. Script Automation: If you want to avoid manual intervention:

---

<div class="post-metadata">

**Author:** ![jangemmar](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jangemmar](https://discuss.google.dev/u/jangemmar)\
**Post date:** [September 13, 2024, 1:56pm UTC](https://discuss.google.dev/t/export-import-datafusion-pipeline-schedule/166191/3 "2024-09-13T13:56:52Z")

</div>

@vemulakarthik In addition, feel free to explore the [3 ways to restrict access to your Cloud Data Fusion instance and pipelines](https://cloud.google.com/blog/products/data-analytics/how-to-restrict-access-to-cloud-data-fusion-pipelines?e=0) and [Building a Cloud Data Fusion pipeline](https://cloud.google.com/blog/products/databases/a-cloud-data-fusion-pipeline-to-upload-audit-records-to-bigquery?e=0) for your future reference.

I hope this helps.
