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: 

How would I export the latest revision of a notebook?

thaipham
New Contributor III

I've been trying to export some notebooks from my Databricks workspace to my laptop. I can't use Git Repos because the company restricted access to external services from the control plane.

However it looks to me that I always exported the previous revision of a notebook after I made some changes to it, not the latest one. I had to explicitly commit (or "Save") the changes so that they become the "previous" revision before I could see them in the exported file.

I'm not sure if I did anything wrong here or is it the design of how notebooks revision work?

1 ACCEPTED SOLUTION

Accepted Solutions

thaipham
New Contributor III

Please ignore my newbie question. I've figured it out. I forgot to use the `--overwrite` flag when I ran the export command.

View solution in original post

3 REPLIES 3

thaipham
New Contributor III

Please ignore my newbie question. I've figured it out. I forgot to use the `--overwrite` flag when I ran the export command.

-werners-
Esteemed Contributor III

Too bad you are not allowed to use Repos, can be a life saver.

Can you check your answer as best answer so the question is marked as solved?

thaipham
New Contributor III

Sure. Thanks.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group