How to transfer files other than .dbc from one workpace to another workpace?

ajay_wavicle
Databricks Partner

I am trying to migrate workspace directory files from all folders to another workspace. I tried use terraform provider databricks provider to export but its exporting only dbc notebooks. Am i missing something or is there a better way to do this?

stbjelcevic
Databricks Employee
Databricks Employee

Hi @ajay_wavicle ,

The Terraform provider’s exporter is great for generating Terraform config for workspace resources, but it isn’t meant to bulk-migrate the actual workspace directory contents. Use the Databricks CLI’s workspace export/import commands to move folders (notebooks and files) between workspaces. See the commands here: https://docs.databricks.com/aws/en/dev-tools/cli/reference/workspace-commands#databricks-workspace-e...

 

View solution in original post