cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Is it possible restore a deleted catalog and schema

ashokz
New Contributor II

Is it possible restore a deleted catalog and schema.

if CASCADE is used even though schemas and tables are present in catalog, catalog will be dropped.

Is it possible to restore catalog or is possible to restrict the use of CACADE command.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Louis_Frolio
Databricks Employee
Databricks Employee

It is not possible to directly restore a deleted catalog or schema if they were dropped with the CASCADE option, especially in Databricks Unity Catalog. When a catalog or schema is dropped with CASCADE, all its dependent objects, such as schemas and tables, are also deleted. Current functionality focuses on restoring only tables that were dropped under certain conditions.

No inherent mechanisms currently exist in Unity Catalog to dynamically restrict the use of the CASCADE option.

 

Hope this helps. Louis.

 

View solution in original post

6 REPLIES 6

Louis_Frolio
Databricks Employee
Databricks Employee

It is not possible to directly restore a deleted catalog or schema if they were dropped with the CASCADE option, especially in Databricks Unity Catalog. When a catalog or schema is dropped with CASCADE, all its dependent objects, such as schemas and tables, are also deleted. Current functionality focuses on restoring only tables that were dropped under certain conditions.

No inherent mechanisms currently exist in Unity Catalog to dynamically restrict the use of the CASCADE option.

 

Hope this helps. Louis.

 

Are they any plans on supporting a seamless recovery of "forcefully" (with cascade) deleted Catalogs or Schemas?

Louis_Frolio
Databricks Employee
Databricks Employee

There is nothing I can see on the immediate roadmap.

Louis

immassiv
New Contributor II

@Louis_Frolio, thanks for updating.

Louis_Frolio
Databricks Employee
Databricks Employee

@immassiv, if youโ€™re satisfied with the answer, would you mind clicking โ€œAccept as Solutionโ€? This helps others by confirming the solution and clearing up any doubts.

Thanks, Louis.

immassiv
New Contributor II

@Louis_Frolio I cannot click any "Accept as Solution" button, as I was not the one creating the post, I believe ๐Ÿ™‚

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