cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Restore deleted databricks jobs and job runs

iptkrisna
New Contributor III

Hi All,

Is there a way to restore deleted databricks jobs?

Thank you.

5 REPLIES 5

Takuya_Omi
Valued Contributor II

@iptkrisna 

Unfortunately, as far as I know, there is no way to restore a deleted job cluster. I recommend reaching out to support for assistance.

The job run history is retained for 60 days, so I suggest exporting the results before they expire if needed.

Export Job Run Results Documentation

Walter_C
Databricks Employee
Databricks Employee

Hello, as @Takuya_Omi has mentioned, as of now there is no way to restore a deleted job. 

What you need is the code used for the job so you can create a new one?

iptkrisna
New Contributor III

Hi @Takuya_Omi @Walter_C ,

Thank you for your help, fortunately I just need the job run history and is still there for 60 days as you mentioned, just extracted it. And @Walter_C yeah I do have the code to create the new one. Thanks!

Walter_C
Databricks Employee
Databricks Employee

Great to hear you where able to get what was needed.

hari-prasad
Valued Contributor II

Hi @iptkrisna ,

Currently, there is no option to recover deleted items. In architectures, it not necessary to control or manage the final code available in the system. Instead, the focus should be controlling and managing how code and jobs are deployed using version control and CI/CD.

 

For going on,

As a best practice, you can leverage "Databricks Asset Bundle" or Terraform to deploy and manage Databricks jobs, ensuring idempotency. I would prefer Asset Bund as they simplify Terraform as it uses Terraform under the hood.

Regards,
Hari Prasad



Regards,
Hari Prasad

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