<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Excluding job update from DAB .yml deployment in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/excluding-job-update-from-dab-yml-deployment/m-p/130109#M48700</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;We have a range of scheduled jobs and _one_ continuous job all defined in .yml and deployed with DAB. The continuous job is paused per default and we use a scheduled job of a notebook to pause and unpause it so that it only runs during business hours. The issue is that if we want to deploy changes to existing scheduled jobs or a new job, it'll override the status defined by the notebook with the paused status defined in the .yml file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems it's possible to define which jobs to deploy with the "include" key in the databricks.yml file, but as we have _many_ scheduled jobs and _one_ continuous job, this seems a rather circumstantial solution both to implement but also to maintain. Isn't it possible to negate the include definition, which would be a lot more elegant? Is there another solution I am not aware of?&lt;/P&gt;&lt;P&gt;Thanks in advance for any contribution.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 03:12:14 GMT</pubDate>
    <dc:creator>jar</dc:creator>
    <dc:date>2025-08-29T03:12:14Z</dc:date>
    <item>
      <title>Excluding job update from DAB .yml deployment</title>
      <link>https://community.databricks.com/t5/data-engineering/excluding-job-update-from-dab-yml-deployment/m-p/130109#M48700</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;We have a range of scheduled jobs and _one_ continuous job all defined in .yml and deployed with DAB. The continuous job is paused per default and we use a scheduled job of a notebook to pause and unpause it so that it only runs during business hours. The issue is that if we want to deploy changes to existing scheduled jobs or a new job, it'll override the status defined by the notebook with the paused status defined in the .yml file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems it's possible to define which jobs to deploy with the "include" key in the databricks.yml file, but as we have _many_ scheduled jobs and _one_ continuous job, this seems a rather circumstantial solution both to implement but also to maintain. Isn't it possible to negate the include definition, which would be a lot more elegant? Is there another solution I am not aware of?&lt;/P&gt;&lt;P&gt;Thanks in advance for any contribution.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 03:12:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/excluding-job-update-from-dab-yml-deployment/m-p/130109#M48700</guid>
      <dc:creator>jar</dc:creator>
      <dc:date>2025-08-29T03:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding job update from DAB .yml deployment</title>
      <link>https://community.databricks.com/t5/data-engineering/excluding-job-update-from-dab-yml-deployment/m-p/130113#M48703</link>
      <description>&lt;P&gt;You’re running into this because DAB treats the YAML definition as the source of truth — so every time you redeploy, it will reset the job state (including the paused/running status) back to what’s defined in the file. Unfortunately, there isn’t currently a way to negate include so that you can easily exclude just the continuous job from deployments.&lt;/P&gt;&lt;P&gt;The common workarounds are:&lt;/P&gt;&lt;P&gt;Split the continuous job into a separate bundle so it’s managed independently of the scheduled jobs.&lt;/P&gt;&lt;P&gt;Use include explicitly for the jobs you want to update, even though it requires maintaining the list.&lt;/P&gt;&lt;P&gt;Or, manage the continuous job outside of DAB if its state needs to be controlled dynamically (e.g. via notebook or API).&lt;/P&gt;&lt;P&gt;At the moment, DAB doesn’t support excluding resources by default, so either separating resources into different bundles or explicitly including what you want are the only reliable options.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 03:39:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/excluding-job-update-from-dab-yml-deployment/m-p/130113#M48703</guid>
      <dc:creator>Yogesh_Verma_</dc:creator>
      <dc:date>2025-08-29T03:39:52Z</dc:date>
    </item>
  </channel>
</rss>

