cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Repos

Kaniz_Fatma
Community Manager
Community Manager

How to transfer repos from one Databricks environment to another Databricks environment without using git?

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

To transfer repos from one Databricks environment to another without using Git, you can use the dbx sync command.

Here are the steps:

1. Identify the name of the Databricks Repo you want to transfer to your current Databricks workspace.

2. On your local development machine, run the dbx sync command to synchronize your local cloned repository to the Databricks Repos in your workspace.

Replace <your-repo-name> with the name of your repo in Databricks Repos. The command is as follows:

bash
dbx sync repo -d --source .

3. Now, you have a local repo copy on your local development machine.

4. go to the Databricks environment where you want to transfer the repo.

5. Run the dbx sync command again to sync the local copy of the repo to the new Databricks environment.

Make sure to keep your terminal or PowerShell open for dbx sync to continue synchronizing.

If you close your terminal or PowerShell, dbx sync stop watching for file changes and stop synchronizing. To resume file change synchronization, repeat this procedure from the beginning.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!