cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

CLI: Export-dir provides LatestClone

holunder
New Contributor

Hi everyone,

I want to download the current databricks codebase out of a workspace and tried via

databricks databricks workspace export-dir /Sandbox/foo .

Surprisingly, some of the subfolders are twice in the export target: One with the expected name (`bar`) and one with a postfix (bar_LatestClone).

When comparing with what I see in browser in databricks, bar_LatestClone is the latest version. But what's the cause of having two exported versions? My aim is to just download expactly what I see in databricks web.

Thanks

#databricks_cli

1 REPLY 1

SP_6721
Honored Contributor

Hi @holunder ,

This could be because the backend stores both the original and cloned versions of folders, even if only one appears in the web UI. The Databricks CLI exports everything from the backend, not just what's visible in the UI.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now