Databricks repos notebook deleted by mistake (not commited, not versioned), is posible to restore it?

1k Views Asked by At

Accidentally i deleted a notebook from my databricks repo before any commit, I expected to restore it from trash folder but the notebook is not there. Is posible to restore from any directory on the server or something like that?

2

There are 2 best solutions below

1
Robert Kossendey On

If you right click on the repo it should show the following context_menu:

context menu.

Clicking on git will lead you to your latest changes, making it possible to revert uncommitted changes.

0
Santiago On

It was never versioned. I just had created a notebook then deleted it by mistake so it was never anywhere but my repo workspace. Once I deleted the notebook I was hoping to find it in my trash folder, but aparently there is no way no restore it.