<?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 Re: How to export a Databricks repos in dbc format with databricks CLI in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11068#M6107</link>
    <description>&lt;P&gt;I would like to export in DBC format with CLI.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 14:23:19 GMT</pubDate>
    <dc:creator>RantoB</dc:creator>
    <dc:date>2021-11-11T14:23:19Z</dc:date>
    <item>
      <title>How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11060#M6099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I export a Databricks repository in dbc format with databricks CLI ?&lt;/P&gt;&lt;P&gt;It is possible to make &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;databricks workspace export_dir path/to/dir .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but not&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;databricks repos export_dir path/to/dir .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for you answers&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:49:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11060#M6099</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-10T15:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11061#M6100</link>
      <description>&lt;P&gt;Hi @Bertrand BURCKER​&amp;nbsp;the repos cli does not support the export command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the supported commands by repos.&lt;/P&gt;&lt;P&gt;Commands:&lt;/P&gt;&lt;P&gt; create -- Creates a repo.&lt;/P&gt;&lt;P&gt; delete -- Deletes a repo.&lt;/P&gt;&lt;P&gt; get -- Lists information about a repo.&lt;/P&gt;&lt;P&gt; list -- Lists all available repos in the workspace.&lt;/P&gt;&lt;P&gt; update -- Updates information about a repo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get this information by running &lt;/P&gt;&lt;P&gt; databricks repos --help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://docs.databricks.com/dev-tools/cli/repos-cli.html#repos-cli" alt="https://docs.databricks.com/dev-tools/cli/repos-cli.html#repos-cli" target="_blank"&gt;https://docs.databricks.com/dev-tools/cli/repos-cli.html#repos-cli&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 16:11:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11061#M6100</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-10T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11062#M6101</link>
      <description>&lt;P&gt;Thanks for your answer. &lt;/P&gt;&lt;P&gt;But then, how can I export a sub-directory which is within a repos in dbc format with cli ?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 16:13:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11062#M6101</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-10T16:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11063#M6102</link>
      <description>&lt;P&gt;I haven't tried it, but I believe the below might work. Please try it out and let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the doc, &lt;A href="https://docs.databricks.com/dev-tools/cli/workspace-cli.html#export-a-directory-from-a-workspace-to-your-local-filesystem" target="test_blank"&gt;https://docs.databricks.com/dev-tools/cli/workspace-cli.html#export-a-directory-from-a-workspace-to-your-local-filesystem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can export a directory using the below command.&lt;/P&gt;&lt;P&gt;databricks workspace export_dir --overwrite /&lt;B&gt;Users&lt;/B&gt;/someone@example.com/my-folder /Users/me/Downloads/my-folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the same command and try to export the repos directory. The only change will be on the path.&lt;/P&gt;&lt;P&gt;databricks workspace export_dir --overwrite /&lt;B&gt;Repos&lt;/B&gt;/someone@example.com/my-folder /Users/me/Downloads/my-folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 16:27:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11063#M6102</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-10T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11064#M6103</link>
      <description>&lt;P&gt;I already checked that. &lt;/P&gt;&lt;P&gt;First I don't know why my workspace is temporarily unavailable since always !&lt;/P&gt;&lt;P&gt;Second, I want actually to export from the repos and not from the workspace.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 16:31:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11064#M6103</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-10T16:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11065#M6104</link>
      <description>&lt;P&gt;why dont you export from your git provider since you use repos?&lt;/P&gt;&lt;P&gt;In git you actually already have an export (assuming you have commited/pushed your code).&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 07:56:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11065#M6104</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2021-11-11T07:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11066#M6105</link>
      <description>&lt;P&gt;I would like to export in DBC format and I connot do so from my git provider.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 12:29:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11066#M6105</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-11T12:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11067#M6106</link>
      <description>&lt;P&gt;@Bertrand BURCKER​&amp;nbsp; Is your requirement to do it only from the CLI? Or to export the repos?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is to export the repos, you can export it as DBC format from the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2332i87614EBA04B34EAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:20:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11067#M6106</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-11T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a Databricks repos in dbc format with databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11068#M6107</link>
      <description>&lt;P&gt;I would like to export in DBC format with CLI.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:23:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-export-a-databricks-repos-in-dbc-format-with-databricks/m-p/11068#M6107</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-11T14:23:19Z</dc:date>
    </item>
  </channel>
</rss>

